From e4ed48976a962b67e9585cc2d20d11f115ef7949 Mon Sep 17 00:00:00 2001 From: George Marques Date: Wed, 18 Aug 2021 11:03:52 -0300 Subject: [PATCH] Replace bindgins to work with extensions --- .gitignore | 5 + CMakeLists.txt | 27 +- Makefile | 2 +- SConstruct | 587 +- binding_generator.py | 2222 +- godot-headers-temp/README.md | 4 + godot-headers-temp/extension_api.json | 205257 +++++++++++++++ godot-headers-temp/godot/gdnative_interface.h | 449 + include/core/AABB.hpp | 110 - include/core/Array.hpp | 191 - include/core/Basis.hpp | 458 - include/core/CameraMatrix.hpp | 124 - include/core/Color.hpp | 171 - include/core/CoreTypes.hpp | 56 - include/core/Defs.hpp | 298 - include/core/Godot.hpp | 619 - include/core/GodotGlobal.hpp | 81 - include/core/GodotProfiling.hpp | 63 - include/core/Math.hpp | 302 - include/core/NodePath.hpp | 84 - include/core/PoolArrays.hpp | 766 - include/core/Quat.hpp | 125 - include/core/Rect2.hpp | 160 - include/core/String.hpp | 184 - include/core/Transform.hpp | 121 - include/core/Transform2D.hpp | 136 - include/core/Variant.hpp | 304 - include/core/Vector2.hpp | 306 - include/core/Vector3.hpp | 342 - include/gen/.gitignore | 2 - .../Ref.hpp => godot_cpp/classes/ref.hpp} | 166 +- include/godot_cpp/classes/wrapped.hpp | 167 + include/godot_cpp/core/binder_common.hpp | 449 + .../godot_cpp/core/builtin_ptrcall.hpp | 67 +- include/godot_cpp/core/class_db.hpp | 187 + include/godot_cpp/core/defs.hpp | 106 + include/godot_cpp/core/engine_ptrcall.hpp | 94 + include/godot_cpp/core/error_macros.hpp | 596 + include/godot_cpp/core/memory.hpp | 115 + include/godot_cpp/core/method_bind.hpp | 539 + include/godot_cpp/core/method_ptrcall.hpp | 189 + include/godot_cpp/core/object.hpp | 146 + include/godot_cpp/core/type_info.hpp | 178 + include/{core/RID.hpp => godot_cpp/godot.hpp} | 43 +- .../variant/char_string.hpp} | 82 +- include/godot_cpp/variant/variant.hpp | 308 + misc/hooks/README.md | 35 +- misc/hooks/canonicalize_filename.sh | 2 +- misc/hooks/pre-commit | 2 +- misc/hooks/pre-commit-black | 202 + misc/hooks/pre-commit-clang-format | 123 +- misc/hooks/winmessage.ps1 | 103 + misc/scripts/black_format.sh | 33 + misc/scripts/check_ci_log.py | 65 + misc/scripts/clang_format.sh | 19 +- .../scripts/copyright_headers.py | 117 +- misc/scripts/file_format.sh | 60 + misc/scripts/make_tarball.sh | 66 + src/core/AABB.cpp | 604 - src/core/Array.cpp | 226 - src/core/Basis.cpp | 710 - src/core/CameraMatrix.cpp | 655 - src/core/Color.cpp | 655 - src/core/Dictionary.cpp | 110 - src/core/GodotGlobal.cpp | 208 - src/core/NodePath.cpp | 114 - src/core/Plane.cpp | 203 - src/core/PoolArrays.cpp | 571 - src/core/Quat.cpp | 352 - src/core/Rect2.cpp | 313 - src/core/String.cpp | 522 - src/core/Transform.cpp | 305 - src/core/Transform2D.cpp | 332 - src/core/Variant.cpp | 381 - src/core/Vector3.cpp | 121 - src/core/class_db.cpp | 312 + src/core/{TagDB.cpp => error_macros.cpp} | 51 +- include/core/TagDB.hpp => src/core/memory.cpp | 26 +- src/core/method_bind.cpp | 120 + .../core/Wrapped.hpp => src/core/object.cpp | 33 +- src/gen/.gitignore | 2 - src/{core/Vector2.cpp => godot.cpp} | 88 +- src/variant/char_string.cpp | 267 + src/variant/variant.cpp | 749 + test/gdexample.gdnlib | 20 - test/gdexample.gdns | 9 - test/project.godot | 19 - test/script.gd | 30 - 88 files changed, 213008 insertions(+), 12915 deletions(-) create mode 100644 godot-headers-temp/README.md create mode 100644 godot-headers-temp/extension_api.json create mode 100644 godot-headers-temp/godot/gdnative_interface.h delete mode 100644 include/core/AABB.hpp delete mode 100644 include/core/Array.hpp delete mode 100644 include/core/Basis.hpp delete mode 100644 include/core/CameraMatrix.hpp delete mode 100644 include/core/Color.hpp delete mode 100644 include/core/CoreTypes.hpp delete mode 100644 include/core/Defs.hpp delete mode 100644 include/core/Godot.hpp delete mode 100644 include/core/GodotGlobal.hpp delete mode 100644 include/core/GodotProfiling.hpp delete mode 100644 include/core/Math.hpp delete mode 100644 include/core/NodePath.hpp delete mode 100644 include/core/PoolArrays.hpp delete mode 100644 include/core/Quat.hpp delete mode 100644 include/core/Rect2.hpp delete mode 100644 include/core/String.hpp delete mode 100644 include/core/Transform.hpp delete mode 100644 include/core/Transform2D.hpp delete mode 100644 include/core/Variant.hpp delete mode 100644 include/core/Vector2.hpp delete mode 100644 include/core/Vector3.hpp delete mode 100644 include/gen/.gitignore rename include/{core/Ref.hpp => godot_cpp/classes/ref.hpp} (59%) create mode 100644 include/godot_cpp/classes/wrapped.hpp create mode 100644 include/godot_cpp/core/binder_common.hpp rename src/core/RID.cpp => include/godot_cpp/core/builtin_ptrcall.hpp (59%) create mode 100644 include/godot_cpp/core/class_db.hpp create mode 100644 include/godot_cpp/core/defs.hpp create mode 100644 include/godot_cpp/core/engine_ptrcall.hpp create mode 100644 include/godot_cpp/core/error_macros.hpp create mode 100644 include/godot_cpp/core/memory.hpp create mode 100644 include/godot_cpp/core/method_bind.hpp create mode 100644 include/godot_cpp/core/method_ptrcall.hpp create mode 100644 include/godot_cpp/core/object.hpp create mode 100644 include/godot_cpp/core/type_info.hpp rename include/{core/RID.hpp => godot_cpp/godot.hpp} (72%) rename include/{core/Dictionary.hpp => godot_cpp/variant/char_string.hpp} (66%) create mode 100644 include/godot_cpp/variant/variant.hpp mode change 100644 => 100755 misc/hooks/canonicalize_filename.sh mode change 100644 => 100755 misc/hooks/pre-commit create mode 100755 misc/hooks/pre-commit-black mode change 100644 => 100755 misc/hooks/pre-commit-clang-format create mode 100644 misc/hooks/winmessage.ps1 create mode 100755 misc/scripts/black_format.sh create mode 100755 misc/scripts/check_ci_log.py mode change 100644 => 100755 misc/scripts/clang_format.sh rename include/core/Plane.hpp => misc/scripts/copyright_headers.py (52%) mode change 100644 => 100755 create mode 100755 misc/scripts/file_format.sh create mode 100755 misc/scripts/make_tarball.sh delete mode 100644 src/core/AABB.cpp delete mode 100644 src/core/Array.cpp delete mode 100644 src/core/Basis.cpp delete mode 100644 src/core/CameraMatrix.cpp delete mode 100644 src/core/Color.cpp delete mode 100644 src/core/Dictionary.cpp delete mode 100644 src/core/GodotGlobal.cpp delete mode 100644 src/core/NodePath.cpp delete mode 100644 src/core/Plane.cpp delete mode 100644 src/core/PoolArrays.cpp delete mode 100644 src/core/Quat.cpp delete mode 100644 src/core/Rect2.cpp delete mode 100644 src/core/String.cpp delete mode 100644 src/core/Transform.cpp delete mode 100644 src/core/Transform2D.cpp delete mode 100644 src/core/Variant.cpp delete mode 100644 src/core/Vector3.cpp create mode 100644 src/core/class_db.cpp rename src/core/{TagDB.cpp => error_macros.cpp} (65%) rename include/core/TagDB.hpp => src/core/memory.cpp (80%) create mode 100644 src/core/method_bind.cpp rename include/core/Wrapped.hpp => src/core/object.cpp (77%) delete mode 100644 src/gen/.gitignore rename src/{core/Vector2.cpp => godot.cpp} (57%) create mode 100644 src/variant/char_string.cpp create mode 100644 src/variant/variant.cpp delete mode 100644 test/gdexample.gdnlib delete mode 100644 test/gdexample.gdns delete mode 100644 test/project.godot delete mode 100644 test/script.gd diff --git a/.gitignore b/.gitignore index ce186c6d..2782c5c1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ +# Godot auto generated files +*.gen.* +.import/ +/gen/ + # Misc logs/* diff --git a/CMakeLists.txt b/CMakeLists.txt index 8281129a..d655382e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,36 +1,36 @@ # cmake arguments # CMAKE_BUILD_TYPE: Compilation target (Debug or Release defaults to Debug) -# +# # godot-cpp cmake arguments # GODOT_HEADERS_DIR: This is where the gdnative include folder is (godot_source/modules/gdnative/include) # GODOT_CUSTOM_API_FILE: This is if you have another path for the godot_api.json -# +# # Android cmake arguments # CMAKE_TOOLCHAIN_FILE: The path to the android cmake toolchain ($ANDROID_NDK/build/cmake/android.toolchain.cmake) # ANDROID_NDK: The path to the android ndk root folder # ANDROID_TOOLCHAIN_NAME: The android toolchain (arm-linux-androideabi-4.9 or aarch64-linux-android-4.9 or x86-4.9 or x86_64-4.9) # ANDROID_PLATFORM: The android platform version (android-23) # More info here: https://godot.readthedocs.io/en/latest/development/compiling/compiling_for_android.html -# +# # Examples -# +# # Builds a debug version: # cmake . # cmake --build . -# +# # Builds a release version with clang # CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" . # cmake --build . -# +# # Builds an android armeabi-v7a debug version: # cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake -DANDROID_NDK=$ANDROID_NDK \ # -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.9 -DANDROID_PLATFORM=android-23 -DCMAKE_BUILD_TYPE=Debug . # cmake --build . -# +# # Protip # Generate the buildfiles in a sub directory to not clutter the root directory with build files: # mkdir build && cd build && cmake -G "Unix Makefiles" .. && cmake --build . -# +# # Todo # Test build for Windows, Mac and mingw. @@ -62,14 +62,14 @@ else() add_definitions(-DNDEBUG) endif(CMAKE_BUILD_TYPE MATCHES Debug) -# Set the c++ standard to c++14 -set(CMAKE_CXX_STANDARD 14) +# Set the c++ standard to c++17 +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) # Input from user for godot headers and the api file -set(GODOT_HEADERS_DIR "godot-headers" CACHE STRING "") -set(GODOT_CUSTOM_API_FILE "godot-headers/api.json" CACHE STRING "") +set(GODOT_HEADERS_DIR "godot-headers-temp" CACHE STRING "") +set(GODOT_CUSTOM_API_FILE "godot-headers-temp/extension_api.json" CACHE STRING "") set(GODOT_COMPILE_FLAGS ) set(GODOT_LINKER_FLAGS ) @@ -178,8 +178,7 @@ add_library(${PROJECT_NAME} target_include_directories(${PROJECT_NAME} PUBLIC include - include/core - ${CMAKE_CURRENT_BINARY_DIR}/include/gen/ + ${CMAKE_CURRENT_BINARY_DIR}/gen/include ) # Put godot headers as SYSTEM PUBLIC to exclude warnings from irrelevant headers diff --git a/Makefile b/Makefile index 12ed8213..e37fab88 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -GENERATE_BINDINGS = no +GENERATE_BINDINGS = auto HEADERS = godot-headers TARGET = debug USE_CLANG = no diff --git a/SConstruct b/SConstruct index 69502173..2e52abf3 100644 --- a/SConstruct +++ b/SConstruct @@ -5,24 +5,36 @@ import sys import subprocess if sys.version_info < (3,): + def decode_utf8(x): return x + + else: import codecs + def decode_utf8(x): return codecs.utf_8_decode(x)[0] + # Workaround for MinGW. See: # http://www.scons.org/wiki/LongCmdLinesOnWin32 if os.name == "nt": import subprocess - def mySubProcess(cmdline,env): - #print "SPAWNED : " + cmdline + def mySubProcess(cmdline, env): + # print "SPAWNED : " + cmdline startupinfo = subprocess.STARTUPINFO() startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW - proc = subprocess.Popen(cmdline, stdin=subprocess.PIPE, stdout=subprocess.PIPE, - stderr=subprocess.PIPE, startupinfo=startupinfo, shell = False, env = env) + proc = subprocess.Popen( + cmdline, + stdin=subprocess.PIPE, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + startupinfo=startupinfo, + shell=False, + env=env, + ) data, err = proc.communicate() rv = proc.wait() if rv: @@ -33,158 +45,104 @@ if os.name == "nt": def mySpawn(sh, escape, cmd, args, env): - newargs = ' '.join(args[1:]) + newargs = " ".join(args[1:]) cmdline = cmd + " " + newargs - rv=0 - if len(cmdline) > 32000 and cmd.endswith("ar") : + rv = 0 + if len(cmdline) > 32000 and cmd.endswith("ar"): cmdline = cmd + " " + args[1] + " " + args[2] + " " - for i in range(3,len(args)) : - rv = mySubProcess( cmdline + args[i], env ) - if rv : + for i in range(3, len(args)): + rv = mySubProcess(cmdline + args[i], env) + if rv: break else: - rv = mySubProcess( cmdline, env ) + rv = mySubProcess(cmdline, env) return rv + def add_sources(sources, dir, extension): for f in os.listdir(dir): - if f.endswith('.' + extension): - sources.append(dir + '/' + f) + if f.endswith("." + extension): + sources.append(dir + "/" + f) # Try to detect the host platform automatically. # This is used if no `platform` argument is passed -if sys.platform.startswith('linux'): - host_platform = 'linux' -elif sys.platform.startswith('freebsd'): - host_platform = 'freebsd' -elif sys.platform == 'darwin': - host_platform = 'osx' -elif sys.platform == 'win32' or sys.platform == 'msys': - host_platform = 'windows' +if sys.platform.startswith("linux"): + host_platform = "linux" +elif sys.platform.startswith("freebsd"): + host_platform = "freebsd" +elif sys.platform == "darwin": + host_platform = "osx" +elif sys.platform == "win32" or sys.platform == "msys": + host_platform = "windows" else: - raise ValueError( - 'Could not detect platform automatically, please specify with ' - 'platform=' - ) + raise ValueError("Could not detect platform automatically, please specify with " "platform=") -env = Environment(ENV = os.environ) +env = Environment(ENV=os.environ) -is64 = sys.maxsize > 2**32 +is64 = sys.maxsize > 2 ** 32 if ( - env['TARGET_ARCH'] == 'amd64' or - env['TARGET_ARCH'] == 'emt64' or - env['TARGET_ARCH'] == 'x86_64' or - env['TARGET_ARCH'] == 'arm64-v8a' + env["TARGET_ARCH"] == "amd64" + or env["TARGET_ARCH"] == "emt64" + or env["TARGET_ARCH"] == "x86_64" + or env["TARGET_ARCH"] == "arm64-v8a" ): is64 = True opts = Variables([], ARGUMENTS) -opts.Add(EnumVariable( - 'platform', - 'Target platform', - host_platform, - allowed_values=('linux', 'freebsd', 'osx', 'windows', 'android', 'ios', 'javascript'), - ignorecase=2 -)) -opts.Add(EnumVariable( - 'bits', - 'Target platform bits', - '64' if is64 else '32', - ('32', '64') -)) -opts.Add(BoolVariable( - 'use_llvm', - 'Use the LLVM compiler - only effective when targeting Linux or FreeBSD', - False -)) -opts.Add(BoolVariable( - 'use_mingw', - 'Use the MinGW compiler instead of MSVC - only effective on Windows', - False -)) +opts.Add( + EnumVariable( + "platform", + "Target platform", + host_platform, + allowed_values=("linux", "freebsd", "osx", "windows", "android", "ios", "javascript"), + ignorecase=2, + ) +) +opts.Add(EnumVariable("bits", "Target platform bits", "64" if is64 else "32", ("32", "64"))) +opts.Add(BoolVariable("use_llvm", "Use the LLVM compiler - only effective when targeting Linux or FreeBSD", False)) +opts.Add(BoolVariable("use_mingw", "Use the MinGW compiler instead of MSVC - only effective on Windows", False)) # Must be the same setting as used for cpp_bindings -opts.Add(EnumVariable( - 'target', - 'Compilation target', - 'debug', - allowed_values=('debug', 'release'), - ignorecase=2 -)) -opts.Add(PathVariable( - 'headers_dir', - 'Path to the directory containing Godot headers', - 'godot-headers', - PathVariable.PathIsDir -)) -opts.Add(PathVariable( - 'custom_api_file', - 'Path to a custom JSON API file', - None, - PathVariable.PathIsFile -)) -opts.Add(EnumVariable( - 'generate_bindings', - 'Generate GDNative API bindings', - 'auto', - allowed_values = ['yes', 'no', 'auto', 'true'], - ignorecase = 2 -)) -opts.Add(EnumVariable( - 'android_arch', - 'Target Android architecture', - 'armv7', - ['armv7','arm64v8','x86','x86_64'] -)) +opts.Add(EnumVariable("target", "Compilation target", "debug", allowed_values=("debug", "release"), ignorecase=2)) opts.Add( - 'macos_deployment_target', - 'macOS deployment target', - 'default' + PathVariable( + "headers_dir", "Path to the directory containing Godot headers", "godot-headers-temp", PathVariable.PathIsDir + ) +) +opts.Add(PathVariable("custom_api_file", "Path to a custom JSON API file", None, PathVariable.PathIsFile)) +opts.Add( + EnumVariable( + "generate_bindings", + "Generate GDNative API bindings", + "auto", + allowed_values=["yes", "no", "auto", "true"], + ignorecase=2, + ) +) +opts.Add(EnumVariable("android_arch", "Target Android architecture", "armv7", ["armv7", "arm64v8", "x86", "x86_64"])) +opts.Add("macos_deployment_target", "macOS deployment target", "default") +opts.Add("macos_sdk_path", "macOS SDK path", "") +opts.Add(EnumVariable("macos_arch", "Target macOS architecture", "x86_64", ["x86_64", "arm64"])) +opts.Add(EnumVariable("ios_arch", "Target iOS architecture", "arm64", ["armv7", "arm64", "x86_64"])) +opts.Add(BoolVariable("ios_simulator", "Target iOS Simulator", False)) +opts.Add( + "IPHONEPATH", + "Path to iPhone toolchain", + "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain", ) opts.Add( - 'macos_sdk_path', - 'macOS SDK path', - '' -) -opts.Add(EnumVariable( - 'macos_arch', - 'Target macOS architecture', - 'x86_64', - ['x86_64', 'arm64'] -)) -opts.Add(EnumVariable( - 'ios_arch', - 'Target iOS architecture', - 'arm64', - ['armv7', 'arm64', 'x86_64'] -)) -opts.Add(BoolVariable( - 'ios_simulator', - 'Target iOS Simulator', - False -)) -opts.Add( - 'IPHONEPATH', - 'Path to iPhone toolchain', - '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain', + "android_api_level", + "Target Android API level", + "18" if ARGUMENTS.get("android_arch", "armv7") in ["armv7", "x86"] else "21", ) opts.Add( - 'android_api_level', - 'Target Android API level', - '18' if ARGUMENTS.get("android_arch", 'armv7') in ['armv7', 'x86'] else '21' + "ANDROID_NDK_ROOT", + "Path to your Android NDK installation. By default, uses ANDROID_NDK_ROOT from your defined environment variables.", + os.environ.get("ANDROID_NDK_ROOT", None), ) -opts.Add( - 'ANDROID_NDK_ROOT', - 'Path to your Android NDK installation. By default, uses ANDROID_NDK_ROOT from your defined environment variables.', - os.environ.get("ANDROID_NDK_ROOT", None) -) -opts.Add(BoolVariable( - 'generate_template_get_node', - "Generate a template version of the Node class's get_node.", - True -)) +opts.Add(BoolVariable("generate_template_get_node", "Generate a template version of the Node class's get_node.", True)) opts.Update(env) Help(opts.GenerateHelpText(env)) @@ -192,213 +150,232 @@ Help(opts.GenerateHelpText(env)) # This makes sure to keep the session environment variables on Windows. # This way, you can run SCons in a Visual Studio 2017 prompt and it will find # all the required tools -if host_platform == 'windows' and env['platform'] != 'android': - if env['bits'] == '64': - env = Environment(TARGET_ARCH='amd64') - elif env['bits'] == '32': - env = Environment(TARGET_ARCH='x86') +if host_platform == "windows" and env["platform"] != "android": + if env["bits"] == "64": + env = Environment(TARGET_ARCH="amd64") + elif env["bits"] == "32": + env = Environment(TARGET_ARCH="x86") opts.Update(env) -if env['platform'] == 'linux' or env['platform'] == 'freebsd': - if env['use_llvm']: - env['CXX'] = 'clang++' +if env["platform"] == "linux" or env["platform"] == "freebsd": + if env["use_llvm"]: + env["CXX"] = "clang++" - env.Append(CCFLAGS=['-fPIC', '-std=c++14', '-Wwrite-strings']) + env.Append(CCFLAGS=["-fPIC", "-std=c++14", "-Wwrite-strings"]) env.Append(LINKFLAGS=["-Wl,-R,'$$ORIGIN'"]) - if env['target'] == 'debug': - env.Append(CCFLAGS=['-Og', '-g']) - elif env['target'] == 'release': - env.Append(CCFLAGS=['-O3']) + if env["target"] == "debug": + env.Append(CCFLAGS=["-Og", "-g"]) + elif env["target"] == "release": + env.Append(CCFLAGS=["-O3"]) - if env['bits'] == '64': - env.Append(CCFLAGS=['-m64']) - env.Append(LINKFLAGS=['-m64']) - elif env['bits'] == '32': - env.Append(CCFLAGS=['-m32']) - env.Append(LINKFLAGS=['-m32']) + if env["bits"] == "64": + env.Append(CCFLAGS=["-m64"]) + env.Append(LINKFLAGS=["-m64"]) + elif env["bits"] == "32": + env.Append(CCFLAGS=["-m32"]) + env.Append(LINKFLAGS=["-m32"]) -elif env['platform'] == 'osx': +elif env["platform"] == "osx": # Use Clang on macOS by default - env['CXX'] = 'clang++' + env["CXX"] = "clang++" - if env['bits'] == '32': - raise ValueError( - 'Only 64-bit builds are supported for the macOS target.' - ) + if env["bits"] == "32": + raise ValueError("Only 64-bit builds are supported for the macOS target.") - env.Append(CCFLAGS=['-std=c++14', '-arch', env['macos_arch']]) + env.Append(CCFLAGS=["-std=c++14", "-arch", env["macos_arch"]]) - if env['macos_deployment_target'] != 'default': - env.Append(CCFLAGS=['-mmacosx-version-min=' + env['macos_deployment_target']]) - env.Append(LINKFLAGS=['-mmacosx-version-min=' + env['macos_deployment_target']]) + if env["macos_deployment_target"] != "default": + env.Append(CCFLAGS=["-mmacosx-version-min=" + env["macos_deployment_target"]]) + env.Append(LINKFLAGS=["-mmacosx-version-min=" + env["macos_deployment_target"]]) - if env['macos_sdk_path']: - env.Append(CCFLAGS=['-isysroot', env['macos_sdk_path']]) - env.Append(LINKFLAGS=['-isysroot', env['macos_sdk_path']]) + if env["macos_sdk_path"]: + env.Append(CCFLAGS=["-isysroot", env["macos_sdk_path"]]) + env.Append(LINKFLAGS=["-isysroot", env["macos_sdk_path"]]) - env.Append(LINKFLAGS=[ - '-arch', - env['macos_arch'], - '-framework', - 'Cocoa', - '-Wl,-undefined,dynamic_lookup', - ]) + env.Append( + LINKFLAGS=[ + "-arch", + env["macos_arch"], + "-framework", + "Cocoa", + "-Wl,-undefined,dynamic_lookup", + ] + ) - if env['target'] == 'debug': - env.Append(CCFLAGS=['-Og', '-g']) - elif env['target'] == 'release': - env.Append(CCFLAGS=['-O3']) + if env["target"] == "debug": + env.Append(CCFLAGS=["-Og", "-g"]) + elif env["target"] == "release": + env.Append(CCFLAGS=["-O3"]) -elif env['platform'] == 'ios': - if env['ios_simulator']: - sdk_name = 'iphonesimulator' - env.Append(CCFLAGS=['-mios-simulator-version-min=10.0']) - env['LIBSUFFIX'] = ".simulator" + env['LIBSUFFIX'] +elif env["platform"] == "ios": + if env["ios_simulator"]: + sdk_name = "iphonesimulator" + env.Append(CCFLAGS=["-mios-simulator-version-min=10.0"]) + env["LIBSUFFIX"] = ".simulator" + env["LIBSUFFIX"] else: - sdk_name = 'iphoneos' - env.Append(CCFLAGS=['-miphoneos-version-min=10.0']) + sdk_name = "iphoneos" + env.Append(CCFLAGS=["-miphoneos-version-min=10.0"]) try: - sdk_path = decode_utf8(subprocess.check_output(['xcrun', '--sdk', sdk_name, '--show-sdk-path']).strip()) + sdk_path = decode_utf8(subprocess.check_output(["xcrun", "--sdk", sdk_name, "--show-sdk-path"]).strip()) except (subprocess.CalledProcessError, OSError): raise ValueError("Failed to find SDK path while running xcrun --sdk {} --show-sdk-path.".format(sdk_name)) - compiler_path = env['IPHONEPATH'] + '/usr/bin/' - env['ENV']['PATH'] = env['IPHONEPATH'] + "/Developer/usr/bin/:" + env['ENV']['PATH'] + compiler_path = env["IPHONEPATH"] + "/usr/bin/" + env["ENV"]["PATH"] = env["IPHONEPATH"] + "/Developer/usr/bin/:" + env["ENV"]["PATH"] - env['CC'] = compiler_path + 'clang' - env['CXX'] = compiler_path + 'clang++' - env['AR'] = compiler_path + 'ar' - env['RANLIB'] = compiler_path + 'ranlib' + env["CC"] = compiler_path + "clang" + env["CXX"] = compiler_path + "clang++" + env["AR"] = compiler_path + "ar" + env["RANLIB"] = compiler_path + "ranlib" - env.Append(CCFLAGS=['-std=c++14', '-arch', env['ios_arch'], '-isysroot', sdk_path]) - env.Append(LINKFLAGS=[ - '-arch', - env['ios_arch'], - '-framework', - 'Cocoa', - '-Wl,-undefined,dynamic_lookup', - '-isysroot', sdk_path, - '-F' + sdk_path - ]) + env.Append(CCFLAGS=["-std=c++14", "-arch", env["ios_arch"], "-isysroot", sdk_path]) + env.Append( + LINKFLAGS=[ + "-arch", + env["ios_arch"], + "-framework", + "Cocoa", + "-Wl,-undefined,dynamic_lookup", + "-isysroot", + sdk_path, + "-F" + sdk_path, + ] + ) - if env['target'] == 'debug': - env.Append(CCFLAGS=['-Og', '-g']) - elif env['target'] == 'release': - env.Append(CCFLAGS=['-O3']) + if env["target"] == "debug": + env.Append(CCFLAGS=["-Og", "-g"]) + elif env["target"] == "release": + env.Append(CCFLAGS=["-O3"]) -elif env['platform'] == 'windows': - if host_platform == 'windows' and not env['use_mingw']: +elif env["platform"] == "windows": + if host_platform == "windows" and not env["use_mingw"]: # MSVC - env.Append(LINKFLAGS=['/WX']) - if env['target'] == 'debug': - env.Append(CCFLAGS=['/Z7', '/Od', '/EHsc', '/D_DEBUG', '/MDd']) - elif env['target'] == 'release': - env.Append(CCFLAGS=['/O2', '/EHsc', '/DNDEBUG', '/MD']) + env.Append(LINKFLAGS=["/WX"]) + if env["target"] == "debug": + env.Append(CCFLAGS=["/Z7", "/Od", "/EHsc", "/D_DEBUG", "/MDd"]) + elif env["target"] == "release": + env.Append(CCFLAGS=["/O2", "/EHsc", "/DNDEBUG", "/MD"]) - elif host_platform == 'linux' or host_platform == 'freebsd' or host_platform == 'osx': + elif host_platform == "linux" or host_platform == "freebsd" or host_platform == "osx": # Cross-compilation using MinGW - if env['bits'] == '64': - env['CXX'] = 'x86_64-w64-mingw32-g++' - env['AR'] = "x86_64-w64-mingw32-ar" - env['RANLIB'] = "x86_64-w64-mingw32-ranlib" - env['LINK'] = "x86_64-w64-mingw32-g++" - elif env['bits'] == '32': - env['CXX'] = 'i686-w64-mingw32-g++' - env['AR'] = "i686-w64-mingw32-ar" - env['RANLIB'] = "i686-w64-mingw32-ranlib" - env['LINK'] = "i686-w64-mingw32-g++" - - elif host_platform == 'windows' and env['use_mingw']: + if env["bits"] == "64": + env["CXX"] = "x86_64-w64-mingw32-g++" + env["AR"] = "x86_64-w64-mingw32-ar" + env["RANLIB"] = "x86_64-w64-mingw32-ranlib" + env["LINK"] = "x86_64-w64-mingw32-g++" + elif env["bits"] == "32": + env["CXX"] = "i686-w64-mingw32-g++" + env["AR"] = "i686-w64-mingw32-ar" + env["RANLIB"] = "i686-w64-mingw32-ranlib" + env["LINK"] = "i686-w64-mingw32-g++" + + elif host_platform == "windows" and env["use_mingw"]: # Don't Clone the environment. Because otherwise, SCons will pick up msvc stuff. - env = Environment(ENV = os.environ, tools=["mingw"]) + env = Environment(ENV=os.environ, tools=["mingw"]) opts.Update(env) - #env = env.Clone(tools=['mingw']) + # env = env.Clone(tools=['mingw']) env["SPAWN"] = mySpawn # Native or cross-compilation using MinGW - if host_platform == 'linux' or host_platform == 'freebsd' or host_platform == 'osx' or env['use_mingw']: + if host_platform == "linux" or host_platform == "freebsd" or host_platform == "osx" or env["use_mingw"]: # These options are for a release build even using target=debug - env.Append(CCFLAGS=['-O3', '-std=c++14', '-Wwrite-strings']) - env.Append(LINKFLAGS=[ - '--static', - '-Wl,--no-undefined', - '-static-libgcc', - '-static-libstdc++', - ]) + env.Append(CCFLAGS=["-O3", "-std=c++14", "-Wwrite-strings"]) + env.Append( + LINKFLAGS=[ + "--static", + "-Wl,--no-undefined", + "-static-libgcc", + "-static-libstdc++", + ] + ) -elif env['platform'] == 'android': - if host_platform == 'windows': +elif env["platform"] == "android": + if host_platform == "windows": # Don't Clone the environment. Because otherwise, SCons will pick up msvc stuff. - env = Environment(ENV = os.environ, tools=["mingw"]) + env = Environment(ENV=os.environ, tools=["mingw"]) opts.Update(env) - #env = env.Clone(tools=['mingw']) + # env = env.Clone(tools=['mingw']) env["SPAWN"] = mySpawn # Verify NDK root - if not 'ANDROID_NDK_ROOT' in env: - raise ValueError("To build for Android, ANDROID_NDK_ROOT must be defined. Please set ANDROID_NDK_ROOT to the root folder of your Android NDK installation.") + if not "ANDROID_NDK_ROOT" in env: + raise ValueError( + "To build for Android, ANDROID_NDK_ROOT must be defined. Please set ANDROID_NDK_ROOT to the root folder of your Android NDK installation." + ) # Validate API level - api_level = int(env['android_api_level']) - if env['android_arch'] in ['x86_64', 'arm64v8'] and api_level < 21: + api_level = int(env["android_api_level"]) + if env["android_arch"] in ["x86_64", "arm64v8"] and api_level < 21: print("WARN: 64-bit Android architectures require an API level of at least 21; setting android_api_level=21") - env['android_api_level'] = '21' + env["android_api_level"] = "21" api_level = 21 # Setup toolchain - toolchain = env['ANDROID_NDK_ROOT'] + "/toolchains/llvm/prebuilt/" + toolchain = env["ANDROID_NDK_ROOT"] + "/toolchains/llvm/prebuilt/" if host_platform == "windows": toolchain += "windows" import platform as pltfm + if pltfm.machine().endswith("64"): toolchain += "-x86_64" elif host_platform == "linux": toolchain += "linux-x86_64" elif host_platform == "osx": toolchain += "darwin-x86_64" - env.PrependENVPath('PATH', toolchain + "/bin") # This does nothing half of the time, but we'll put it here anyways + env.PrependENVPath("PATH", toolchain + "/bin") # This does nothing half of the time, but we'll put it here anyways # Get architecture info arch_info_table = { - "armv7" : { - "march":"armv7-a", "target":"armv7a-linux-androideabi", "tool_path":"arm-linux-androideabi", "compiler_path":"armv7a-linux-androideabi", - "ccflags" : ['-mfpu=neon'] - }, - "arm64v8" : { - "march":"armv8-a", "target":"aarch64-linux-android", "tool_path":"aarch64-linux-android", "compiler_path":"aarch64-linux-android", - "ccflags" : [] - }, - "x86" : { - "march":"i686", "target":"i686-linux-android", "tool_path":"i686-linux-android", "compiler_path":"i686-linux-android", - "ccflags" : ['-mstackrealign'] - }, - "x86_64" : {"march":"x86-64", "target":"x86_64-linux-android", "tool_path":"x86_64-linux-android", "compiler_path":"x86_64-linux-android", - "ccflags" : [] - } + "armv7": { + "march": "armv7-a", + "target": "armv7a-linux-androideabi", + "tool_path": "arm-linux-androideabi", + "compiler_path": "armv7a-linux-androideabi", + "ccflags": ["-mfpu=neon"], + }, + "arm64v8": { + "march": "armv8-a", + "target": "aarch64-linux-android", + "tool_path": "aarch64-linux-android", + "compiler_path": "aarch64-linux-android", + "ccflags": [], + }, + "x86": { + "march": "i686", + "target": "i686-linux-android", + "tool_path": "i686-linux-android", + "compiler_path": "i686-linux-android", + "ccflags": ["-mstackrealign"], + }, + "x86_64": { + "march": "x86-64", + "target": "x86_64-linux-android", + "tool_path": "x86_64-linux-android", + "compiler_path": "x86_64-linux-android", + "ccflags": [], + }, } - arch_info = arch_info_table[env['android_arch']] + arch_info = arch_info_table[env["android_arch"]] # Setup tools - env['CC'] = toolchain + "/bin/clang" - env['CXX'] = toolchain + "/bin/clang++" - env['AR'] = toolchain + "/bin/" + arch_info['tool_path'] + "-ar" - env["AS"] = toolchain + "/bin/" + arch_info['tool_path'] + "-as" - env["LD"] = toolchain + "/bin/" + arch_info['tool_path'] + "-ld" - env["STRIP"] = toolchain + "/bin/" + arch_info['tool_path'] + "-strip" - env["RANLIB"] = toolchain + "/bin/" + arch_info['tool_path'] + "-ranlib" + env["CC"] = toolchain + "/bin/clang" + env["CXX"] = toolchain + "/bin/clang++" + env["AR"] = toolchain + "/bin/" + arch_info["tool_path"] + "-ar" - env.Append(CCFLAGS=['--target=' + arch_info['target'] + env['android_api_level'], '-march=' + arch_info['march'], '-fPIC']) - env.Append(CCFLAGS=arch_info['ccflags']) + env.Append( + CCFLAGS=["--target=" + arch_info["target"] + env["android_api_level"], "-march=" + arch_info["march"], "-fPIC"] + ) # , '-fPIE', '-fno-addrsig', '-Oz']) + env.Append(CCFLAGS=arch_info["ccflags"]) - if env['target'] == 'debug': - env.Append(CCFLAGS=['-Og', '-g']) - elif env['target'] == 'release': - env.Append(CCFLAGS=['-O3']) + if env["target"] == "debug": + env.Append(CCFLAGS=["-Og", "-g"]) + elif env["target"] == "release": + env.Append(CCFLAGS=["-O3"]) elif env["platform"] == "javascript": env["ENV"] = os.environ @@ -425,64 +402,60 @@ elif env["platform"] == "javascript": env["LIBSUFFIX"] = ".a" env["LIBPREFIXES"] = ["$LIBPREFIX"] env["LIBSUFFIXES"] = ["$LIBSUFFIX"] - env.Replace(SHLINKFLAGS='$LINKFLAGS') - env.Replace(SHLINKFLAGS='$LINKFLAGS') + env.Replace(SHLINKFLAGS="$LINKFLAGS") + env.Replace(SHLINKFLAGS="$LINKFLAGS") - if env['target'] == 'debug': - env.Append(CCFLAGS=['-O0', '-g']) - elif env['target'] == 'release': - env.Append(CCFLAGS=['-O3']) + if env["target"] == "debug": + env.Append(CCFLAGS=["-O0", "-g"]) + elif env["target"] == "release": + env.Append(CCFLAGS=["-O3"]) -env.Append(CPPPATH=[ - '.', - env['headers_dir'], - 'include', - 'include/gen', - 'include/core', -]) +env.Append( + CPPPATH=[ + ".", + env["headers_dir"], + "#include", + "#gen/include", + ] +) # Generate bindings? -json_api_file = '' +json_api_file = "" -if 'custom_api_file' in env: - json_api_file = env['custom_api_file'] +if "custom_api_file" in env: + json_api_file = env["custom_api_file"] else: - json_api_file = os.path.join(os.getcwd(), env['headers_dir'], 'api.json') + json_api_file = os.path.join(os.getcwd(), env["headers_dir"], "extension_api.json") -if env['generate_bindings'] == 'auto': +if env["generate_bindings"] == "auto": # Check if generated files exist - should_generate_bindings = not os.path.isfile(os.path.join(os.getcwd(), 'src', 'gen', 'Object.cpp')) + should_generate_bindings = not os.path.isfile(os.path.join(os.getcwd(), "src", "gen", "object.cpp")) else: - should_generate_bindings = env['generate_bindings'] in ['yes', 'true'] + should_generate_bindings = env["generate_bindings"] in ["yes", "true"] if should_generate_bindings: # Actually create the bindings here import binding_generator - binding_generator.generate_bindings(json_api_file, env['generate_template_get_node']) + binding_generator.generate_bindings(json_api_file, env["generate_template_get_node"]) # Sources to compile sources = [] -add_sources(sources, 'src/core', 'cpp') -add_sources(sources, 'src/gen', 'cpp') +add_sources(sources, "src/core", "cpp") +add_sources(sources, "src/variant", "cpp") +add_sources(sources, "gen/src/variant", "cpp") +add_sources(sources, "gen/src/classes", "cpp") -arch_suffix = env['bits'] -if env['platform'] == 'android': - arch_suffix = env['android_arch'] -elif env['platform'] == 'ios': - arch_suffix = env['ios_arch'] -elif env['platform'] == 'osx': - if env['macos_arch'] != 'x86_64': - arch_suffix = env['macos_arch'] -elif env['platform'] == 'javascript': - arch_suffix = 'wasm' +arch_suffix = env["bits"] +if env["platform"] == "android": + arch_suffix = env["android_arch"] +if env["platform"] == "ios": + arch_suffix = env["ios_arch"] +if env["platform"] == "javascript": + arch_suffix = "wasm" library = env.StaticLibrary( - target='bin/' + 'libgodot-cpp.{}.{}.{}{}'.format( - env['platform'], - env['target'], - arch_suffix, - env['LIBSUFFIX'] - ), source=sources + target="bin/" + "libgodot-cpp.{}.{}.{}{}".format(env["platform"], env["target"], arch_suffix, env["LIBSUFFIX"]), + source=sources, ) Default(library) diff --git a/binding_generator.py b/binding_generator.py index 9542b002..c8be0d1e 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -1,900 +1,1612 @@ #!/usr/bin/env python -from __future__ import print_function + import json -import os -import errno +import re +import shutil from pathlib import Path -# Convenience function for using template get_node -def correct_method_name(method_list): - for method in method_list: - if method["name"] == "get_node": - method["name"] = "get_node_internal" - - -classes = [] - def print_file_list(api_filepath, output_dir, headers=False, sources=False): - global classes - end = ';' + api = {} + end = ";" with open(api_filepath) as api_file: - classes = json.load(api_file) - include_gen_folder = Path(output_dir) / 'include' / 'gen' - source_gen_folder = Path(output_dir) / 'src' / 'gen' - for _class in classes: - header_filename = include_gen_folder / (strip_name(_class["name"]) + ".hpp") - source_filename = source_gen_folder / (strip_name(_class["name"]) + ".cpp") + api = json.load(api_file) + + include_gen_folder = Path(output_dir) / "gen" / "include" / "godot_cpp" + source_gen_folder = Path(output_dir) / "gen" / "src" + + for builtin_class in api["builtin_classes"]: + if is_pod_type(builtin_class["name"]): + continue + + header_filename = include_gen_folder / "variant" / (camel_to_snake(builtin_class["name"]) + ".hpp") + source_filename = source_gen_folder / "variant" / (camel_to_snake(builtin_class["name"]) + ".cpp") if headers: print(str(header_filename.as_posix()), end=end) if sources: print(str(source_filename.as_posix()), end=end) - icall_header_filename = include_gen_folder / '__icalls.hpp' - register_types_filename = source_gen_folder / '__register_types.cpp' - init_method_bindings_filename = source_gen_folder / '__init_method_bindings.cpp' + + for engine_class in api["classes"]: + header_filename = include_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".hpp") + source_filename = source_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".cpp") + if headers: + print(str(header_filename.as_posix()), end=end) + if sources: + print(str(source_filename.as_posix()), end=end) + + utility_functions_header_path = include_gen_folder / "variant" / "utility_functions.hpp" + utility_functions_source_path = source_gen_folder / "variant" / "utility_functions.cpp" + global_constants_header_path = include_gen_folder / "classes" / "global_constants.hpp" if headers: - print(str(icall_header_filename.as_posix()), end=end) + print(str(utility_functions_header_path.as_posix()), end=end) + print(str(global_constants_header_path.as_posix()), end=end) if sources: - print(str(register_types_filename.as_posix()), end=end) - print(str(init_method_bindings_filename.as_posix()), end=end) + print(str(utility_functions_source_path.as_posix()), end=end) def generate_bindings(api_filepath, use_template_get_node, output_dir="."): - global classes + api = None + + target_dir = Path(output_dir) / "gen" + with open(api_filepath) as api_file: - classes = json.load(api_file) + api = json.load(api_file) - icalls = set() - include_gen_folder = Path(output_dir) / 'include' / 'gen' - source_gen_folder = Path(output_dir) / 'src' / 'gen' + shutil.rmtree(target_dir, ignore_errors=True) + target_dir.mkdir(parents=True) - try: - include_gen_folder.mkdir(parents=True) - except os.error as e: - if e.errno == errno.EEXIST: - print(str(source_gen_folder) + ": " + os.strerror(e.errno)) - else: - exit(1) + generate_global_constants(api, target_dir) + generate_builtin_bindings(api, target_dir, "float_64") + generate_engine_classes_bindings(api, target_dir, use_template_get_node) + generate_utility_functions(api, target_dir) - try: - source_gen_folder.mkdir(parents=True) - except os.error as e: - if e.errno == errno.EEXIST: - print(str(source_gen_folder) + ": " + os.strerror(e.errno)) - else: - exit(1) - for c in classes: - # print(c['name']) - used_classes = get_used_classes(c) - if use_template_get_node and c["name"] == "Node": - correct_method_name(c["methods"]) +builtin_classes = [] - header = generate_class_header(used_classes, c, use_template_get_node) +# Key is class name, value is boolean where True means the class is refcounted. +engine_classes = {} - impl = generate_class_implementation(icalls, used_classes, c, use_template_get_node) - header_filename = include_gen_folder / (strip_name(c["name"]) + ".hpp") +def generate_builtin_bindings(api, output_dir, build_config): + global builtin_classes + + include_gen_folder = Path(output_dir) / "include" / "godot_cpp" / "variant" + source_gen_folder = Path(output_dir) / "src" / "variant" + + include_gen_folder.mkdir(parents=True, exist_ok=True) + source_gen_folder.mkdir(parents=True, exist_ok=True) + + # Store types beforehand. + for builtin_api in api["builtin_classes"]: + if is_pod_type(builtin_api["name"]): + continue + builtin_classes.append(builtin_api["name"]) + + builtin_sizes = {} + + for size_list in api["builtin_class_sizes"]: + if size_list["build_configuration"] == build_config: + for size in size_list["sizes"]: + builtin_sizes[size["name"]] = size["size"] + break + + # Create a file for Variant size, since that class isn't generated. + variant_size_filename = include_gen_folder / "variant_size.hpp" + with variant_size_filename.open("+w") as variant_size_file: + variant_size_source = [] + add_header("variant_size.hpp", variant_size_source) + + header_guard = "GODOT_CPP_VARIANT_SIZE_HPP" + variant_size_source.append(f"#ifndef {header_guard}") + variant_size_source.append(f"#define {header_guard}") + variant_size_source.append(f'#define GODOT_CPP_VARIANT_SIZE {builtin_sizes["Variant"]}') + variant_size_source.append(f"#endif // ! {header_guard}") + + variant_size_file.write("\n".join(variant_size_source)) + + for builtin_api in api["builtin_classes"]: + if is_pod_type(builtin_api["name"]): + continue + + size = builtin_sizes[builtin_api["name"]] + + header_filename = include_gen_folder / (camel_to_snake(builtin_api["name"]) + ".hpp") + source_filename = source_gen_folder / (camel_to_snake(builtin_api["name"]) + ".cpp") + + # Check used classes for header include + used_classes = set() + fully_used_classes = set() + + class_name = builtin_api["name"] + + if "constructors" in builtin_api: + for constructor in builtin_api["constructors"]: + if "arguments" in constructor: + for argument in constructor["arguments"]: + if is_included(argument["type"], class_name): + if "default_value" in argument and argument["type"] != "Variant": + fully_used_classes.add(argument["type"]) + else: + used_classes.add(argument["type"]) + + if "methods" in builtin_api: + for method in builtin_api["methods"]: + if "arguments" in method: + for argument in method["arguments"]: + if is_included(argument["type"], class_name): + if "default_value" in argument and argument["type"] != "Variant": + fully_used_classes.add(argument["type"]) + else: + used_classes.add(argument["type"]) + if "return_type" in method: + if is_included(method["return_type"], class_name): + used_classes.add(method["return_type"]) + + if "members" in builtin_api: + for member in builtin_api["members"]: + if is_included(member["type"], class_name): + used_classes.add(member["type"]) + + if "indexing_return_type" in builtin_api: + if is_included(builtin_api["indexing_return_type"], class_name): + used_classes.add(builtin_api["indexing_return_type"]) + + if "operators" in builtin_api: + for operator in builtin_api["operators"]: + if "right_type" in operator: + if is_included(operator["right_type"], class_name): + used_classes.add(operator["right_type"]) + + for type_name in fully_used_classes: + if type_name in used_classes: + used_classes.remove(type_name) + with header_filename.open("w+") as header_file: - header_file.write(header) + header_file.write(generate_builtin_class_header(builtin_api, size, used_classes, fully_used_classes)) - source_filename = source_gen_folder / (strip_name(c["name"]) + ".cpp") with source_filename.open("w+") as source_file: - source_file.write(impl) + source_file.write(generate_builtin_class_source(builtin_api, size, used_classes, fully_used_classes)) - icall_header_filename = include_gen_folder / '__icalls.hpp' - with icall_header_filename.open("w+") as icall_header_file: - icall_header_file.write(generate_icall_header(icalls)) + # Create a header with all builtin types for convenience. + builtin_header_filename = include_gen_folder / "builtin_types.hpp" + with builtin_header_filename.open("w+") as builtin_header_file: + builtin_header = [] + add_header("builtin_types.hpp", builtin_header) - register_types_filename = source_gen_folder / '__register_types.cpp' - with register_types_filename.open("w+") as register_types_file: - register_types_file.write(generate_type_registry(classes)) + builtin_header.append("#ifndef GODOT_CPP_BUILTIN_TYPES_HPP") + builtin_header.append("#define GODOT_CPP_BUILTIN_TYPES_HPP") - init_method_bindings_filename = source_gen_folder / '__init_method_bindings.cpp' - with init_method_bindings_filename.open("w+") as init_method_bindings_file: - init_method_bindings_file.write(generate_init_method_bindings(classes)) + builtin_header.append("") + for builtin in builtin_classes: + builtin_header.append(f'#include ') -def is_reference_type(t): - for c in classes: - if c['name'] != t: - continue - if c['is_reference']: - return True - return False + builtin_header.append("") -def make_gdnative_type(t, ref_allowed): - if is_enum(t): - return remove_enum_prefix(t) + " " - elif is_class_type(t): - if is_reference_type(t) and ref_allowed: - return "Ref<" + strip_name(t) + "> " - else: - return strip_name(t) + " *" - else: - if t == "int": - return "int64_t " - if t == "float" or t == "real": - return "real_t " - return strip_name(t) + " " + builtin_header.append("#endif // ! GODOT_CPP_BUILTIN_TYPES_HPP") + builtin_header_file.write("\n".join(builtin_header)) -def generate_class_header(used_classes, c, use_template_get_node): - source = [] - source.append("#ifndef GODOT_CPP_" + strip_name(c["name"]).upper() + "_HPP") - source.append("#define GODOT_CPP_" + strip_name(c["name"]).upper() + "_HPP") - source.append("") - source.append("") +def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_classes): + result = [] - source.append("#include ") - source.append("#include ") - source.append("") + class_name = builtin_api["name"] + snake_class_name = camel_to_snake(class_name).upper() + header_guard = f"GODOT_CPP_{snake_class_name}_HPP" - source.append("#include ") + add_header(f"{snake_class_name.lower()}.hpp", result) - class_name = strip_name(c["name"]) + result.append(f"#ifndef {header_guard}") + result.append(f"#define {header_guard}") - # Ref is not included in object.h in Godot either, - # so don't include it here because it's not needed - if class_name != "Object" and class_name != "Reference": - source.append("#include ") - ref_allowed = True - else: - source.append("#include ") - ref_allowed = False + result.append("") + result.append("#include ") + result.append("") + # Special cases. + if class_name == "String": + result.append("#include ") - included = [] + for include in fully_used_classes: + result.append(f"#include ") - for used_class in used_classes: - if is_enum(used_class) and is_nested_type(used_class): - used_class_name = remove_enum_prefix(extract_nested_type(used_class)) - if used_class_name not in included: - included.append(used_class_name) - source.append("#include \"" + used_class_name + ".hpp\"") - elif is_enum(used_class) and is_nested_type(used_class) and not is_nested_type(used_class, class_name): - used_class_name = remove_enum_prefix(used_class) - if used_class_name not in included: - included.append(used_class_name) - source.append("#include \"" + used_class_name + ".hpp\"") + if len(fully_used_classes) > 0: + result.append("") - source.append("") + result.append(f"#include ") + result.append("") + result.append("namespace godot {") + result.append("") - if c["base_class"] != "": - source.append("#include \"" + strip_name(c["base_class"]) + ".hpp\"") + for type_name in used_classes: + result.append(f"class {type_name};") + if len(used_classes) > 0: + result.append("") - source.append("namespace godot {") - source.append("") + result.append(f"class {class_name} {{") + result.append(f"\tstatic constexpr size_t {snake_class_name}_SIZE = {size};") + result.append(f"\tuint8_t opaque[{snake_class_name}_SIZE] {{ 0 }};") + result.append(f"\tGDNativeTypePtr ptr = const_cast(&opaque);") + result.append("") + result.append("\tfriend class Variant;") - for used_type in used_classes: - if is_enum(used_type) or is_nested_type(used_type, class_name): - continue - else: - source.append("class " + strip_name(used_type) + ";") + result.append("") + result.append("\tstatic struct _MethodBindings {") + if "constructors" in builtin_api: + for constructor in builtin_api["constructors"]: + result.append(f'\t\tGDNativePtrConstructor constructor_{constructor["index"]};') - source.append("") + if builtin_api["has_destructor"]: + result.append("\t\tGDNativePtrDestructor destructor;") - vararg_templates = "" + if "methods" in builtin_api: + for method in builtin_api["methods"]: + result.append(f'\t\tGDNativePtrBuiltInMethod method_{method["name"]};') - # generate the class definition here - source.append("class " + class_name + (" : public _Wrapped" if c["base_class"] == "" else (" : public " + strip_name(c["base_class"])) ) + " {") + if "members" in builtin_api: + for member in builtin_api["members"]: + result.append(f'\t\tGDNativePtrSetter member_{member["name"]}_setter;') + result.append(f'\t\tGDNativePtrGetter member_{member["name"]}_getter;') - if c["base_class"] == "": - source.append("public: enum { ___CLASS_IS_SCRIPT = 0, };") - source.append("") - source.append("private:") + if "indexing_return_type" in builtin_api: + result.append(f"\t\tGDNativePtrIndexedSetter indexed_setter;") + result.append(f"\t\tGDNativePtrIndexedGetter indexed_getter;") - if c["singleton"]: - source.append("\tstatic " + class_name + " *_singleton;") - source.append("") - source.append("\t" + class_name + "();") - source.append("") + if "is_keyed" in builtin_api and builtin_api["is_keyed"]: + result.append(f"\t\tGDNativePtrKeyedSetter keyed_setter;") + result.append(f"\t\tGDNativePtrKeyedGetter keyed_getter;") + result.append(f"\t\tGDNativePtrKeyedChecker keyed_checker;") - # Generate method table - source.append("\tstruct ___method_bindings {") + if "operators" in builtin_api: + for operator in builtin_api["operators"]: + if "right_type" in operator: + result.append( + f'\t\tGDNativePtrOperatorEvaluator operator_{get_operator_id_name(operator["name"])}_{operator["right_type"]};' + ) + else: + result.append(f'\t\tGDNativePtrOperatorEvaluator operator_{get_operator_id_name(operator["name"])};') - for method in c["methods"]: - source.append("\t\tgodot_method_bind *mb_" + method["name"] + ";") + result.append("\t} _method_bindings;") - source.append("\t};") - source.append("\tstatic ___method_bindings ___mb;") - source.append("\tstatic void *_detail_class_tag;") - source.append("") - source.append("public:") - source.append("\tstatic void ___init_method_bindings();") - - # class id from core engine for casting - source.append("\tinline static size_t ___get_id() { return (size_t)_detail_class_tag; }") - - source.append("") + result.append("") + result.append("\tstatic void init_bindings();") - - if c["singleton"]: - source.append("\tstatic inline " + class_name + " *get_singleton()") - source.append("\t{") - source.append("\t\tif (!" + class_name + "::_singleton) {") - source.append("\t\t\t" + class_name + "::_singleton = new " + class_name + ";") - source.append("\t\t}") - source.append("\t\treturn " + class_name + "::_singleton;") - source.append("\t}") - source.append("") - - # godot::api->godot_global_get_singleton((char *) \"" + strip_name(c["name"]) + "\");" - - # class name: - # Two versions needed needed because when the user implements a custom class, - # we want to override `___get_class_name` while `___get_godot_class_name` can keep returning the base name - source.append("\tstatic inline const char *___get_class_name() { return (const char *) \"" + strip_name(c["name"]) + "\"; }") - source.append("\tstatic inline const char *___get_godot_class_name() { return (const char *) \"" + strip_name(c["name"]) + "\"; }") - - source.append("\tstatic inline Object *___get_from_variant(Variant a) { godot_object *o = (godot_object*) a; return (o) ? (Object *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, o) : nullptr; }") - - enum_values = [] - - source.append("\n\t// enums") - for enum in c["enums"]: - source.append("\tenum " + strip_name(enum["name"]) + " {") - for value in enum["values"]: - source.append("\t\t" + remove_nested_type_prefix(value) + " = " + str(enum["values"][value]) + ",") - enum_values.append(value) - source.append("\t};") - - source.append("\n\t// constants") - - for name in c["constants"]: - if name not in enum_values: - source.append("\tconst static int " + name + " = " + str(c["constants"][name]) + ";") - - - if c["instanciable"]: - source.append("") - source.append("") - source.append("\tstatic " + class_name + " *_new();") - - source.append("\n\t// methods") - - - if class_name == "Object": - source.append("#ifndef GODOT_CPP_NO_OBJECT_CAST") - source.append("\ttemplate") - source.append("\tstatic T *cast_to(const Object *obj);") - source.append("#endif") - source.append("") - - for method in c["methods"]: - method_signature = "" - - # TODO decide what to do about virtual methods - # method_signature += "virtual " if method["is_virtual"] else "" - method_signature += make_gdnative_type(method["return_type"], ref_allowed) - method_name = escape_cpp(method["name"]) - method_signature += method_name + "(" - - - has_default_argument = False - method_arguments = "" - - for i, argument in enumerate(method["arguments"]): - method_signature += "const " + make_gdnative_type(argument["type"], ref_allowed) - argument_name = escape_cpp(argument["name"]) - method_signature += argument_name - method_arguments += argument_name - - - # default arguments - def escape_default_arg(_type, default_value): - if _type == "Color": - return "Color(" + default_value + ")" - if _type == "bool" or _type == "int": - return default_value.lower() - if _type == "Array": - return "Array()" - if _type in ["PoolVector2Array", "PoolStringArray", "PoolVector3Array", "PoolColorArray", "PoolIntArray", "PoolRealArray", "PoolByteArray"]: - return _type + "()" - if _type == "Vector2": - return "Vector2" + default_value - if _type == "Vector3": - return "Vector3" + default_value - if _type == "Transform": - return "Transform()" - if _type == "Transform2D": - return "Transform2D()" - if _type == "Rect2": - return "Rect2" + default_value - if _type == "Variant": - return "Variant()" if default_value == "Null" else default_value - if _type == "String" or _type == "NodePath": - return "\"" + default_value + "\"" - if _type == "RID": - return "RID()" - - if default_value == "Null" or default_value == "[Object:null]": - return "nullptr" - - return default_value - - - - - if argument["has_default_value"] or has_default_argument: - method_signature += " = " + escape_default_arg(argument["type"], argument["default_value"]) - has_default_argument = True - - - - if i != len(method["arguments"]) - 1: - method_signature += ", " - method_arguments += "," - - if method["has_varargs"]: - if len(method["arguments"]) > 0: - method_signature += ", " - method_arguments += ", " - vararg_templates += "\ttemplate " + method_signature + "Args... args){\n\t\treturn " + method_name + "(" + method_arguments + "Array::make(args...));\n\t}\n""" - method_signature += "const Array& __var_args = Array()" - - method_signature += ")" + (" const" if method["is_const"] else "") - - - source.append("\t" + method_signature + ";") - - source.append(vararg_templates) - - if use_template_get_node and class_name == "Node": - # Extra definition for template get_node that calls the renamed get_node_internal; has a default template parameter for backwards compatibility. - source.append("\ttemplate ") - source.append("\tT *get_node(const NodePath path) const {") - source.append("\t\treturn Object::cast_to(get_node_internal(path));") - source.append("\t}") - - source.append("};") - source.append("") - - # ...And a specialized version so we don't unnecessarily cast when using the default. - source.append("template <>") - source.append("inline Node *Node::get_node(const NodePath path) const {") - source.append("\treturn get_node_internal(path);") - source.append("}") - source.append("") - else: - source.append("};") - source.append("") - - source.append("}") - source.append("") - - source.append("#endif") - - - return "\n".join(source) - - - - - -def generate_class_implementation(icalls, used_classes, c, use_template_get_node): - class_name = strip_name(c["name"]) - - ref_allowed = class_name != "Object" and class_name != "Reference" - - source = [] - source.append("#include \"" + class_name + ".hpp\"") - source.append("") - source.append("") - - source.append("#include ") - source.append("#include ") - source.append("#include ") - - source.append("#include ") - source.append("") - - - source.append("#include \"__icalls.hpp\"") - source.append("") - source.append("") - - for used_class in used_classes: - if is_enum(used_class): - continue - else: - source.append("#include \"" + strip_name(used_class) + ".hpp\"") - - source.append("") - source.append("") - - source.append("namespace godot {") - - - core_object_name = "this" - - - source.append("") - source.append("") - - if c["singleton"]: - source.append("" + class_name + " *" + class_name + "::_singleton = NULL;") - source.append("") - source.append("") - - # FIXME Test if inlining has a huge impact on binary size - source.append(class_name + "::" + class_name + "() {") - source.append("\t_owner = godot::api->godot_global_get_singleton((char *) \"" + strip_name(c["name"]) + "\");") - source.append("}") - - source.append("") - source.append("") - - # Method table initialization - source.append(class_name + "::___method_bindings " + class_name + "::___mb = {};") - source.append("") - - source.append("void *" + class_name + "::_detail_class_tag = nullptr;") - source.append("") - - source.append("void " + class_name + "::___init_method_bindings() {") - - for method in c["methods"]: - source.append("\t___mb.mb_" + method["name"] + " = godot::api->godot_method_bind_get_method(\"" + c["name"] + "\", \"" + ("get_node" if use_template_get_node and method["name"] == "get_node_internal" else method["name"]) + "\");") - - source.append("\tgodot_string_name class_name;") - source.append("\tgodot::api->godot_string_name_new_data(&class_name, \"" + c["name"] + "\");") - source.append("\t_detail_class_tag = godot::core_1_2_api->godot_get_class_tag(&class_name);") - source.append("\tgodot::api->godot_string_name_destroy(&class_name);") - - source.append("}") - source.append("") - - if c["instanciable"]: - source.append(class_name + " *" + strip_name(c["name"]) + "::_new()") - source.append("{") - source.append("\treturn (" + class_name + " *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, godot::api->godot_get_class_constructor((char *)\"" + c["name"] + "\")());") - source.append("}") - - for method in c["methods"]: - method_signature = "" - - method_signature += make_gdnative_type(method["return_type"], ref_allowed) - method_signature += strip_name(c["name"]) + "::" + escape_cpp(method["name"]) + "(" - - for i, argument in enumerate(method["arguments"]): - method_signature += "const " + make_gdnative_type(argument["type"], ref_allowed) - method_signature += escape_cpp(argument["name"]) - - if i != len(method["arguments"]) - 1: - method_signature += ", " - - if method["has_varargs"]: - if len(method["arguments"]) > 0: - method_signature += ", " - method_signature += "const Array& __var_args" - - method_signature += ")" + (" const" if method["is_const"] else "") - - source.append(method_signature + " {") - - - if method["name"] == "free": - # dirty hack because Object::free is marked virtual but doesn't actually exist... - source.append("\tgodot::api->godot_object_destroy(_owner);") - source.append("}") - source.append("") - continue - - return_statement = "" - return_type_is_ref = is_reference_type(method["return_type"]) and ref_allowed - - if method["return_type"] != "void": - if is_class_type(method["return_type"]): - if is_enum(method["return_type"]): - return_statement += "return (" + remove_enum_prefix(method["return_type"]) + ") " - elif return_type_is_ref: - return_statement += "return Ref<" + strip_name(method["return_type"]) + ">::__internal_constructor(" + result.append("") + result.append("public:") + + if "constructors" in builtin_api: + for constructor in builtin_api["constructors"]: + method_signature = f"\t{class_name}(" + if "arguments" in constructor: + method_signature += make_function_parameters( + constructor["arguments"], include_default=True, for_builtin=True + ) + method_signature += ");" + + result.append(method_signature) + + # Special cases. + if class_name == "String" or class_name == "StringName" or class_name == "NodePath": + result.append(f"\t{class_name}(const char *from);") + result.append(f"\t{class_name}(const wchar_t *from);") + result.append(f"\t{class_name}(const char16_t *from);") + result.append(f"\t{class_name}(const char32_t *from);") + + if "constants" in builtin_api: + axis_constants_count = 0 + for constant in builtin_api["constants"]: + # Special case: Vector3.Axis is the only enum in the bindings. + # It's technically not supported by Variant but works for direct access. + if class_name == "Vector3" and constant["name"].startswith("AXIS"): + if axis_constants_count == 0: + result.append("\tenum Axis {") + result.append(f'\t\t{constant["name"]} = {constant["value"]},') + axis_constants_count += 1 + if axis_constants_count == 3: + result.append("\t};") + else: + result.append(f'\tstatic const {correct_type(constant["type"])} {constant["name"]};') + + if builtin_api["has_destructor"]: + result.append(f"\t~{class_name}();") + + method_list = [] + + if "methods" in builtin_api: + for method in builtin_api["methods"]: + method_list.append(method["name"]) + + vararg = method["is_vararg"] + if vararg: + result.append("\ttemplate") + + method_signature = "\t" + if "is_static" in method and method["is_static"]: + method_signature += "static " + + if "return_type" in method: + method_signature += f'{correct_type(method["return_type"])} ' + else: + method_signature += "void " + + method_signature += f'{method["name"]}(' + + method_arguments = [] + if "arguments" in method: + method_arguments = method["arguments"] + + method_signature += make_function_parameters( + method_arguments, include_default=True, for_builtin=True, is_vararg=vararg + ) + + method_signature += ")" + if method["is_const"]: + method_signature += " const" + method_signature += ";" + + result.append(method_signature) + + # Special cases. + if class_name == "String": + result.append("\tCharString utf8() const;") + result.append("\tCharString ascii() const;") + result.append("\tChar16String utf16() const;") + result.append("\tChar32String utf32() const;") + result.append("\tCharWideString wide_string() const;") + + if "members" in builtin_api: + for member in builtin_api["members"]: + if f'get_{member["name"]}' not in method_list: + result.append(f'\t{correct_type(member["type"])} get_{member["name"]}() const;') + if f'set_{member["name"]}' not in method_list: + result.append(f'\tvoid set_{member["name"]}({type_for_parameter(member["type"])}value);') + + if "operators" in builtin_api: + for operator in builtin_api["operators"]: + if operator["name"] not in ["in", "xor"]: + if "right_type" in operator: + result.append( + f'\t{correct_type(operator["return_type"])} operator{operator["name"]}({type_for_parameter(operator["right_type"])}other) const;' + ) else: - return_statement += "return " + ("(" + strip_name(method["return_type"]) + " *) " if is_class_type(method["return_type"]) else "") + result.append( + f'\t{correct_type(operator["return_type"])} operator{operator["name"].replace("unary", "")}() const;' + ) + + # Special cases. + if class_name == "String": + result.append("String &operator=(const char *p_str);") + result.append("String &operator=(const wchar_t *p_str);") + result.append("String &operator=(const char16_t *p_str);") + result.append("String &operator=(const char32_t *p_str);") + result.append("bool operator==(const char *p_str) const;") + result.append("bool operator==(const wchar_t *p_str) const;") + result.append("bool operator==(const char16_t *p_str) const;") + result.append("bool operator==(const char32_t *p_str) const;") + result.append("bool operator!=(const char *p_str) const;") + result.append("bool operator!=(const wchar_t *p_str) const;") + result.append("bool operator!=(const char16_t *p_str) const;") + result.append("bool operator!=(const char32_t *p_str) const;") + + result.append("};") + + if class_name == "String": + result.append("") + result.append("bool operator==(const char *p_chr, const String &p_str);") + result.append("bool operator==(const wchar_t *p_chr, const String &p_str);") + result.append("bool operator==(const char16_t *p_chr, const String &p_str);") + result.append("bool operator==(const char32_t *p_chr, const String &p_str);") + result.append("bool operator!=(const char *p_chr, const String &p_str);") + result.append("bool operator!=(const wchar_t *p_chr, const String &p_str);") + result.append("bool operator!=(const char16_t *p_chr, const String &p_str);") + result.append("bool operator!=(const char32_t *p_chr, const String &p_str);") + result.append("String operator+(const char *p_chr, const String &p_str);") + result.append("String operator+(const wchar_t *p_chr, const String &p_str);") + result.append("String operator+(const char16_t *p_chr, const String &p_str);") + result.append("String operator+(const char32_t *p_chr, const String &p_str);") + + result.append("") + result.append("} // namespace godot") + + result.append(f"#endif // ! {header_guard}") + + return "\n".join(result) + + +def generate_builtin_class_source(builtin_api, size, used_classes, fully_used_classes): + result = [] + + class_name = builtin_api["name"] + snake_class_name = camel_to_snake(class_name) + enum_type_name = f"GDNATIVE_VARIANT_TYPE_{snake_class_name.upper()}" + + add_header(f"{snake_class_name}.cpp", result) + + result.append("") + result.append(f"#include ") + result.append("") + result.append("#include ") + result.append("") + result.append("#include ") + result.append("") + + # Only used since the "fully used" is included in header already. + for include in used_classes: + result.append(f"#include ") + + if len(used_classes) > 0: + result.append("") + + result.append("#include ") + result.append("") + result.append("namespace godot {") + result.append("") + + result.append(f"{class_name}::_MethodBindings {class_name}::_method_bindings;") + result.append("") + + result.append(f"void {class_name}::init_bindings() {{") + + if "constructors" in builtin_api: + for constructor in builtin_api["constructors"]: + result.append( + f'\t_method_bindings.constructor_{constructor["index"]} = internal::interface->variant_get_ptr_constructor({enum_type_name}, {constructor["index"]});' + ) + + if builtin_api["has_destructor"]: + result.append( + f"\t_method_bindings.destructor = internal::interface->variant_get_ptr_destructor({enum_type_name});" + ) + + if "methods" in builtin_api: + for method in builtin_api["methods"]: + # TODO: Add error check for hash mismatch. + result.append( + f'\t_method_bindings.method_{method["name"]} = internal::interface->variant_get_ptr_builtin_method({enum_type_name}, "{method["name"]}", {method["hash"]});' + ) + + if "members" in builtin_api: + for member in builtin_api["members"]: + result.append( + f'\t_method_bindings.member_{member["name"]}_setter = internal::interface->variant_get_ptr_setter({enum_type_name}, "{member["name"]}");' + ) + result.append( + f'\t_method_bindings.member_{member["name"]}_getter = internal::interface->variant_get_ptr_getter({enum_type_name}, "{member["name"]}");' + ) + + if "indexing_return_type" in builtin_api: + result.append( + f"\t_method_bindings.indexed_setter = internal::interface->variant_get_ptr_indexed_setter({enum_type_name});" + ) + result.append( + f"\t_method_bindings.indexed_getter = internal::interface->variant_get_ptr_indexed_getter({enum_type_name});" + ) + + if "is_keyed" in builtin_api and builtin_api["is_keyed"]: + result.append( + f"\t_method_bindings.keyed_setter = internal::interface->variant_get_ptr_keyed_setter({enum_type_name});" + ) + result.append( + f"\t_method_bindings.keyed_getter = internal::interface->variant_get_ptr_keyed_getter({enum_type_name});" + ) + result.append( + f"\t_method_bindings.keyed_checker = internal::interface->variant_get_ptr_keyed_checker({enum_type_name});" + ) + + if "operators" in builtin_api: + for operator in builtin_api["operators"]: + if "right_type" in operator: + result.append( + f'\t_method_bindings.operator_{get_operator_id_name(operator["name"])}_{operator["right_type"]} = internal::interface->variant_get_ptr_operator_evaluator(GDNATIVE_VARIANT_OP_{get_operator_id_name(operator["name"]).upper()}, {enum_type_name}, GDNATIVE_VARIANT_TYPE_{camel_to_snake(operator["right_type"]).upper()});' + ) else: - return_statement += "return " + result.append( + f'\t_method_bindings.operator_{get_operator_id_name(operator["name"])} = internal::interface->variant_get_ptr_operator_evaluator(GDNATIVE_VARIANT_OP_{get_operator_id_name(operator["name"]).upper()}, {enum_type_name}, GDNATIVE_VARIANT_TYPE_NIL);' + ) - def get_icall_type_name(name): - if is_enum(name): - return "int" - if is_class_type(name): - return "Object" - return name + result.append("}") + result.append("") + if "constructors" in builtin_api: + for constructor in builtin_api["constructors"]: + method_signature = f"{class_name}::{class_name}(" + if "arguments" in constructor: + method_signature += make_function_parameters( + constructor["arguments"], include_default=False, for_builtin=True + ) + method_signature += ") {" + result.append(method_signature) - if method["has_varargs"]: + method_call = ( + f'\tinternal::_call_builtin_constructor(_method_bindings.constructor_{constructor["index"]}, &opaque' + ) + if "arguments" in constructor: + method_call += ", " + arguments = [] + for argument in constructor["arguments"]: + (encode, arg_name) = get_encoded_arg( + argument["name"], + argument["type"], + argument["meta"] if "meta" in argument else None, + ) + result += encode + arguments.append(arg_name) + method_call += ", ".join(arguments) + method_call += ");" - if len(method["arguments"]) != 0: - source.append("\tVariant __given_args[" + str(len(method["arguments"])) + "];") + result.append(method_call) + result.append("}") + result.append("") - for i, argument in enumerate(method["arguments"]): - source.append("\tgodot::api->godot_variant_new_nil((godot_variant *) &__given_args[" + str(i) + "]);") + if builtin_api["has_destructor"]: + result.append(f"{class_name}::~{class_name}() {{") + result.append("\t_method_bindings.destructor(&opaque);") + result.append("}") + result.append("") - source.append("") + method_list = [] + if "methods" in builtin_api: + for method in builtin_api["methods"]: + method_list.append(method["name"]) - for i, argument in enumerate(method["arguments"]): - source.append("\t__given_args[" + str(i) + "] = " + escape_cpp(argument["name"]) + ";") + if "is_vararg" in method and method["is_vararg"]: + # Done in the header because of the template. + continue - source.append("") - - size = "" - if method["has_varargs"]: - size = "(__var_args.size() + " + str(len(method["arguments"])) + ")" + method_signature = "" + if "return_type" in method: + method_signature += f'{correct_type(method["return_type"])} ' else: - size = "(" + str(len(method["arguments"])) + ")" + method_signature += "void " - source.append("\tgodot_variant **__args = (godot_variant **) alloca(sizeof(godot_variant *) * " + size + ");") + method_signature += f'{class_name}::{method["name"]}(' + if "arguments" in method: + method_signature += make_function_parameters( + method["arguments"], include_default=False, for_builtin=True + ) + method_signature += ")" + if method["is_const"]: + method_signature += " const" + method_signature += " {" - source.append("") + result.append(method_signature) - for i, argument in enumerate(method["arguments"]): - source.append("\t__args[" + str(i) + "] = (godot_variant *) &__given_args[" + str(i) + "];") + method_call = "\t" + if "return_type" in method: + method_call += f'return internal::_call_builtin_method_ptr_ret<{correct_type(method["return_type"])}>(' + else: + method_call += f"internal::_call_builtin_method_ptr_no_ret(" + method_call += f'_method_bindings.method_{method["name"]}, ' + if "is_static" in method and method["is_static"]: + method_call += "nullptr" + else: + method_call += "(GDNativeTypePtr)&opaque" - source.append("") + if "arguments" in method: + arguments = [] + method_call += ", " + for argument in method["arguments"]: + (encode, arg_name) = get_encoded_arg( + argument["name"], + argument["type"], + argument["meta"] if "meta" in argument else None, + ) + result += encode + arguments.append(arg_name) + method_call += ", ".join(arguments) + method_call += ");" - if method["has_varargs"]: - source.append("\tfor (int i = 0; i < __var_args.size(); i++) {") - source.append("\t\t__args[i + " + str(len(method["arguments"])) + "] = (godot_variant *) &((Array &) __var_args)[i];") - source.append("\t}") + result.append(method_call) + result.append("}") + result.append("") - source.append("") + if "members" in builtin_api: + for member in builtin_api["members"]: + if f'get_{member["name"]}' not in method_list: + result.append(f'{correct_type(member["type"])} {class_name}::get_{member["name"]}() const {{') + result.append( + f'\treturn internal::_call_builtin_ptr_getter<{correct_type(member["type"])}>(_method_bindings.member_{member["name"]}_getter, (const GDNativeTypePtr)&opaque);' + ) + result.append("}") - source.append("\tVariant __result;") - source.append("\t*(godot_variant *) &__result = godot::api->godot_method_bind_call(___mb.mb_" + method["name"] + ", ((const Object *) " + core_object_name + ")->_owner, (const godot_variant **) __args, " + size + ", nullptr);") + if f'set_{member["name"]}' not in method_list: + result.append(f'void {class_name}::set_{member["name"]}({type_for_parameter(member["type"])}value) {{') + (encode, arg_name) = get_encoded_arg("value", member["type"], None) + result += encode + result.append( + f'\t_method_bindings.member_{member["name"]}_setter((const GDNativeTypePtr)&opaque, (const GDNativeTypePtr){arg_name});' + ) - source.append("") + result.append("}") + result.append("") - if is_class_type(method["return_type"]): - source.append("\tObject *obj = Object::___get_from_variant(__result);") - source.append("\tif (obj->has_method(\"reference\"))") - source.append("\t\tobj->callv(\"reference\", Array());") + if "operators" in builtin_api: + for operator in builtin_api["operators"]: + if operator["name"] not in ["in", "xor"]: + if "right_type" in operator: + result.append( + f'{correct_type(operator["return_type"])} {class_name}::operator{operator["name"]}({type_for_parameter(operator["right_type"])}other) const {{' + ) + (encode, arg_name) = get_encoded_arg("other", operator["right_type"], None) + result += encode + result.append( + f'\treturn internal::_call_builtin_operator_ptr<{correct_type(operator["return_type"])}>(_method_bindings.operator_{get_operator_id_name(operator["name"])}_{operator["right_type"]}, (const GDNativeTypePtr)&opaque, (const GDNativeTypePtr){arg_name});' + ) + result.append("}") + else: + result.append( + f'{correct_type(operator["return_type"])} {class_name}::operator{operator["name"].replace("unary", "")}() const {{' + ) + result.append( + f'\treturn internal::_call_builtin_operator_ptr<{correct_type(operator["return_type"])}>(_method_bindings.operator_{get_operator_id_name(operator["name"])}, (const GDNativeTypePtr)&opaque, (const GDNativeTypePtr)nullptr);' + ) + result.append("}") + result.append("") - source.append("") + result.append("} //namespace godot") + + return "\n".join(result) - for i, argument in enumerate(method["arguments"]): - source.append("\tgodot::api->godot_variant_destroy((godot_variant *) &__given_args[" + str(i) + "]);") +def generate_engine_classes_bindings(api, output_dir, use_template_get_node): + global engine_classes - source.append("") + include_gen_folder = Path(output_dir) / "include" / "godot_cpp" / "classes" + source_gen_folder = Path(output_dir) / "src" / "classes" - if method["return_type"] != "void": - cast = "" - if is_class_type(method["return_type"]): - if return_type_is_ref: - cast += "Ref<" + strip_name(method["return_type"]) + ">::__internal_constructor(__result);" + include_gen_folder.mkdir(parents=True, exist_ok=True) + source_gen_folder.mkdir(parents=True, exist_ok=True) + + # First create map of classes. + for class_api in api["classes"]: + engine_classes[class_api["name"]] = class_api["is_refcounted"] + + for class_api in api["classes"]: + # Check used classes for header include. + used_classes = set() + fully_used_classes = set() + + class_name = class_api["name"] + + header_filename = include_gen_folder / (camel_to_snake(class_api["name"]) + ".hpp") + source_filename = source_gen_folder / (camel_to_snake(class_api["name"]) + ".cpp") + + if "methods" in class_api: + for method in class_api["methods"]: + if "arguments" in method: + for argument in method["arguments"]: + if is_included(argument["type"], class_name): + if is_enum(argument["type"]): + fully_used_classes.add(get_enum_class(argument["type"])) + elif "default_value" in argument: + fully_used_classes.add(argument["type"]) + else: + used_classes.add(argument["type"]) + if is_refcounted(argument["type"]): + fully_used_classes.add("Ref") + if "return_value" in method: + if is_included(method["return_value"]["type"], class_name): + if is_enum(method["return_value"]["type"]): + fully_used_classes.add(get_enum_class(method["return_value"]["type"])) + elif is_variant(method["return_value"]["type"]): + fully_used_classes.add(method["return_value"]["type"]) + else: + used_classes.add(method["return_value"]["type"]) + if is_refcounted(method["return_value"]["type"]): + fully_used_classes.add("Ref") + + if "members" in class_api: + for member in class_api["members"]: + if is_included(member["type"], class_name): + if is_enum(member["type"]): + fully_used_classes.add(get_enum_class(member["type"])) else: - cast += "(" + strip_name(method["return_type"]) + " *) " + strip_name(method["return_type"] + "::___get_from_variant(") + "__result);" - else: - cast += "__result;" - source.append("\treturn " + cast) - + used_classes.add(member["type"]) + if is_refcounted(member["type"]): + fully_used_classes.add("Ref") + if "inherits" in class_api: + if is_included(class_api["inherits"], class_name): + fully_used_classes.add(class_api["inherits"]) + if is_refcounted(class_api["name"]): + fully_used_classes.add("Ref") else: + fully_used_classes.add("Wrapped") - args = [] - for arg in method["arguments"]: - args.append(get_icall_type_name(arg["type"])) + for type_name in fully_used_classes: + if type_name in used_classes: + used_classes.remove(type_name) - icall_ret_type = get_icall_type_name(method["return_type"]) + with header_filename.open("w+") as header_file: + header_file.write( + generate_engine_class_header(class_api, used_classes, fully_used_classes, use_template_get_node) + ) - icall_sig = tuple((icall_ret_type, tuple(args))) + with source_filename.open("w+") as source_file: + source_file.write( + generate_engine_class_source(class_api, used_classes, fully_used_classes, use_template_get_node) + ) - icalls.add(icall_sig) - icall_name = get_icall_name(icall_sig) +def generate_engine_class_header(class_api, used_classes, fully_used_classes, use_template_get_node): + result = [] - return_statement += icall_name + "(___mb.mb_" + method["name"] + ", (const Object *) " + core_object_name + class_name = class_api["name"] + snake_class_name = camel_to_snake(class_name).upper() - for arg in method["arguments"]: - arg_is_ref = is_reference_type(arg["type"]) and ref_allowed - return_statement += ", " + escape_cpp(arg["name"]) + (".ptr()" if arg_is_ref else "") + add_header(f"{snake_class_name.lower()}.hpp", result) - return_statement += ")" + header_guard = f"GODOT_CPP_{snake_class_name}_HPP" - if return_type_is_ref: - return_statement += ")" + result.append(f"#ifndef {header_guard}") + result.append(f"#define {header_guard}") - source.append("\t" + return_statement + ";") + result.append("") + + for included in fully_used_classes: + result.append(f"#include ") + + if len(fully_used_classes) > 0: + result.append("") + + result.append("namespace godot {") + result.append("") + + for type_name in used_classes: + result.append(f"class {type_name};") + + if len(used_classes) > 0: + result.append("") + + inherits = class_api["inherits"] if "inherits" in class_api else "Wrapped" + result.append(f"class {class_name} : public {inherits} {{") + + result.append(f"\tGDNATIVE_CLASS({class_name}, {inherits})") + result.append("") + + result.append("public:") + + if "enums" in class_api: + for enum_api in class_api["enums"]: + result.append(f'\tenum {enum_api["name"]} {{') + for value in enum_api["values"]: + result.append(f'\t\t{value["name"]} = {value["value"]},') + result.append("\t};") + result.append("") + + has_vararg_method = False + + if "methods" in class_api: + for method in class_api["methods"]: + if method["is_virtual"]: + # TODO: See how to bind virtual methods (if they are even needed). + continue + + method_signature = "\t" + + vararg = "is_vararg" in method and method["is_vararg"] + if vararg: + has_vararg_method = True + method_signature += "private: " + + if "return_value" in method: + method_signature += correct_type( + method["return_value"]["type"], + method["return_value"]["meta"] if "meta" in method["return_value"] else None, + ) + else: + method_signature += "void" + + if not method_signature.endswith("*"): + method_signature += " " + + method_signature += f'{escape_identifier(method["name"])}' + + if vararg or (use_template_get_node and class_name == "Node" and method["name"] == "get_node"): + method_signature += "_internal" + + method_signature += "(" + + method_arguments = [] + if "arguments" in method: + method_arguments = method["arguments"] + + if not vararg: + method_signature += make_function_parameters( + method_arguments, include_default=True, is_vararg=vararg, for_builtin=False + ) + else: + method_signature += "const Variant **args, GDNativeInt arg_count" + + method_signature += ")" + + if method["is_const"]: + method_signature += " const" + + method_signature += ";" + result.append(method_signature) + + if vararg: + # Add templated version. + method_signature = "\tpublic: template " + + if "return_value" in method: + method_signature += correct_type( + method["return_value"]["type"], + method["return_value"]["meta"] if "meta" in method["return_value"] else None, + ) + else: + method_signature += "void" + + if not method_signature.endswith("*"): + method_signature += " " + + method_signature += f'{escape_identifier(method["name"])}' + + method_arguments = [] + if "arguments" in method: + method_arguments = method["arguments"] + + method_signature += "(" + + method_signature += make_function_parameters(method_arguments, include_default=True, is_vararg=vararg) + + method_signature += ")" + + if method["is_const"]: + method_signature += " const" + + method_signature += " {" + result.append(method_signature) + + args_array = f"\t\tstd::array variant_args {{ " + for argument in method_arguments: + if argument["type"] == "Variant": + args_array += argument["name"] + else: + args_array += f'Variant({argument["name"]})' + args_array += ", " + + args_array += "Variant(args)... };" + result.append(args_array) + result.append(f"\t\tstd::array call_args;") + result.append("\t\tfor(size_t i = 0; i < variant_args.size(); i++) {") + result.append("\t\t\tcall_args[i] = &variant_args[i];") + result.append("\t\t}") + + call_line = "\t\t" + + if "return_value" in method and method["return_value"]["type"] != "void": + call_line += "return " + + call_line += f'{escape_identifier(method["name"])}_internal(call_args.data(), variant_args.size());' + result.append(call_line) + result.append("\t}") + + # Special cases. + if class_name == "Object": + result.append("") + result.append("\ttemplate") + result.append("\tstatic T *cast_to(Object *p_object);") + elif use_template_get_node and class_name == "Node": + result.append("\ttemplate") + result.append("\tT *get_node(const NodePath &p_path) { return Object::cast_to(get_node_internal(p_path)); }") + + # Constructor. + result.append("") + result.append(f"\t{class_name}();") + + result.append("") + result.append("};") + result.append("") + + result.append("} // namespace godot") + + result.append(f"#endif // ! {header_guard}") + + return "\n".join(result) + + +def generate_engine_class_source(class_api, used_classes, fully_used_classes, use_template_get_node): + result = [] + + class_name = class_api["name"] + snake_class_name = camel_to_snake(class_name) + inherits = class_api["inherits"] if "inherits" in class_api else "Wrapped" + + add_header(f"{snake_class_name}.cpp", result) + + result.append(f"#include ") + result.append("") + result.append(f"#include ") + result.append(f"#include ") + result.append("") + + for included in used_classes: + result.append(f"#include ") + + if len(used_classes) > 0: + result.append(f"") + + result.append("namespace godot {") + result.append("") + + if "methods" in class_api: + for method in class_api["methods"]: + if method["is_virtual"]: + # TODO: See how to bind virtual methods (if they are even needed). + continue + + vararg = "is_vararg" in method and method["is_vararg"] + + # Method signature. + method_signature = "" + if "return_value" in method: + method_signature += correct_type( + method["return_value"]["type"], + method["return_value"]["meta"] if "meta" in method["return_value"] else None, + ) + else: + method_signature += "void" + + if not method_signature.endswith("*"): + method_signature += " " + + method_signature += f'{class_name}::{escape_identifier(method["name"])}' + + if vararg or (use_template_get_node and class_name == "Node" and method["name"] == "get_node"): + method_signature += "_internal" + + method_signature += "(" + + method_arguments = [] + if "arguments" in method: + method_arguments = method["arguments"] + + if not vararg: + method_signature += make_function_parameters( + method_arguments, include_default=False, is_vararg=vararg, for_builtin=False + ) + else: + method_signature += "const Variant **args, GDNativeInt arg_count" + + method_signature += ")" + + if method["is_const"]: + method_signature += " const" + + method_signature += " {" + result.append(method_signature) + + # Method body. + result.append( + f'\tstatic GDNativeMethodBindPtr ___method_bind = internal::interface->classdb_get_method_bind("{class_name}", "{method["name"]}", {method["hash"]});' + ) + method_call = "\t" + has_return = "return_value" in method and method["return_value"]["type"] != "void" + + if has_return: + result.append( + f'\tCHECK_METHOD_BIND_RET(___method_bind, {get_default_value_for_type(method["return_value"]["type"])});' + ) + else: + result.append(f"\tCHECK_METHOD_BIND(___method_bind);") + + is_ref = False + if not vararg: + if has_return: + return_type = method["return_value"]["type"] + meta_type = method["return_value"]["meta"] if "meta" in method["return_value"] else None + if is_pod_type(return_type) or is_variant(return_type) or is_enum(return_type): + method_call += f"return internal::_call_native_mb_ret<{correct_type(return_type, meta_type)}>(___method_bind, _owner" + elif is_refcounted(return_type): + method_call += f"return Ref<{return_type}>::___internal_constructor(internal::_call_native_mb_ret_obj<{class_name}>(___method_bind, _owner" + is_ref = True + else: + method_call += f"return ({correct_type(return_type)})internal::_call_native_mb_ret_obj<{class_name}>(___method_bind, _owner" + else: + method_call += f"internal::_call_native_mb_no_ret(___method_bind, _owner" + + if "arguments" in method: + method_call += ", " + arguments = [] + for argument in method["arguments"]: + (encode, arg_name) = get_encoded_arg( + argument["name"], + argument["type"], + argument["meta"] if "meta" in argument else None, + ) + result += encode + arguments.append(arg_name) + method_call += ", ".join(arguments) + else: # vararg. + result.append("\tGDNativeCallError error;") + result.append("\tVariant ret;") + method_call += "internal::interface->object_method_bind_call(___method_bind, _owner, (const GDNativeVariantPtr *)args, arg_count, ret, &error" + + if is_ref: + method_call += ")" # Close Ref<> constructor. + method_call += ");" + result.append(method_call) + + if vararg and ("return_value" in method and method["return_value"]["type"] != "void"): + result.append("\treturn ret;") + + result.append("}") + result.append("") + + # Constructor. + result.append(f"{class_name}::{class_name}() : {inherits}(godot::internal::empty_constructor()) {{") + result.append( + f'\tstatic GDNativeClassConstructor constructor = internal::interface->classdb_get_constructor("{class_name}");' + ) + result.append("\t_owner = (GodotObject *)constructor();") + result.append( + f"\tinternal::interface->object_set_instance_binding((GDNativeObjectPtr)_owner, internal::token, this, &{class_name}::___binding_callbacks);" + ) + result.append("}") + + result.append("") + result.append("} // namespace godot ") + + return "\n".join(result) + + +def generate_global_constants(api, output_dir): + include_gen_folder = Path(output_dir) / "include" / "godot_cpp" / "classes" + source_gen_folder = Path(output_dir) / "src" / "classes" + + include_gen_folder.mkdir(parents=True, exist_ok=True) + source_gen_folder.mkdir(parents=True, exist_ok=True) + + # Generate header + + header = [] + add_header("global_constants.hpp", header) + + header_filename = include_gen_folder / "global_constants.hpp" + + header_guard = "GODOT_CPP_GLOBAL_CONSTANTS_HPP" + header.append(f"#ifndef {header_guard}") + header.append(f"#define {header_guard}") + header.append("") + header.append("namespace godot {") + header.append("") + + for constant in api["global_constants"]: + header.append(f'\tconst int {escape_identifier(constant["name"])} = {constant["value"]};') + + header.append("") + + for enum_def in api["global_enums"]: + if enum_def["name"].startswith("Variant."): + continue + + header.append(f'\tenum {enum_def["name"]} {{') + for value in enum_def["values"]: + header.append(f'\t\t{value["name"]} = {value["value"]},') + header.append("\t};") + header.append("") + + header.append("} // namespace godot") + + header.append("") + header.append(f"#endif // ! {header_guard}") + + with header_filename.open("w+") as header_file: + header_file.write("\n".join(header)) + + +def generate_utility_functions(api, output_dir): + include_gen_folder = Path(output_dir) / "include" / "godot_cpp" / "variant" + source_gen_folder = Path(output_dir) / "src" / "variant" + + include_gen_folder.mkdir(parents=True, exist_ok=True) + source_gen_folder.mkdir(parents=True, exist_ok=True) + + # Generate header. + + header = [] + add_header("utility_functions.hpp", header) + + header_filename = include_gen_folder / "utility_functions.hpp" + + header_guard = "GODOT_CPP_UTILITY_FUNCTIONS_HPP" + header.append(f"#ifndef {header_guard}") + header.append(f"#define {header_guard}") + header.append("") + header.append("#include ") + header.append("#include ") + header.append("") + header.append("#include ") + header.append("") + header.append("namespace godot {") + header.append("") + header.append("class UtilityFunctions {") + header.append("public:") + + for function in api["utility_functions"]: + vararg = "is_vararg" in function and function["is_vararg"] + + function_signature = "\t" + if vararg: + function_signature += "private: " + function_signature += "static " + + if "return_type" in function: + if not vararg: + function_signature += f'{correct_type(function["return_type"])} ' + else: + function_signature += "Variant " + else: + function_signature += "void " + + function_signature += f'{escape_identifier(function["name"])}' + + if vararg: + function_signature += "_internal" + + function_signature += "(" + + function_arguments = [] + if "arguments" in function: + function_arguments = function["arguments"] + + if not vararg: + function_signature += make_function_parameters(function_arguments, include_default=False) + else: + function_signature += "const Variant **args, GDNativeInt arg_count" + function_signature += ");" + + header.append(function_signature) + + if vararg: + # Add templated version. + method_signature = "\tpublic: template static " + + if "return_type" in function: + method_signature += correct_type(function["return_type"]) + else: + method_signature += "void" + + if not method_signature.endswith("*"): + method_signature += " " + + method_signature += f'{escape_identifier(function["name"])}' + + method_arguments = [] + if "arguments" in function: + method_arguments = function["arguments"] + + method_signature += "(" + method_signature += make_function_parameters(method_arguments, include_default=True, is_vararg=vararg) + method_signature += ")" + + method_signature += " {" + header.append(method_signature) + + args_array = f"\t\tstd::array variant_args {{ " + for argument in method_arguments: + if argument["type"] == "Variant": + args_array += argument["name"] + else: + args_array += f'Variant({argument["name"]})' + args_array += ", " + + args_array += "Variant(args)... };" + header.append(args_array) + header.append(f"\t\tstd::array call_args;") + header.append("\t\tfor(size_t i = 0; i < variant_args.size(); i++) {") + header.append("\t\t\tcall_args[i] = &variant_args[i];") + header.append("\t\t}") + + call_line = "\t\t" + + if "return_type" in function and function["return_type"] != "void": + call_line += "return " + + call_line += f'{escape_identifier(function["name"])}_internal(call_args.data(), variant_args.size());' + header.append(call_line) + header.append("\t}") + + header.append("};") + header.append("") + header.append("} // namespace godot") + header.append("") + header.append(f"#endif // ! {header_guard}") + + with header_filename.open("w+") as header_file: + header_file.write("\n".join(header)) + + # Generate source. + + source = [] + add_header("utility_functions.cpp", source) + source_filename = source_gen_folder / "utility_functions.cpp" + + source.append("#include ") + source.append("") + source.append("#include ") + source.append("#include ") + source.append("") + source.append("namespace godot {") + source.append("") + + for function in api["utility_functions"]: + vararg = "is_vararg" in function and function["is_vararg"] + + function_signature = "" + if "return_type" in function: + if not vararg: + function_signature += f'{correct_type(function["return_type"])}' + else: + function_signature += "Variant" + else: + function_signature += "void" + + if not function_signature.endswith("*"): + function_signature += " " + + function_signature += f'UtilityFunctions::{escape_identifier(function["name"])}' + if vararg: + function_signature += "_internal" + function_signature += "(" + + function_arguments = [] + if "arguments" in function: + function_arguments = function["arguments"] + + if not vararg: + function_signature += make_function_parameters(function_arguments, include_default=False) + else: + function_signature += "const Variant **args, GDNativeInt arg_count" + function_signature += ") {" + + source.append(function_signature) + + # Function body. + + source.append( + f'\tstatic GDNativePtrUtilityFunction ___function = internal::interface->variant_get_ptr_utility_function("{function["name"]}", {function["hash"]});' + ) + has_return = "return_type" in function and function["return_type"] != "void" + if has_return: + source.append( + f'\tCHECK_METHOD_BIND_RET(___function, {get_default_value_for_type(function["return_type"])});' + ) + else: + source.append(f"\tCHECK_METHOD_BIND(___function);") + + function_call = "\t" + if not vararg: + if has_return: + function_call += "return " + if function["return_type"] == "Object": + function_call += "internal::_call_utility_ret_obj(___function" + else: + function_call += f'internal::_call_utility_ret<{correct_type(function["return_type"])}>(___function' + else: + function_call += "internal::_call_utility_no_ret(___function" + + if "arguments" in function: + function_call += ", " + arguments = [] + for argument in function["arguments"]: + (encode, arg_name) = get_encoded_arg( + argument["name"], + argument["type"], + argument["meta"] if "meta" in argument else None, + ) + source += encode + arguments.append(arg_name) + function_call += ", ".join(arguments) + else: + source.append("\tVariant ret;") + function_call += "___function(&ret, (const GDNativeVariantPtr *)args, arg_count" + + function_call += ");" + source.append(function_call) + + if vararg and has_return: + source.append("\treturn ret;") source.append("}") source.append("") + source.append("} // namespace godot") + with source_filename.open("w+") as source_file: + source_file.write("\n".join(source)) - source.append("}") +# Helper functions. - return "\n".join(source) +def camel_to_snake(name): + name = re.sub("(.)([A-Z][a-z]+)", r"\1_\2", name) + name = re.sub("([a-z0-9])([A-Z])", r"\1_\2", name) + return name.replace("2_D", "2D").replace("3_D", "3D").lower() +def make_function_parameters(parameters, include_default=False, for_builtin=False, is_vararg=False): + signature = [] + for par in parameters: + parameter = type_for_parameter(par["type"], par["meta"] if "meta" in par else None) + parameter += escape_identifier(par["name"]) -def generate_icall_header(icalls): + if include_default and "default_value" in par and (not for_builtin or par["type"] != "Variant"): + parameter += " = " + if is_enum(par["type"]): + parameter += f'({correct_type(par["type"])})' + parameter += correct_default_value(par["default_value"], par["type"]) + signature.append(parameter) - source = [] - source.append("#ifndef GODOT_CPP__ICALLS_HPP") - source.append("#define GODOT_CPP__ICALLS_HPP") + if is_vararg: + signature.append("const Args&... args") - source.append("") + return ", ".join(signature) - source.append("#include ") - source.append("#include ") - source.append("") - source.append("#include ") - source.append("#include ") - source.append("#include \"Object.hpp\"") - source.append("") - source.append("") +def type_for_parameter(type_name, meta=None): + if is_pod_type(type_name) and type_name != "Nil" or is_enum(type_name): + return f"{correct_type(type_name, meta)} " + elif is_variant(type_name) or is_refcounted(type_name): + return f"const {correct_type(type_name)} &" + else: + return f"{correct_type(type_name)}" - source.append("namespace godot {") - source.append("") - for icall in icalls: - ret_type = icall[0] - args = icall[1] +def get_include_path(type_name): + base_dir = "" + if type_name == "Object": + base_dir = "core" + elif is_variant(type_name): + base_dir = "variant" + else: + base_dir = "classes" - method_signature = "static inline " + return f"{base_dir}/{camel_to_snake(type_name)}.hpp" - method_signature += get_icall_return_type(ret_type) + get_icall_name(icall) + "(godot_method_bind *mb, const Object *inst" - for i, arg in enumerate(args): - method_signature += ", const " +def get_encoded_arg(arg_name, type_name, type_meta): + result = [] - if is_core_type(arg): - method_signature += arg + "&" - elif arg == "int": - method_signature += "int64_t " - elif arg == "float": - method_signature += "double " - elif is_primitive(arg): - method_signature += arg + " " - else: - method_signature += "Object *" + name = escape_identifier(arg_name) + arg_type = correct_type(type_name) + if is_pod_type(arg_type): + result.append(f"\t{get_gdnative_type(arg_type)} {name}_encoded;") + result.append(f"\tPtrToArg<{correct_type(type_name, type_meta)}>::encode({name}, &{name}_encoded);") + name = f"&{name}_encoded" + elif is_engine_class(type_name): + name = f"{name}->_owner" + else: + name = f"&{name}" - method_signature += "arg" + str(i) + return (result, name) - method_signature += ")" - source.append(method_signature + " {") +# Engine idiosyncrasies. - if ret_type != "void": - source.append("\t" + ("godot_object *" if is_class_type(ret_type) else get_icall_return_type(ret_type)) + "ret;") - if is_class_type(ret_type): - source.append("\tret = nullptr;") +def is_pod_type(type_name): + """ + Those are types for which no class should be generated. + """ + return type_name in [ + "Nil", + "void", + "int", + "float", + "bool", + ] - source.append("\tconst void *args[" + ("1" if len(args) == 0 else "") + "] = {") - for i, arg in enumerate(args): +def is_enum(type_name): + return type_name.startswith("enum::") - wrapped_argument = "\t\t" - if is_primitive(arg) or is_core_type(arg): - wrapped_argument += "(void *) &arg" + str(i) - else: - wrapped_argument += "(void *) (arg" + str(i) + ") ? arg" + str(i) + "->_owner : nullptr" - wrapped_argument += "," - source.append(wrapped_argument) +def get_enum_class(enum_name: str): + if "." in enum_name: + return enum_name.replace("enum::", "").split(".")[0] + else: + return "GlobalConstants" - source.append("\t};") - source.append("") - source.append("\tgodot::api->godot_method_bind_ptrcall(mb, inst->_owner, args, " + ("nullptr" if ret_type == "void" else "&ret") + ");") +def get_enum_name(enum_name: str): + return enum_name.replace("enum::", "").split(".")[-1] - if ret_type != "void": - if is_class_type(ret_type): - source.append("\tif (ret) {") - source.append("\t\treturn (Object *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, ret);") - source.append("\t}") - source.append("") - source.append("\treturn (Object *) ret;") - else: - source.append("\treturn ret;") - source.append("}") - source.append("") +def is_variant(type_name): + return type_name == "Variant" or type_name in builtin_classes or type_name == "Nil" - source.append("}") - source.append("") - source.append("#endif") +def is_engine_class(type_name): + return type_name in engine_classes - return "\n".join(source) +def is_refcounted(type_name): + return type_name in engine_classes and engine_classes[type_name] -def generate_type_registry(classes): - source = [] - source.append("#include \"TagDB.hpp\"") - source.append("#include ") - source.append("\n") +def is_included(type_name, current_type): + """ + Check if a builtin type should be included. + This removes Variant and POD types from inclusion, and the current type. + """ + to_include = get_enum_class(type_name) if is_enum(type_name) else type_name + return to_include != current_type and not is_pod_type(to_include) - for c in classes: - source.append("#include <" + strip_name(c["name"]) + ".hpp>") - source.append("") - source.append("") - - source.append("namespace godot {") - - source.append("void ___register_types()") - source.append("{") - - for c in classes: - class_name = strip_name(c["name"]) - base_class_name = strip_name(c["base_class"]) - - class_type_hash = "typeid(" + class_name + ").hash_code()" - - base_class_type_hash = "typeid(" + base_class_name + ").hash_code()" - - if base_class_name == "": - base_class_type_hash = "0" - - source.append("\tgodot::_TagDB::register_global_type(\"" + c["name"] + "\", " + class_type_hash + ", " + base_class_type_hash + ");") - - source.append("}") - - source.append("") - source.append("}") - - - return "\n".join(source) - - -def generate_init_method_bindings(classes): - source = [] - - for c in classes: - source.append("#include <" + strip_name(c["name"]) + ".hpp>") - - source.append("") - source.append("") - - source.append("namespace godot {") - - source.append("void ___init_method_bindings()") - source.append("{") - - for c in classes: - source.append("\t" + strip_name(c["name"]) + "::___init_method_bindings();") - - source.append("}") - - source.append("") - source.append("}") - - return "\n".join(source) - - -def get_icall_return_type(t): - if is_class_type(t): - return "Object *" - if t == "int": - return "int64_t " - if t == "float" or t == "real": - return "double " - return t + " " - - -def get_icall_name(sig): - ret_type = sig[0] - args = sig[1] - - name = "___godot_icall_" - name += strip_name(ret_type) - for arg in args: - name += "_" + strip_name(arg) - - return name - - - - - -def get_used_classes(c): - classes = [] - for method in c["methods"]: - if is_class_type(method["return_type"]) and not (method["return_type"] in classes): - classes.append(method["return_type"]) - - for arg in method["arguments"]: - if is_class_type(arg["type"]) and not (arg["type"] in classes): - classes.append(arg["type"]) - return classes - - - - - -def strip_name(name): - if len(name) == 0: - return name - if name[0] == '_': - return name[1:] - return name - -def extract_nested_type(nested_type): - return strip_name(nested_type[:nested_type.find("::")]) - -def remove_nested_type_prefix(name): - return name if name.find("::") == -1 else strip_name(name[name.find("::") + 2:]) - -def remove_enum_prefix(name): - return strip_name(name[name.find("enum.") + 5:]) - -def is_nested_type(name, type = ""): - return name.find(type + "::") != -1 - -def is_enum(name): - return name.find("enum.") == 0 - -def is_class_type(name): - return not is_core_type(name) and not is_primitive(name) - -def is_core_type(name): - core_types = ["Array", - "Basis", - "Color", - "Dictionary", - "Error", - "NodePath", - "Plane", - "PoolByteArray", - "PoolIntArray", - "PoolRealArray", - "PoolStringArray", - "PoolVector2Array", - "PoolVector3Array", - "PoolColorArray", - "PoolIntArray", - "PoolRealArray", - "Quat", - "Rect2", - "AABB", - "RID", - "String", - "Transform", - "Transform2D", - "Variant", - "Vector2", - "Vector3"] - return name in core_types - - - - -def is_primitive(name): - core_types = ["int", "bool", "real", "float", "void"] - return name in core_types - -def escape_cpp(name): - escapes = { - "class": "_class", - "enum": "_enum", - "char": "_char", - "short": "_short", - "bool": "_bool", - "int": "_int", - "default": "_default", - "case": "_case", - "switch": "_switch", - "export": "_export", - "template": "_template", - "new": "new_", - "operator": "_operator", - "typename": "_typename" +def correct_default_value(value, type_name): + value_map = { + "null": "nullptr", + '""': "String()", + '&""': "StringName()", + "[]": "Array()", + "{}": "Dictionary()", + "Transform2D(1, 0, 0, 1, 0, 0)": "Transform2D()", # Default transform. + "Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)": "Transform3D()", # Default transform. } - if name in escapes: - return escapes[name] - return name + if value in value_map: + return value_map[value] + if value == "": + return f"{type_name}()" + return value + + +def correct_type(type_name, meta=None): + type_conversion = {"float": "double", "int": "int64_t", "Nil": "Variant"} + if meta != None: + if "int" in meta: + return f"{meta}_t" + else: + return meta + if type_name in type_conversion: + return type_conversion[type_name] + if is_enum(type_name): + base_class = get_enum_class(type_name) + if base_class == "GlobalConstants": + return f"{get_enum_name(type_name)}" + return f"{base_class}::{get_enum_name(type_name)}" + if is_refcounted(type_name): + return f"Ref<{type_name}>" + if type_name == "Object" or is_engine_class(type_name): + return f"{type_name} *" + return type_name + + +def get_gdnative_type(type_name): + type_conversion_map = { + "bool": "uint32_t", + "int": "int64_t", + "float": "double", + } + + if type_name in type_conversion_map: + return type_conversion_map[type_name] + return type_name + + +def escape_identifier(id): + cpp_keywords_map = { + "class": "_class", + "char": "_char", + "short": "_short", + "bool": "_bool", + "int": "_int", + "default": "_default", + "case": "_case", + "switch": "_switch", + "export": "_export", + "template": "_template", + "new": "new_", + "operator": "_operator", + "typeof": "type_of", + "typename": "type_name", + } + if id in cpp_keywords_map: + return cpp_keywords_map[id] + return id + + +def get_operator_id_name(op): + op_id_map = { + "==": "equal", + "!=": "not_equal", + "<": "less", + "<=": "less_equal", + ">": "greater", + ">=": "greater_equal", + "+": "add", + "-": "subtract", + "*": "multiply", + "/": "divide", + "unary-": "negate", + "unary+": "positive", + "%": "module", + "<<": "shift_left", + ">>": "shift_right", + "&": "bit_and", + "|": "bit_or", + "^": "bit_xor", + "~": "bit_negate", + "and": "and", + "or": "or", + "xor": "xor", + "not": "not", + "and": "and", + "in": "in", + } + return op_id_map[op] + + +def get_default_value_for_type(type_name): + if type_name == "int": + return "0" + if type_name == "float": + return "0.0" + if type_name == "bool": + return "false" + if is_enum(type_name): + return f"{correct_type(type_name)}(0)" + if is_variant(type_name): + return f"{type_name}()" + if is_refcounted(type_name): + return f"Ref<{type_name}>()" + return "nullptr" + + +header = """\ +/*************************************************************************/ +/* $filename */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ +""" + + +def add_header(filename, lines): + desired_length = len(header.split("\n")[0]) + pad_spaces = desired_length - 6 - len(filename) + + for num, line in enumerate(header.split("\n")): + if num == 1: + new_line = f"/* {filename}{' ' * pad_spaces}*/" + lines.append(new_line) + else: + lines.append(line) + + lines.append("// THIS FILE IS GENERATED. EDITS WILL BE LOST.") + lines.append("") diff --git a/godot-headers-temp/README.md b/godot-headers-temp/README.md new file mode 100644 index 00000000..65fa12ea --- /dev/null +++ b/godot-headers-temp/README.md @@ -0,0 +1,4 @@ +# Temporary headers + +The `godot-headers` repository will eventually be updated to latest master but +for now use this hardcoded copy. diff --git a/godot-headers-temp/extension_api.json b/godot-headers-temp/extension_api.json new file mode 100644 index 00000000..42424856 --- /dev/null +++ b/godot-headers-temp/extension_api.json @@ -0,0 +1,205257 @@ +{ + "header": { + "version_major": 4, + "version_minor": 0, + "version_patch": 0, + "version_status": "dev", + "version_build": "custom_build", + "version_full_name": "Godot Engine v4.0.dev.custom_build" + }, + "builtin_class_sizes": [ + { + "build_configuration": "float_32", + "sizes": [ + { + "name": "Nil", + "size": 0 + }, + { + "name": "bool", + "size": 1 + }, + { + "name": "int", + "size": 8 + }, + { + "name": "float", + "size": 8 + }, + { + "name": "String", + "size": 4 + }, + { + "name": "Vector2", + "size": 8 + }, + { + "name": "Vector2i", + "size": 8 + }, + { + "name": "Rect2", + "size": 16 + }, + { + "name": "Rect2i", + "size": 16 + }, + { + "name": "Vector3", + "size": 12 + }, + { + "name": "Vector3i", + "size": 12 + }, + { + "name": "Transform2D", + "size": 24 + }, + { + "name": "Plane", + "size": 16 + }, + { + "name": "Quaternion", + "size": 16 + }, + { + "name": "AABB", + "size": 24 + }, + { + "name": "Basis", + "size": 36 + }, + { + "name": "Transform3D", + "size": 48 + }, + { + "name": "Color", + "size": 16 + }, + { + "name": "StringName", + "size": 4 + }, + { + "name": "NodePath", + "size": 4 + }, + { + "name": "RID", + "size": 8 + }, + { + "name": "Object", + "size": 4 + }, + { + "name": "Callable", + "size": 16 + }, + { + "name": "Signal", + "size": 16 + }, + { + "name": "Dictionary", + "size": 4 + }, + { + "name": "Array", + "size": 4 + }, + { + "name": "PackedByteArray", + "size": 8 + }, + { + "name": "PackedInt32Array", + "size": 8 + }, + { + "name": "PackedInt64Array", + "size": 8 + }, + { + "name": "PackedFloat32Array", + "size": 8 + }, + { + "name": "PackedFloat64Array", + "size": 8 + }, + { + "name": "PackedStringArray", + "size": 8 + }, + { + "name": "PackedVector2Array", + "size": 8 + }, + { + "name": "PackedVector3Array", + "size": 8 + }, + { + "name": "PackedColorArray", + "size": 8 + }, + { + "name": "Variant", + "size": 24 + } + ] + }, + { + "build_configuration": "float_64", + "sizes": [ + { + "name": "Nil", + "size": 0 + }, + { + "name": "bool", + "size": 1 + }, + { + "name": "int", + "size": 8 + }, + { + "name": "float", + "size": 8 + }, + { + "name": "String", + "size": 8 + }, + { + "name": "Vector2", + "size": 8 + }, + { + "name": "Vector2i", + "size": 8 + }, + { + "name": "Rect2", + "size": 16 + }, + { + "name": "Rect2i", + "size": 16 + }, + { + "name": "Vector3", + "size": 12 + }, + { + "name": "Vector3i", + "size": 12 + }, + { + "name": "Transform2D", + "size": 24 + }, + { + "name": "Plane", + "size": 16 + }, + { + "name": "Quaternion", + "size": 16 + }, + { + "name": "AABB", + "size": 24 + }, + { + "name": "Basis", + "size": 36 + }, + { + "name": "Transform3D", + "size": 48 + }, + { + "name": "Color", + "size": 16 + }, + { + "name": "StringName", + "size": 8 + }, + { + "name": "NodePath", + "size": 8 + }, + { + "name": "RID", + "size": 8 + }, + { + "name": "Object", + "size": 8 + }, + { + "name": "Callable", + "size": 16 + }, + { + "name": "Signal", + "size": 16 + }, + { + "name": "Dictionary", + "size": 8 + }, + { + "name": "Array", + "size": 8 + }, + { + "name": "PackedByteArray", + "size": 16 + }, + { + "name": "PackedInt32Array", + "size": 16 + }, + { + "name": "PackedInt64Array", + "size": 16 + }, + { + "name": "PackedFloat32Array", + "size": 16 + }, + { + "name": "PackedFloat64Array", + "size": 16 + }, + { + "name": "PackedStringArray", + "size": 16 + }, + { + "name": "PackedVector2Array", + "size": 16 + }, + { + "name": "PackedVector3Array", + "size": 16 + }, + { + "name": "PackedColorArray", + "size": 16 + }, + { + "name": "Variant", + "size": 24 + } + ] + }, + { + "build_configuration": "double_32", + "sizes": [ + { + "name": "Nil", + "size": 0 + }, + { + "name": "bool", + "size": 1 + }, + { + "name": "int", + "size": 8 + }, + { + "name": "float", + "size": 8 + }, + { + "name": "String", + "size": 4 + }, + { + "name": "Vector2", + "size": 16 + }, + { + "name": "Vector2i", + "size": 8 + }, + { + "name": "Rect2", + "size": 32 + }, + { + "name": "Rect2i", + "size": 16 + }, + { + "name": "Vector3", + "size": 24 + }, + { + "name": "Vector3i", + "size": 12 + }, + { + "name": "Transform2D", + "size": 48 + }, + { + "name": "Plane", + "size": 32 + }, + { + "name": "Quaternion", + "size": 32 + }, + { + "name": "AABB", + "size": 48 + }, + { + "name": "Basis", + "size": 72 + }, + { + "name": "Transform3D", + "size": 96 + }, + { + "name": "Color", + "size": 16 + }, + { + "name": "StringName", + "size": 4 + }, + { + "name": "NodePath", + "size": 4 + }, + { + "name": "RID", + "size": 8 + }, + { + "name": "Object", + "size": 4 + }, + { + "name": "Callable", + "size": 16 + }, + { + "name": "Signal", + "size": 16 + }, + { + "name": "Dictionary", + "size": 4 + }, + { + "name": "Array", + "size": 4 + }, + { + "name": "PackedByteArray", + "size": 8 + }, + { + "name": "PackedInt32Array", + "size": 8 + }, + { + "name": "PackedInt64Array", + "size": 8 + }, + { + "name": "PackedFloat32Array", + "size": 8 + }, + { + "name": "PackedFloat64Array", + "size": 8 + }, + { + "name": "PackedStringArray", + "size": 8 + }, + { + "name": "PackedVector2Array", + "size": 8 + }, + { + "name": "PackedVector3Array", + "size": 8 + }, + { + "name": "PackedColorArray", + "size": 8 + }, + { + "name": "Variant", + "size": 40 + } + ] + }, + { + "build_configuration": "double_64", + "sizes": [ + { + "name": "Nil", + "size": 0 + }, + { + "name": "bool", + "size": 1 + }, + { + "name": "int", + "size": 8 + }, + { + "name": "float", + "size": 8 + }, + { + "name": "String", + "size": 8 + }, + { + "name": "Vector2", + "size": 16 + }, + { + "name": "Vector2i", + "size": 8 + }, + { + "name": "Rect2", + "size": 32 + }, + { + "name": "Rect2i", + "size": 16 + }, + { + "name": "Vector3", + "size": 24 + }, + { + "name": "Vector3i", + "size": 12 + }, + { + "name": "Transform2D", + "size": 48 + }, + { + "name": "Plane", + "size": 32 + }, + { + "name": "Quaternion", + "size": 32 + }, + { + "name": "AABB", + "size": 48 + }, + { + "name": "Basis", + "size": 72 + }, + { + "name": "Transform3D", + "size": 96 + }, + { + "name": "Color", + "size": 16 + }, + { + "name": "StringName", + "size": 8 + }, + { + "name": "NodePath", + "size": 8 + }, + { + "name": "RID", + "size": 8 + }, + { + "name": "Object", + "size": 8 + }, + { + "name": "Callable", + "size": 16 + }, + { + "name": "Signal", + "size": 16 + }, + { + "name": "Dictionary", + "size": 8 + }, + { + "name": "Array", + "size": 8 + }, + { + "name": "PackedByteArray", + "size": 16 + }, + { + "name": "PackedInt32Array", + "size": 16 + }, + { + "name": "PackedInt64Array", + "size": 16 + }, + { + "name": "PackedFloat32Array", + "size": 16 + }, + { + "name": "PackedFloat64Array", + "size": 16 + }, + { + "name": "PackedStringArray", + "size": 16 + }, + { + "name": "PackedVector2Array", + "size": 16 + }, + { + "name": "PackedVector3Array", + "size": 16 + }, + { + "name": "PackedColorArray", + "size": 16 + }, + { + "name": "Variant", + "size": 40 + } + ] + } + ], + "builtin_class_member_offsets": [ + { + "build_configuration": "float_32", + "classes": [ + { + "name": "Vector2", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + } + ] + }, + { + "name": "Vector2i", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + } + ] + }, + { + "name": "Rect2", + "members": [ + { + "member": "position", + "offset": 0 + }, + { + "member": "size", + "offset": 16 + } + ] + }, + { + "name": "Rect2i", + "members": [ + { + "member": "position", + "offset": 0 + }, + { + "member": "size", + "offset": 8 + } + ] + }, + { + "name": "Vector3", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + }, + { + "member": "z", + "offset": 8 + } + ] + }, + { + "name": "Vector3i", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + }, + { + "member": "z", + "offset": 8 + } + ] + }, + { + "name": "Transform2D", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 8 + }, + { + "member": "origin", + "offset": 16 + } + ] + }, + { + "name": "Plane", + "members": [ + { + "member": "normal", + "offset": 0 + }, + { + "member": "d", + "offset": 12 + } + ] + }, + { + "name": "Quaternion", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + }, + { + "member": "z", + "offset": 8 + }, + { + "member": "w", + "offset": 12 + } + ] + }, + { + "name": "AABB", + "members": [ + { + "member": "position", + "offset": 0 + }, + { + "member": "size", + "offset": 12 + } + ] + }, + { + "name": "Basis", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 12 + }, + { + "member": "z", + "offset": 24 + } + ] + }, + { + "name": "Transform3D", + "members": [ + { + "member": "basis", + "offset": 0 + }, + { + "member": "origin", + "offset": 36 + } + ] + }, + { + "name": "Color", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + }, + { + "member": "z", + "offset": 8 + }, + { + "member": "w", + "offset": 12 + } + ] + } + ] + }, + { + "build_configuration": "float_64", + "classes": [ + { + "name": "Vector2", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + } + ] + }, + { + "name": "Vector2i", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + } + ] + }, + { + "name": "Rect2", + "members": [ + { + "member": "position", + "offset": 0 + }, + { + "member": "size", + "offset": 8 + } + ] + }, + { + "name": "Rect2i", + "members": [ + { + "member": "position", + "offset": 0 + }, + { + "member": "size", + "offset": 8 + } + ] + }, + { + "name": "Vector3", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + }, + { + "member": "z", + "offset": 8 + } + ] + }, + { + "name": "Vector3i", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + }, + { + "member": "z", + "offset": 8 + } + ] + }, + { + "name": "Transform2D", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 8 + }, + { + "member": "origin", + "offset": 16 + } + ] + }, + { + "name": "Plane", + "members": [ + { + "member": "normal", + "offset": 0 + }, + { + "member": "d", + "offset": 12 + } + ] + }, + { + "name": "Quaternion", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + }, + { + "member": "z", + "offset": 8 + }, + { + "member": "w", + "offset": 12 + } + ] + }, + { + "name": "AABB", + "members": [ + { + "member": "position", + "offset": 0 + }, + { + "member": "size", + "offset": 12 + } + ] + }, + { + "name": "Basis", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 12 + }, + { + "member": "z", + "offset": 24 + } + ] + }, + { + "name": "Transform3D", + "members": [ + { + "member": "basis", + "offset": 0 + }, + { + "member": "origin", + "offset": 36 + } + ] + }, + { + "name": "Color", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + }, + { + "member": "z", + "offset": 8 + }, + { + "member": "w", + "offset": 12 + } + ] + } + ] + }, + { + "build_configuration": "double_32", + "classes": [ + { + "name": "Vector2", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 8 + } + ] + }, + { + "name": "Vector2i", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + } + ] + }, + { + "name": "Rect2", + "members": [ + { + "member": "position", + "offset": 0 + }, + { + "member": "size", + "offset": 16 + } + ] + }, + { + "name": "Rect2i", + "members": [ + { + "member": "position", + "offset": 0 + }, + { + "member": "size", + "offset": 8 + } + ] + }, + { + "name": "Vector3", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 8 + }, + { + "member": "z", + "offset": 16 + } + ] + }, + { + "name": "Vector3i", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + }, + { + "member": "z", + "offset": 8 + } + ] + }, + { + "name": "Transform2D", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 16 + }, + { + "member": "origin", + "offset": 32 + } + ] + }, + { + "name": "Plane", + "members": [ + { + "member": "normal", + "offset": 0 + }, + { + "member": "d", + "offset": 24 + } + ] + }, + { + "name": "Quaternion", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 8 + }, + { + "member": "z", + "offset": 16 + }, + { + "member": "w", + "offset": 24 + } + ] + }, + { + "name": "AABB", + "members": [ + { + "member": "position", + "offset": 0 + }, + { + "member": "size", + "offset": 24 + } + ] + }, + { + "name": "Basis", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 24 + }, + { + "member": "z", + "offset": 48 + } + ] + }, + { + "name": "Transform3D", + "members": [ + { + "member": "basis", + "offset": 0 + }, + { + "member": "origin", + "offset": 72 + } + ] + }, + { + "name": "Color", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + }, + { + "member": "z", + "offset": 8 + }, + { + "member": "w", + "offset": 12 + } + ] + } + ] + }, + { + "build_configuration": "double_64", + "classes": [ + { + "name": "Vector2", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 8 + } + ] + }, + { + "name": "Vector2i", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + } + ] + }, + { + "name": "Rect2", + "members": [ + { + "member": "position", + "offset": 0 + }, + { + "member": "size", + "offset": 16 + } + ] + }, + { + "name": "Rect2i", + "members": [ + { + "member": "position", + "offset": 0 + }, + { + "member": "size", + "offset": 8 + } + ] + }, + { + "name": "Vector3", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 8 + }, + { + "member": "z", + "offset": 16 + } + ] + }, + { + "name": "Vector3i", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + }, + { + "member": "z", + "offset": 8 + } + ] + }, + { + "name": "Transform2D", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 16 + }, + { + "member": "origin", + "offset": 32 + } + ] + }, + { + "name": "Plane", + "members": [ + { + "member": "normal", + "offset": 0 + }, + { + "member": "d", + "offset": 24 + } + ] + }, + { + "name": "Quaternion", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 8 + }, + { + "member": "z", + "offset": 16 + }, + { + "member": "w", + "offset": 24 + } + ] + }, + { + "name": "AABB", + "members": [ + { + "member": "position", + "offset": 0 + }, + { + "member": "size", + "offset": 24 + } + ] + }, + { + "name": "Basis", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 24 + }, + { + "member": "z", + "offset": 48 + } + ] + }, + { + "name": "Transform3D", + "members": [ + { + "member": "basis", + "offset": 0 + }, + { + "member": "origin", + "offset": 72 + } + ] + }, + { + "name": "Color", + "members": [ + { + "member": "x", + "offset": 0 + }, + { + "member": "y", + "offset": 4 + }, + { + "member": "z", + "offset": 8 + }, + { + "member": "w", + "offset": 12 + } + ] + } + ] + } + ], + "global_constants": [ + { + "name": "SPKEY", + "value": 16777216 + } + ], + "global_enums": [ + { + "name": "ClockDirection", + "values": [ + { + "name": "CLOCKWISE", + "value": 0 + }, + { + "name": "COUNTERCLOCKWISE", + "value": 1 + } + ] + }, + { + "name": "Corner", + "values": [ + { + "name": "CORNER_TOP_LEFT", + "value": 0 + }, + { + "name": "CORNER_TOP_RIGHT", + "value": 1 + }, + { + "name": "CORNER_BOTTOM_RIGHT", + "value": 2 + }, + { + "name": "CORNER_BOTTOM_LEFT", + "value": 3 + } + ] + }, + { + "name": "Error", + "values": [ + { + "name": "OK", + "value": 0 + }, + { + "name": "FAILED", + "value": 1 + }, + { + "name": "ERR_UNAVAILABLE", + "value": 2 + }, + { + "name": "ERR_UNCONFIGURED", + "value": 3 + }, + { + "name": "ERR_UNAUTHORIZED", + "value": 4 + }, + { + "name": "ERR_PARAMETER_RANGE_ERROR", + "value": 5 + }, + { + "name": "ERR_OUT_OF_MEMORY", + "value": 6 + }, + { + "name": "ERR_FILE_NOT_FOUND", + "value": 7 + }, + { + "name": "ERR_FILE_BAD_DRIVE", + "value": 8 + }, + { + "name": "ERR_FILE_BAD_PATH", + "value": 9 + }, + { + "name": "ERR_FILE_NO_PERMISSION", + "value": 10 + }, + { + "name": "ERR_FILE_ALREADY_IN_USE", + "value": 11 + }, + { + "name": "ERR_FILE_CANT_OPEN", + "value": 12 + }, + { + "name": "ERR_FILE_CANT_WRITE", + "value": 13 + }, + { + "name": "ERR_FILE_CANT_READ", + "value": 14 + }, + { + "name": "ERR_FILE_UNRECOGNIZED", + "value": 15 + }, + { + "name": "ERR_FILE_CORRUPT", + "value": 16 + }, + { + "name": "ERR_FILE_MISSING_DEPENDENCIES", + "value": 17 + }, + { + "name": "ERR_FILE_EOF", + "value": 18 + }, + { + "name": "ERR_CANT_OPEN", + "value": 19 + }, + { + "name": "ERR_CANT_CREATE", + "value": 20 + }, + { + "name": "ERR_QUERY_FAILED", + "value": 21 + }, + { + "name": "ERR_ALREADY_IN_USE", + "value": 22 + }, + { + "name": "ERR_LOCKED", + "value": 23 + }, + { + "name": "ERR_TIMEOUT", + "value": 24 + }, + { + "name": "ERR_CANT_CONNECT", + "value": 25 + }, + { + "name": "ERR_CANT_RESOLVE", + "value": 26 + }, + { + "name": "ERR_CONNECTION_ERROR", + "value": 27 + }, + { + "name": "ERR_CANT_ACQUIRE_RESOURCE", + "value": 28 + }, + { + "name": "ERR_CANT_FORK", + "value": 29 + }, + { + "name": "ERR_INVALID_DATA", + "value": 30 + }, + { + "name": "ERR_INVALID_PARAMETER", + "value": 31 + }, + { + "name": "ERR_ALREADY_EXISTS", + "value": 32 + }, + { + "name": "ERR_DOES_NOT_EXIST", + "value": 33 + }, + { + "name": "ERR_DATABASE_CANT_READ", + "value": 34 + }, + { + "name": "ERR_DATABASE_CANT_WRITE", + "value": 35 + }, + { + "name": "ERR_COMPILATION_FAILED", + "value": 36 + }, + { + "name": "ERR_METHOD_NOT_FOUND", + "value": 37 + }, + { + "name": "ERR_LINK_FAILED", + "value": 38 + }, + { + "name": "ERR_SCRIPT_FAILED", + "value": 39 + }, + { + "name": "ERR_CYCLIC_LINK", + "value": 40 + }, + { + "name": "ERR_INVALID_DECLARATION", + "value": 41 + }, + { + "name": "ERR_DUPLICATE_SYMBOL", + "value": 42 + }, + { + "name": "ERR_PARSE_ERROR", + "value": 43 + }, + { + "name": "ERR_BUSY", + "value": 44 + }, + { + "name": "ERR_SKIP", + "value": 45 + }, + { + "name": "ERR_HELP", + "value": 46 + }, + { + "name": "ERR_BUG", + "value": 47 + }, + { + "name": "ERR_PRINTER_ON_FIRE", + "value": 48 + } + ] + }, + { + "name": "HAlign", + "values": [ + { + "name": "HALIGN_LEFT", + "value": 0 + }, + { + "name": "HALIGN_CENTER", + "value": 1 + }, + { + "name": "HALIGN_RIGHT", + "value": 2 + }, + { + "name": "HALIGN_FILL", + "value": 3 + } + ] + }, + { + "name": "JoyAxis", + "values": [ + { + "name": "JOY_AXIS_INVALID", + "value": -1 + }, + { + "name": "JOY_AXIS_LEFT_X", + "value": 0 + }, + { + "name": "JOY_AXIS_LEFT_Y", + "value": 1 + }, + { + "name": "JOY_AXIS_RIGHT_X", + "value": 2 + }, + { + "name": "JOY_AXIS_RIGHT_Y", + "value": 3 + }, + { + "name": "JOY_AXIS_TRIGGER_LEFT", + "value": 4 + }, + { + "name": "JOY_AXIS_TRIGGER_RIGHT", + "value": 5 + }, + { + "name": "JOY_AXIS_SDL_MAX", + "value": 6 + }, + { + "name": "JOY_AXIS_MAX", + "value": 10 + } + ] + }, + { + "name": "JoyButton", + "values": [ + { + "name": "JOY_BUTTON_INVALID", + "value": -1 + }, + { + "name": "JOY_BUTTON_A", + "value": 0 + }, + { + "name": "JOY_BUTTON_B", + "value": 1 + }, + { + "name": "JOY_BUTTON_X", + "value": 2 + }, + { + "name": "JOY_BUTTON_Y", + "value": 3 + }, + { + "name": "JOY_BUTTON_BACK", + "value": 4 + }, + { + "name": "JOY_BUTTON_GUIDE", + "value": 5 + }, + { + "name": "JOY_BUTTON_START", + "value": 6 + }, + { + "name": "JOY_BUTTON_LEFT_STICK", + "value": 7 + }, + { + "name": "JOY_BUTTON_RIGHT_STICK", + "value": 8 + }, + { + "name": "JOY_BUTTON_LEFT_SHOULDER", + "value": 9 + }, + { + "name": "JOY_BUTTON_RIGHT_SHOULDER", + "value": 10 + }, + { + "name": "JOY_BUTTON_DPAD_UP", + "value": 11 + }, + { + "name": "JOY_BUTTON_DPAD_DOWN", + "value": 12 + }, + { + "name": "JOY_BUTTON_DPAD_LEFT", + "value": 13 + }, + { + "name": "JOY_BUTTON_DPAD_RIGHT", + "value": 14 + }, + { + "name": "JOY_BUTTON_MISC1", + "value": 15 + }, + { + "name": "JOY_BUTTON_PADDLE1", + "value": 16 + }, + { + "name": "JOY_BUTTON_PADDLE2", + "value": 17 + }, + { + "name": "JOY_BUTTON_PADDLE3", + "value": 18 + }, + { + "name": "JOY_BUTTON_PADDLE4", + "value": 19 + }, + { + "name": "JOY_BUTTON_TOUCHPAD", + "value": 20 + }, + { + "name": "JOY_BUTTON_SDL_MAX", + "value": 21 + }, + { + "name": "JOY_BUTTON_MAX", + "value": 36 + } + ] + }, + { + "name": "Key", + "values": [ + { + "name": "KEY_ESCAPE", + "value": 16777217 + }, + { + "name": "KEY_TAB", + "value": 16777218 + }, + { + "name": "KEY_BACKTAB", + "value": 16777219 + }, + { + "name": "KEY_BACKSPACE", + "value": 16777220 + }, + { + "name": "KEY_ENTER", + "value": 16777221 + }, + { + "name": "KEY_KP_ENTER", + "value": 16777222 + }, + { + "name": "KEY_INSERT", + "value": 16777223 + }, + { + "name": "KEY_DELETE", + "value": 16777224 + }, + { + "name": "KEY_PAUSE", + "value": 16777225 + }, + { + "name": "KEY_PRINT", + "value": 16777226 + }, + { + "name": "KEY_SYSREQ", + "value": 16777227 + }, + { + "name": "KEY_CLEAR", + "value": 16777228 + }, + { + "name": "KEY_HOME", + "value": 16777229 + }, + { + "name": "KEY_END", + "value": 16777230 + }, + { + "name": "KEY_LEFT", + "value": 16777231 + }, + { + "name": "KEY_UP", + "value": 16777232 + }, + { + "name": "KEY_RIGHT", + "value": 16777233 + }, + { + "name": "KEY_DOWN", + "value": 16777234 + }, + { + "name": "KEY_PAGEUP", + "value": 16777235 + }, + { + "name": "KEY_PAGEDOWN", + "value": 16777236 + }, + { + "name": "KEY_SHIFT", + "value": 16777237 + }, + { + "name": "KEY_CTRL", + "value": 16777238 + }, + { + "name": "KEY_META", + "value": 16777239 + }, + { + "name": "KEY_ALT", + "value": 16777240 + }, + { + "name": "KEY_CAPSLOCK", + "value": 16777241 + }, + { + "name": "KEY_NUMLOCK", + "value": 16777242 + }, + { + "name": "KEY_SCROLLLOCK", + "value": 16777243 + }, + { + "name": "KEY_F1", + "value": 16777244 + }, + { + "name": "KEY_F2", + "value": 16777245 + }, + { + "name": "KEY_F3", + "value": 16777246 + }, + { + "name": "KEY_F4", + "value": 16777247 + }, + { + "name": "KEY_F5", + "value": 16777248 + }, + { + "name": "KEY_F6", + "value": 16777249 + }, + { + "name": "KEY_F7", + "value": 16777250 + }, + { + "name": "KEY_F8", + "value": 16777251 + }, + { + "name": "KEY_F9", + "value": 16777252 + }, + { + "name": "KEY_F10", + "value": 16777253 + }, + { + "name": "KEY_F11", + "value": 16777254 + }, + { + "name": "KEY_F12", + "value": 16777255 + }, + { + "name": "KEY_F13", + "value": 16777256 + }, + { + "name": "KEY_F14", + "value": 16777257 + }, + { + "name": "KEY_F15", + "value": 16777258 + }, + { + "name": "KEY_F16", + "value": 16777259 + }, + { + "name": "KEY_KP_MULTIPLY", + "value": 16777345 + }, + { + "name": "KEY_KP_DIVIDE", + "value": 16777346 + }, + { + "name": "KEY_KP_SUBTRACT", + "value": 16777347 + }, + { + "name": "KEY_KP_PERIOD", + "value": 16777348 + }, + { + "name": "KEY_KP_ADD", + "value": 16777349 + }, + { + "name": "KEY_KP_0", + "value": 16777350 + }, + { + "name": "KEY_KP_1", + "value": 16777351 + }, + { + "name": "KEY_KP_2", + "value": 16777352 + }, + { + "name": "KEY_KP_3", + "value": 16777353 + }, + { + "name": "KEY_KP_4", + "value": 16777354 + }, + { + "name": "KEY_KP_5", + "value": 16777355 + }, + { + "name": "KEY_KP_6", + "value": 16777356 + }, + { + "name": "KEY_KP_7", + "value": 16777357 + }, + { + "name": "KEY_KP_8", + "value": 16777358 + }, + { + "name": "KEY_KP_9", + "value": 16777359 + }, + { + "name": "KEY_SUPER_L", + "value": 16777260 + }, + { + "name": "KEY_SUPER_R", + "value": 16777261 + }, + { + "name": "KEY_MENU", + "value": 16777262 + }, + { + "name": "KEY_HYPER_L", + "value": 16777263 + }, + { + "name": "KEY_HYPER_R", + "value": 16777264 + }, + { + "name": "KEY_HELP", + "value": 16777265 + }, + { + "name": "KEY_DIRECTION_L", + "value": 16777266 + }, + { + "name": "KEY_DIRECTION_R", + "value": 16777267 + }, + { + "name": "KEY_BACK", + "value": 16777280 + }, + { + "name": "KEY_FORWARD", + "value": 16777281 + }, + { + "name": "KEY_STOP", + "value": 16777282 + }, + { + "name": "KEY_REFRESH", + "value": 16777283 + }, + { + "name": "KEY_VOLUMEDOWN", + "value": 16777284 + }, + { + "name": "KEY_VOLUMEMUTE", + "value": 16777285 + }, + { + "name": "KEY_VOLUMEUP", + "value": 16777286 + }, + { + "name": "KEY_BASSBOOST", + "value": 16777287 + }, + { + "name": "KEY_BASSUP", + "value": 16777288 + }, + { + "name": "KEY_BASSDOWN", + "value": 16777289 + }, + { + "name": "KEY_TREBLEUP", + "value": 16777290 + }, + { + "name": "KEY_TREBLEDOWN", + "value": 16777291 + }, + { + "name": "KEY_MEDIAPLAY", + "value": 16777292 + }, + { + "name": "KEY_MEDIASTOP", + "value": 16777293 + }, + { + "name": "KEY_MEDIAPREVIOUS", + "value": 16777294 + }, + { + "name": "KEY_MEDIANEXT", + "value": 16777295 + }, + { + "name": "KEY_MEDIARECORD", + "value": 16777296 + }, + { + "name": "KEY_HOMEPAGE", + "value": 16777297 + }, + { + "name": "KEY_FAVORITES", + "value": 16777298 + }, + { + "name": "KEY_SEARCH", + "value": 16777299 + }, + { + "name": "KEY_STANDBY", + "value": 16777300 + }, + { + "name": "KEY_OPENURL", + "value": 16777301 + }, + { + "name": "KEY_LAUNCHMAIL", + "value": 16777302 + }, + { + "name": "KEY_LAUNCHMEDIA", + "value": 16777303 + }, + { + "name": "KEY_LAUNCH0", + "value": 16777304 + }, + { + "name": "KEY_LAUNCH1", + "value": 16777305 + }, + { + "name": "KEY_LAUNCH2", + "value": 16777306 + }, + { + "name": "KEY_LAUNCH3", + "value": 16777307 + }, + { + "name": "KEY_LAUNCH4", + "value": 16777308 + }, + { + "name": "KEY_LAUNCH5", + "value": 16777309 + }, + { + "name": "KEY_LAUNCH6", + "value": 16777310 + }, + { + "name": "KEY_LAUNCH7", + "value": 16777311 + }, + { + "name": "KEY_LAUNCH8", + "value": 16777312 + }, + { + "name": "KEY_LAUNCH9", + "value": 16777313 + }, + { + "name": "KEY_LAUNCHA", + "value": 16777314 + }, + { + "name": "KEY_LAUNCHB", + "value": 16777315 + }, + { + "name": "KEY_LAUNCHC", + "value": 16777316 + }, + { + "name": "KEY_LAUNCHD", + "value": 16777317 + }, + { + "name": "KEY_LAUNCHE", + "value": 16777318 + }, + { + "name": "KEY_LAUNCHF", + "value": 16777319 + }, + { + "name": "KEY_UNKNOWN", + "value": 33554431 + }, + { + "name": "KEY_SPACE", + "value": 32 + }, + { + "name": "KEY_EXCLAM", + "value": 33 + }, + { + "name": "KEY_QUOTEDBL", + "value": 34 + }, + { + "name": "KEY_NUMBERSIGN", + "value": 35 + }, + { + "name": "KEY_DOLLAR", + "value": 36 + }, + { + "name": "KEY_PERCENT", + "value": 37 + }, + { + "name": "KEY_AMPERSAND", + "value": 38 + }, + { + "name": "KEY_APOSTROPHE", + "value": 39 + }, + { + "name": "KEY_PARENLEFT", + "value": 40 + }, + { + "name": "KEY_PARENRIGHT", + "value": 41 + }, + { + "name": "KEY_ASTERISK", + "value": 42 + }, + { + "name": "KEY_PLUS", + "value": 43 + }, + { + "name": "KEY_COMMA", + "value": 44 + }, + { + "name": "KEY_MINUS", + "value": 45 + }, + { + "name": "KEY_PERIOD", + "value": 46 + }, + { + "name": "KEY_SLASH", + "value": 47 + }, + { + "name": "KEY_0", + "value": 48 + }, + { + "name": "KEY_1", + "value": 49 + }, + { + "name": "KEY_2", + "value": 50 + }, + { + "name": "KEY_3", + "value": 51 + }, + { + "name": "KEY_4", + "value": 52 + }, + { + "name": "KEY_5", + "value": 53 + }, + { + "name": "KEY_6", + "value": 54 + }, + { + "name": "KEY_7", + "value": 55 + }, + { + "name": "KEY_8", + "value": 56 + }, + { + "name": "KEY_9", + "value": 57 + }, + { + "name": "KEY_COLON", + "value": 58 + }, + { + "name": "KEY_SEMICOLON", + "value": 59 + }, + { + "name": "KEY_LESS", + "value": 60 + }, + { + "name": "KEY_EQUAL", + "value": 61 + }, + { + "name": "KEY_GREATER", + "value": 62 + }, + { + "name": "KEY_QUESTION", + "value": 63 + }, + { + "name": "KEY_AT", + "value": 64 + }, + { + "name": "KEY_A", + "value": 65 + }, + { + "name": "KEY_B", + "value": 66 + }, + { + "name": "KEY_C", + "value": 67 + }, + { + "name": "KEY_D", + "value": 68 + }, + { + "name": "KEY_E", + "value": 69 + }, + { + "name": "KEY_F", + "value": 70 + }, + { + "name": "KEY_G", + "value": 71 + }, + { + "name": "KEY_H", + "value": 72 + }, + { + "name": "KEY_I", + "value": 73 + }, + { + "name": "KEY_J", + "value": 74 + }, + { + "name": "KEY_K", + "value": 75 + }, + { + "name": "KEY_L", + "value": 76 + }, + { + "name": "KEY_M", + "value": 77 + }, + { + "name": "KEY_N", + "value": 78 + }, + { + "name": "KEY_O", + "value": 79 + }, + { + "name": "KEY_P", + "value": 80 + }, + { + "name": "KEY_Q", + "value": 81 + }, + { + "name": "KEY_R", + "value": 82 + }, + { + "name": "KEY_S", + "value": 83 + }, + { + "name": "KEY_T", + "value": 84 + }, + { + "name": "KEY_U", + "value": 85 + }, + { + "name": "KEY_V", + "value": 86 + }, + { + "name": "KEY_W", + "value": 87 + }, + { + "name": "KEY_X", + "value": 88 + }, + { + "name": "KEY_Y", + "value": 89 + }, + { + "name": "KEY_Z", + "value": 90 + }, + { + "name": "KEY_BRACKETLEFT", + "value": 91 + }, + { + "name": "KEY_BACKSLASH", + "value": 92 + }, + { + "name": "KEY_BRACKETRIGHT", + "value": 93 + }, + { + "name": "KEY_ASCIICIRCUM", + "value": 94 + }, + { + "name": "KEY_UNDERSCORE", + "value": 95 + }, + { + "name": "KEY_QUOTELEFT", + "value": 96 + }, + { + "name": "KEY_BRACELEFT", + "value": 123 + }, + { + "name": "KEY_BAR", + "value": 124 + }, + { + "name": "KEY_BRACERIGHT", + "value": 125 + }, + { + "name": "KEY_ASCIITILDE", + "value": 126 + }, + { + "name": "KEY_NOBREAKSPACE", + "value": 160 + }, + { + "name": "KEY_EXCLAMDOWN", + "value": 161 + }, + { + "name": "KEY_CENT", + "value": 162 + }, + { + "name": "KEY_STERLING", + "value": 163 + }, + { + "name": "KEY_CURRENCY", + "value": 164 + }, + { + "name": "KEY_YEN", + "value": 165 + }, + { + "name": "KEY_BROKENBAR", + "value": 166 + }, + { + "name": "KEY_SECTION", + "value": 167 + }, + { + "name": "KEY_DIAERESIS", + "value": 168 + }, + { + "name": "KEY_COPYRIGHT", + "value": 169 + }, + { + "name": "KEY_ORDFEMININE", + "value": 170 + }, + { + "name": "KEY_GUILLEMOTLEFT", + "value": 171 + }, + { + "name": "KEY_NOTSIGN", + "value": 172 + }, + { + "name": "KEY_HYPHEN", + "value": 173 + }, + { + "name": "KEY_REGISTERED", + "value": 174 + }, + { + "name": "KEY_MACRON", + "value": 175 + }, + { + "name": "KEY_DEGREE", + "value": 176 + }, + { + "name": "KEY_PLUSMINUS", + "value": 177 + }, + { + "name": "KEY_TWOSUPERIOR", + "value": 178 + }, + { + "name": "KEY_THREESUPERIOR", + "value": 179 + }, + { + "name": "KEY_ACUTE", + "value": 180 + }, + { + "name": "KEY_MU", + "value": 181 + }, + { + "name": "KEY_PARAGRAPH", + "value": 182 + }, + { + "name": "KEY_PERIODCENTERED", + "value": 183 + }, + { + "name": "KEY_CEDILLA", + "value": 184 + }, + { + "name": "KEY_ONESUPERIOR", + "value": 185 + }, + { + "name": "KEY_MASCULINE", + "value": 186 + }, + { + "name": "KEY_GUILLEMOTRIGHT", + "value": 187 + }, + { + "name": "KEY_ONEQUARTER", + "value": 188 + }, + { + "name": "KEY_ONEHALF", + "value": 189 + }, + { + "name": "KEY_THREEQUARTERS", + "value": 190 + }, + { + "name": "KEY_QUESTIONDOWN", + "value": 191 + }, + { + "name": "KEY_AGRAVE", + "value": 192 + }, + { + "name": "KEY_AACUTE", + "value": 193 + }, + { + "name": "KEY_ACIRCUMFLEX", + "value": 194 + }, + { + "name": "KEY_ATILDE", + "value": 195 + }, + { + "name": "KEY_ADIAERESIS", + "value": 196 + }, + { + "name": "KEY_ARING", + "value": 197 + }, + { + "name": "KEY_AE", + "value": 198 + }, + { + "name": "KEY_CCEDILLA", + "value": 199 + }, + { + "name": "KEY_EGRAVE", + "value": 200 + }, + { + "name": "KEY_EACUTE", + "value": 201 + }, + { + "name": "KEY_ECIRCUMFLEX", + "value": 202 + }, + { + "name": "KEY_EDIAERESIS", + "value": 203 + }, + { + "name": "KEY_IGRAVE", + "value": 204 + }, + { + "name": "KEY_IACUTE", + "value": 205 + }, + { + "name": "KEY_ICIRCUMFLEX", + "value": 206 + }, + { + "name": "KEY_IDIAERESIS", + "value": 207 + }, + { + "name": "KEY_ETH", + "value": 208 + }, + { + "name": "KEY_NTILDE", + "value": 209 + }, + { + "name": "KEY_OGRAVE", + "value": 210 + }, + { + "name": "KEY_OACUTE", + "value": 211 + }, + { + "name": "KEY_OCIRCUMFLEX", + "value": 212 + }, + { + "name": "KEY_OTILDE", + "value": 213 + }, + { + "name": "KEY_ODIAERESIS", + "value": 214 + }, + { + "name": "KEY_MULTIPLY", + "value": 215 + }, + { + "name": "KEY_OOBLIQUE", + "value": 216 + }, + { + "name": "KEY_UGRAVE", + "value": 217 + }, + { + "name": "KEY_UACUTE", + "value": 218 + }, + { + "name": "KEY_UCIRCUMFLEX", + "value": 219 + }, + { + "name": "KEY_UDIAERESIS", + "value": 220 + }, + { + "name": "KEY_YACUTE", + "value": 221 + }, + { + "name": "KEY_THORN", + "value": 222 + }, + { + "name": "KEY_SSHARP", + "value": 223 + }, + { + "name": "KEY_DIVISION", + "value": 247 + }, + { + "name": "KEY_YDIAERESIS", + "value": 255 + } + ] + }, + { + "name": "KeyModifierMask", + "values": [ + { + "name": "KEY_CODE_MASK", + "value": 33554431 + }, + { + "name": "KEY_MODIFIER_MASK", + "value": -16777216 + }, + { + "name": "KEY_MASK_SHIFT", + "value": 33554432 + }, + { + "name": "KEY_MASK_ALT", + "value": 67108864 + }, + { + "name": "KEY_MASK_META", + "value": 134217728 + }, + { + "name": "KEY_MASK_CTRL", + "value": 268435456 + }, + { + "name": "KEY_MASK_CMD", + "value": 268435456 + }, + { + "name": "KEY_MASK_KPAD", + "value": 536870912 + }, + { + "name": "KEY_MASK_GROUP_SWITCH", + "value": 1073741824 + } + ] + }, + { + "name": "MIDIMessage", + "values": [ + { + "name": "MIDI_MESSAGE_NOTE_OFF", + "value": 8 + }, + { + "name": "MIDI_MESSAGE_NOTE_ON", + "value": 9 + }, + { + "name": "MIDI_MESSAGE_AFTERTOUCH", + "value": 10 + }, + { + "name": "MIDI_MESSAGE_CONTROL_CHANGE", + "value": 11 + }, + { + "name": "MIDI_MESSAGE_PROGRAM_CHANGE", + "value": 12 + }, + { + "name": "MIDI_MESSAGE_CHANNEL_PRESSURE", + "value": 13 + }, + { + "name": "MIDI_MESSAGE_PITCH_BEND", + "value": 14 + } + ] + }, + { + "name": "MethodFlags", + "values": [ + { + "name": "METHOD_FLAG_NORMAL", + "value": 1 + }, + { + "name": "METHOD_FLAG_EDITOR", + "value": 2 + }, + { + "name": "METHOD_FLAG_NOSCRIPT", + "value": 4 + }, + { + "name": "METHOD_FLAG_CONST", + "value": 8 + }, + { + "name": "METHOD_FLAG_REVERSE", + "value": 16 + }, + { + "name": "METHOD_FLAG_VIRTUAL", + "value": 32 + }, + { + "name": "METHOD_FLAG_FROM_SCRIPT", + "value": 64 + }, + { + "name": "METHOD_FLAG_STATIC", + "value": 256 + }, + { + "name": "METHOD_FLAGS_DEFAULT", + "value": 1 + } + ] + }, + { + "name": "MouseButton", + "values": [ + { + "name": "MOUSE_BUTTON_LEFT", + "value": 1 + }, + { + "name": "MOUSE_BUTTON_RIGHT", + "value": 2 + }, + { + "name": "MOUSE_BUTTON_MIDDLE", + "value": 3 + }, + { + "name": "MOUSE_BUTTON_XBUTTON1", + "value": 8 + }, + { + "name": "MOUSE_BUTTON_XBUTTON2", + "value": 9 + }, + { + "name": "MOUSE_BUTTON_WHEEL_UP", + "value": 4 + }, + { + "name": "MOUSE_BUTTON_WHEEL_DOWN", + "value": 5 + }, + { + "name": "MOUSE_BUTTON_WHEEL_LEFT", + "value": 6 + }, + { + "name": "MOUSE_BUTTON_WHEEL_RIGHT", + "value": 7 + }, + { + "name": "MOUSE_BUTTON_MASK_LEFT", + "value": 1 + }, + { + "name": "MOUSE_BUTTON_MASK_RIGHT", + "value": 2 + }, + { + "name": "MOUSE_BUTTON_MASK_MIDDLE", + "value": 4 + }, + { + "name": "MOUSE_BUTTON_MASK_XBUTTON1", + "value": 128 + }, + { + "name": "MOUSE_BUTTON_MASK_XBUTTON2", + "value": 256 + } + ] + }, + { + "name": "Orientation", + "values": [ + { + "name": "VERTICAL", + "value": 1 + }, + { + "name": "HORIZONTAL", + "value": 0 + } + ] + }, + { + "name": "PropertyHint", + "values": [ + { + "name": "PROPERTY_HINT_NONE", + "value": 0 + }, + { + "name": "PROPERTY_HINT_RANGE", + "value": 1 + }, + { + "name": "PROPERTY_HINT_ENUM", + "value": 2 + }, + { + "name": "PROPERTY_HINT_ENUM_SUGGESTION", + "value": 3 + }, + { + "name": "PROPERTY_HINT_EXP_EASING", + "value": 4 + }, + { + "name": "PROPERTY_HINT_LENGTH", + "value": 5 + }, + { + "name": "PROPERTY_HINT_KEY_ACCEL", + "value": 6 + }, + { + "name": "PROPERTY_HINT_FLAGS", + "value": 7 + }, + { + "name": "PROPERTY_HINT_LAYERS_2D_RENDER", + "value": 8 + }, + { + "name": "PROPERTY_HINT_LAYERS_2D_PHYSICS", + "value": 9 + }, + { + "name": "PROPERTY_HINT_LAYERS_2D_NAVIGATION", + "value": 10 + }, + { + "name": "PROPERTY_HINT_LAYERS_3D_RENDER", + "value": 11 + }, + { + "name": "PROPERTY_HINT_LAYERS_3D_PHYSICS", + "value": 12 + }, + { + "name": "PROPERTY_HINT_LAYERS_3D_NAVIGATION", + "value": 13 + }, + { + "name": "PROPERTY_HINT_FILE", + "value": 14 + }, + { + "name": "PROPERTY_HINT_DIR", + "value": 15 + }, + { + "name": "PROPERTY_HINT_GLOBAL_FILE", + "value": 16 + }, + { + "name": "PROPERTY_HINT_GLOBAL_DIR", + "value": 17 + }, + { + "name": "PROPERTY_HINT_RESOURCE_TYPE", + "value": 18 + }, + { + "name": "PROPERTY_HINT_MULTILINE_TEXT", + "value": 19 + }, + { + "name": "PROPERTY_HINT_PLACEHOLDER_TEXT", + "value": 20 + }, + { + "name": "PROPERTY_HINT_COLOR_NO_ALPHA", + "value": 21 + }, + { + "name": "PROPERTY_HINT_IMAGE_COMPRESS_LOSSY", + "value": 22 + }, + { + "name": "PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS", + "value": 23 + }, + { + "name": "PROPERTY_HINT_OBJECT_ID", + "value": 24 + }, + { + "name": "PROPERTY_HINT_TYPE_STRING", + "value": 25 + }, + { + "name": "PROPERTY_HINT_NODE_PATH_TO_EDITED_NODE", + "value": 26 + }, + { + "name": "PROPERTY_HINT_METHOD_OF_VARIANT_TYPE", + "value": 27 + }, + { + "name": "PROPERTY_HINT_METHOD_OF_BASE_TYPE", + "value": 28 + }, + { + "name": "PROPERTY_HINT_METHOD_OF_INSTANCE", + "value": 29 + }, + { + "name": "PROPERTY_HINT_METHOD_OF_SCRIPT", + "value": 30 + }, + { + "name": "PROPERTY_HINT_PROPERTY_OF_VARIANT_TYPE", + "value": 31 + }, + { + "name": "PROPERTY_HINT_PROPERTY_OF_BASE_TYPE", + "value": 32 + }, + { + "name": "PROPERTY_HINT_PROPERTY_OF_INSTANCE", + "value": 33 + }, + { + "name": "PROPERTY_HINT_PROPERTY_OF_SCRIPT", + "value": 34 + }, + { + "name": "PROPERTY_HINT_OBJECT_TOO_BIG", + "value": 35 + }, + { + "name": "PROPERTY_HINT_NODE_PATH_VALID_TYPES", + "value": 36 + }, + { + "name": "PROPERTY_HINT_SAVE_FILE", + "value": 37 + }, + { + "name": "PROPERTY_HINT_INT_IS_OBJECTID", + "value": 38 + }, + { + "name": "PROPERTY_HINT_ARRAY_TYPE", + "value": 39 + }, + { + "name": "PROPERTY_HINT_MAX", + "value": 40 + } + ] + }, + { + "name": "PropertyUsageFlags", + "values": [ + { + "name": "PROPERTY_USAGE_NONE", + "value": 0 + }, + { + "name": "PROPERTY_USAGE_STORAGE", + "value": 1 + }, + { + "name": "PROPERTY_USAGE_EDITOR", + "value": 2 + }, + { + "name": "PROPERTY_USAGE_NETWORK", + "value": 4 + }, + { + "name": "PROPERTY_USAGE_EDITOR_HELPER", + "value": 8 + }, + { + "name": "PROPERTY_USAGE_CHECKABLE", + "value": 16 + }, + { + "name": "PROPERTY_USAGE_CHECKED", + "value": 32 + }, + { + "name": "PROPERTY_USAGE_INTERNATIONALIZED", + "value": 64 + }, + { + "name": "PROPERTY_USAGE_GROUP", + "value": 128 + }, + { + "name": "PROPERTY_USAGE_CATEGORY", + "value": 256 + }, + { + "name": "PROPERTY_USAGE_SUBGROUP", + "value": 512 + }, + { + "name": "PROPERTY_USAGE_NO_INSTANCE_STATE", + "value": 2048 + }, + { + "name": "PROPERTY_USAGE_RESTART_IF_CHANGED", + "value": 4096 + }, + { + "name": "PROPERTY_USAGE_SCRIPT_VARIABLE", + "value": 8192 + }, + { + "name": "PROPERTY_USAGE_STORE_IF_NULL", + "value": 16384 + }, + { + "name": "PROPERTY_USAGE_ANIMATE_AS_TRIGGER", + "value": 32768 + }, + { + "name": "PROPERTY_USAGE_UPDATE_ALL_IF_MODIFIED", + "value": 65536 + }, + { + "name": "PROPERTY_USAGE_SCRIPT_DEFAULT_VALUE", + "value": 131072 + }, + { + "name": "PROPERTY_USAGE_CLASS_IS_ENUM", + "value": 262144 + }, + { + "name": "PROPERTY_USAGE_NIL_IS_VARIANT", + "value": 524288 + }, + { + "name": "PROPERTY_USAGE_INTERNAL", + "value": 1048576 + }, + { + "name": "PROPERTY_USAGE_DO_NOT_SHARE_ON_DUPLICATE", + "value": 2097152 + }, + { + "name": "PROPERTY_USAGE_HIGH_END_GFX", + "value": 4194304 + }, + { + "name": "PROPERTY_USAGE_NODE_PATH_FROM_SCENE_ROOT", + "value": 8388608 + }, + { + "name": "PROPERTY_USAGE_RESOURCE_NOT_PERSISTENT", + "value": 16777216 + }, + { + "name": "PROPERTY_USAGE_KEYING_INCREMENTS", + "value": 33554432 + }, + { + "name": "PROPERTY_USAGE_DEFERRED_SET_RESOURCE", + "value": 67108864 + }, + { + "name": "PROPERTY_USAGE_EDITOR_INSTANTIATE_OBJECT", + "value": 134217728 + }, + { + "name": "PROPERTY_USAGE_EDITOR_BASIC_SETTING", + "value": 268435456 + }, + { + "name": "PROPERTY_USAGE_DEFAULT", + "value": 7 + }, + { + "name": "PROPERTY_USAGE_DEFAULT_INTL", + "value": 71 + }, + { + "name": "PROPERTY_USAGE_NOEDITOR", + "value": 5 + } + ] + }, + { + "name": "Side", + "values": [ + { + "name": "SIDE_LEFT", + "value": 0 + }, + { + "name": "SIDE_TOP", + "value": 1 + }, + { + "name": "SIDE_RIGHT", + "value": 2 + }, + { + "name": "SIDE_BOTTOM", + "value": 3 + } + ] + }, + { + "name": "VAlign", + "values": [ + { + "name": "VALIGN_TOP", + "value": 0 + }, + { + "name": "VALIGN_CENTER", + "value": 1 + }, + { + "name": "VALIGN_BOTTOM", + "value": 2 + } + ] + }, + { + "name": "Variant.Operator", + "values": [ + { + "name": "OP_EQUAL", + "value": 0 + }, + { + "name": "OP_NOT_EQUAL", + "value": 1 + }, + { + "name": "OP_LESS", + "value": 2 + }, + { + "name": "OP_LESS_EQUAL", + "value": 3 + }, + { + "name": "OP_GREATER", + "value": 4 + }, + { + "name": "OP_GREATER_EQUAL", + "value": 5 + }, + { + "name": "OP_ADD", + "value": 6 + }, + { + "name": "OP_SUBTRACT", + "value": 7 + }, + { + "name": "OP_MULTIPLY", + "value": 8 + }, + { + "name": "OP_DIVIDE", + "value": 9 + }, + { + "name": "OP_NEGATE", + "value": 10 + }, + { + "name": "OP_POSITIVE", + "value": 11 + }, + { + "name": "OP_MODULE", + "value": 12 + }, + { + "name": "OP_SHIFT_LEFT", + "value": 13 + }, + { + "name": "OP_SHIFT_RIGHT", + "value": 14 + }, + { + "name": "OP_BIT_AND", + "value": 15 + }, + { + "name": "OP_BIT_OR", + "value": 16 + }, + { + "name": "OP_BIT_XOR", + "value": 17 + }, + { + "name": "OP_BIT_NEGATE", + "value": 18 + }, + { + "name": "OP_AND", + "value": 19 + }, + { + "name": "OP_OR", + "value": 20 + }, + { + "name": "OP_XOR", + "value": 21 + }, + { + "name": "OP_NOT", + "value": 22 + }, + { + "name": "OP_IN", + "value": 23 + }, + { + "name": "OP_MAX", + "value": 24 + } + ] + }, + { + "name": "Variant.Type", + "values": [ + { + "name": "TYPE_NIL", + "value": 0 + }, + { + "name": "TYPE_BOOL", + "value": 1 + }, + { + "name": "TYPE_INT", + "value": 2 + }, + { + "name": "TYPE_FLOAT", + "value": 3 + }, + { + "name": "TYPE_STRING", + "value": 4 + }, + { + "name": "TYPE_VECTOR2", + "value": 5 + }, + { + "name": "TYPE_VECTOR2I", + "value": 6 + }, + { + "name": "TYPE_RECT2", + "value": 7 + }, + { + "name": "TYPE_RECT2I", + "value": 8 + }, + { + "name": "TYPE_VECTOR3", + "value": 9 + }, + { + "name": "TYPE_VECTOR3I", + "value": 10 + }, + { + "name": "TYPE_TRANSFORM2D", + "value": 11 + }, + { + "name": "TYPE_PLANE", + "value": 12 + }, + { + "name": "TYPE_QUATERNION", + "value": 13 + }, + { + "name": "TYPE_AABB", + "value": 14 + }, + { + "name": "TYPE_BASIS", + "value": 15 + }, + { + "name": "TYPE_TRANSFORM3D", + "value": 16 + }, + { + "name": "TYPE_COLOR", + "value": 17 + }, + { + "name": "TYPE_STRING_NAME", + "value": 18 + }, + { + "name": "TYPE_NODE_PATH", + "value": 19 + }, + { + "name": "TYPE_RID", + "value": 20 + }, + { + "name": "TYPE_OBJECT", + "value": 21 + }, + { + "name": "TYPE_CALLABLE", + "value": 22 + }, + { + "name": "TYPE_SIGNAL", + "value": 23 + }, + { + "name": "TYPE_DICTIONARY", + "value": 24 + }, + { + "name": "TYPE_ARRAY", + "value": 25 + }, + { + "name": "TYPE_RAW_ARRAY", + "value": 26 + }, + { + "name": "TYPE_INT32_ARRAY", + "value": 27 + }, + { + "name": "TYPE_INT64_ARRAY", + "value": 28 + }, + { + "name": "TYPE_FLOAT32_ARRAY", + "value": 29 + }, + { + "name": "TYPE_FLOAT64_ARRAY", + "value": 30 + }, + { + "name": "TYPE_STRING_ARRAY", + "value": 31 + }, + { + "name": "TYPE_VECTOR2_ARRAY", + "value": 32 + }, + { + "name": "TYPE_VECTOR3_ARRAY", + "value": 33 + }, + { + "name": "TYPE_COLOR_ARRAY", + "value": 34 + }, + { + "name": "TYPE_MAX", + "value": 35 + } + ] + } + ], + "utility_functions": [ + { + "name": "sin", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "angle_rad", + "type": "float" + } + ] + }, + { + "name": "cos", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "angle_rad", + "type": "float" + } + ] + }, + { + "name": "tan", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "angle_rad", + "type": "float" + } + ] + }, + { + "name": "sinh", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "cosh", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "tanh", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "asin", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "acos", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "atan", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "atan2", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 133352273, + "arguments": [ + { + "name": "y", + "type": "float" + }, + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "sqrt", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "fmod", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 133352273, + "arguments": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "fposmod", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 133352273, + "arguments": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "posmod", + "return_type": "int", + "category": "math", + "is_vararg": false, + "hash": 133316302, + "arguments": [ + { + "name": "x", + "type": "int" + }, + { + "name": "y", + "type": "int" + } + ] + }, + { + "name": "floor", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "ceil", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "round", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "abs", + "return_type": "Variant", + "category": "math", + "is_vararg": false, + "hash": 134188199, + "arguments": [ + { + "name": "x", + "type": "Variant" + } + ] + }, + { + "name": "absf", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "absi", + "return_type": "int", + "category": "math", + "is_vararg": false, + "hash": 134190379, + "arguments": [ + { + "name": "x", + "type": "int" + } + ] + }, + { + "name": "sign", + "return_type": "Variant", + "category": "math", + "is_vararg": false, + "hash": 134188199, + "arguments": [ + { + "name": "x", + "type": "Variant" + } + ] + }, + { + "name": "signf", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "signi", + "return_type": "int", + "category": "math", + "is_vararg": false, + "hash": 134190379, + "arguments": [ + { + "name": "x", + "type": "int" + } + ] + }, + { + "name": "pow", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 133352273, + "arguments": [ + { + "name": "base", + "type": "float" + }, + { + "name": "exp", + "type": "float" + } + ] + }, + { + "name": "log", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "exp", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "is_nan", + "return_type": "bool", + "category": "math", + "is_vararg": false, + "hash": 134189291, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "is_inf", + "return_type": "bool", + "category": "math", + "is_vararg": false, + "hash": 134189291, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "is_equal_approx", + "return_type": "bool", + "category": "math", + "is_vararg": false, + "hash": 133280399, + "arguments": [ + { + "name": "a", + "type": "float" + }, + { + "name": "b", + "type": "float" + } + ] + }, + { + "name": "is_zero_approx", + "return_type": "bool", + "category": "math", + "is_vararg": false, + "hash": 134189291, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "ease", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 133352273, + "arguments": [ + { + "name": "x", + "type": "float" + }, + { + "name": "curve", + "type": "float" + } + ] + }, + { + "name": "step_decimals", + "return_type": "int", + "category": "math", + "is_vararg": false, + "hash": 134190380, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "range_step_decimals", + "return_type": "int", + "category": "math", + "is_vararg": false, + "hash": 134190380, + "arguments": [ + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "snapped", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 133352273, + "arguments": [ + { + "name": "x", + "type": "float" + }, + { + "name": "step", + "type": "float" + } + ] + }, + { + "name": "lerp", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 105693653, + "arguments": [ + { + "name": "from", + "type": "float" + }, + { + "name": "to", + "type": "float" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "lerp_angle", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 105693653, + "arguments": [ + { + "name": "from", + "type": "float" + }, + { + "name": "to", + "type": "float" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "inverse_lerp", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 105693653, + "arguments": [ + { + "name": "from", + "type": "float" + }, + { + "name": "to", + "type": "float" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "range_lerp", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 3509509309, + "arguments": [ + { + "name": "value", + "type": "float" + }, + { + "name": "istart", + "type": "float" + }, + { + "name": "istop", + "type": "float" + }, + { + "name": "ostart", + "type": "float" + }, + { + "name": "ostop", + "type": "float" + } + ] + }, + { + "name": "smoothstep", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 105693653, + "arguments": [ + { + "name": "from", + "type": "float" + }, + { + "name": "to", + "type": "float" + }, + { + "name": "x", + "type": "float" + } + ] + }, + { + "name": "move_toward", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 105693653, + "arguments": [ + { + "name": "from", + "type": "float" + }, + { + "name": "to", + "type": "float" + }, + { + "name": "delta", + "type": "float" + } + ] + }, + { + "name": "deg2rad", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "deg", + "type": "float" + } + ] + }, + { + "name": "rad2deg", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "rad", + "type": "float" + } + ] + }, + { + "name": "linear2db", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "lin", + "type": "float" + } + ] + }, + { + "name": "db2linear", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 134191469, + "arguments": [ + { + "name": "db", + "type": "float" + } + ] + }, + { + "name": "polar2cartesian", + "return_type": "Vector2", + "category": "math", + "is_vararg": false, + "hash": 133424147, + "arguments": [ + { + "name": "r", + "type": "float" + }, + { + "name": "th", + "type": "float" + } + ] + }, + { + "name": "cartesian2polar", + "return_type": "Vector2", + "category": "math", + "is_vararg": false, + "hash": 133424147, + "arguments": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + }, + { + "name": "wrapi", + "return_type": "int", + "category": "math", + "is_vararg": false, + "hash": 104506609, + "arguments": [ + { + "name": "value", + "type": "int" + }, + { + "name": "min", + "type": "int" + }, + { + "name": "max", + "type": "int" + } + ] + }, + { + "name": "wrapf", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 105693653, + "arguments": [ + { + "name": "value", + "type": "float" + }, + { + "name": "min", + "type": "float" + }, + { + "name": "max", + "type": "float" + } + ] + }, + { + "name": "max", + "return_type": "Variant", + "category": "math", + "is_vararg": true, + "hash": 172379753, + "arguments": [ + { + "name": "arg1", + "type": "Variant" + }, + { + "name": "arg2", + "type": "Variant" + } + ] + }, + { + "name": "maxi", + "return_type": "int", + "category": "math", + "is_vararg": false, + "hash": 133316302, + "arguments": [ + { + "name": "a", + "type": "int" + }, + { + "name": "b", + "type": "int" + } + ] + }, + { + "name": "maxf", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 133352273, + "arguments": [ + { + "name": "a", + "type": "float" + }, + { + "name": "b", + "type": "float" + } + ] + }, + { + "name": "min", + "return_type": "Variant", + "category": "math", + "is_vararg": true, + "hash": 172379753, + "arguments": [ + { + "name": "arg1", + "type": "Variant" + }, + { + "name": "arg2", + "type": "Variant" + } + ] + }, + { + "name": "mini", + "return_type": "int", + "category": "math", + "is_vararg": false, + "hash": 133316302, + "arguments": [ + { + "name": "a", + "type": "int" + }, + { + "name": "b", + "type": "int" + } + ] + }, + { + "name": "minf", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 133352273, + "arguments": [ + { + "name": "a", + "type": "float" + }, + { + "name": "b", + "type": "float" + } + ] + }, + { + "name": "clamp", + "return_type": "Variant", + "category": "math", + "is_vararg": false, + "hash": 102132521, + "arguments": [ + { + "name": "value", + "type": "Variant" + }, + { + "name": "min", + "type": "Variant" + }, + { + "name": "max", + "type": "Variant" + } + ] + }, + { + "name": "clampi", + "return_type": "int", + "category": "math", + "is_vararg": false, + "hash": 104506609, + "arguments": [ + { + "name": "value", + "type": "int" + }, + { + "name": "min", + "type": "int" + }, + { + "name": "max", + "type": "int" + } + ] + }, + { + "name": "clampf", + "return_type": "float", + "category": "math", + "is_vararg": false, + "hash": 105693653, + "arguments": [ + { + "name": "value", + "type": "float" + }, + { + "name": "min", + "type": "float" + }, + { + "name": "max", + "type": "float" + } + ] + }, + { + "name": "nearest_po2", + "return_type": "int", + "category": "math", + "is_vararg": false, + "hash": 134190379, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "randomize", + "category": "random", + "is_vararg": false, + "hash": 193376997 + }, + { + "name": "randi", + "return_type": "int", + "category": "random", + "is_vararg": false, + "hash": 2086474760 + }, + { + "name": "randf", + "return_type": "float", + "category": "random", + "is_vararg": false, + "hash": 2086474793 + }, + { + "name": "randi_range", + "return_type": "int", + "category": "random", + "is_vararg": false, + "hash": 133316302, + "arguments": [ + { + "name": "from", + "type": "int" + }, + { + "name": "to", + "type": "int" + } + ] + }, + { + "name": "randf_range", + "return_type": "float", + "category": "random", + "is_vararg": false, + "hash": 133352273, + "arguments": [ + { + "name": "from", + "type": "float" + }, + { + "name": "to", + "type": "float" + } + ] + }, + { + "name": "seed", + "category": "random", + "is_vararg": false, + "hash": 2086473640, + "arguments": [ + { + "name": "base", + "type": "int" + } + ] + }, + { + "name": "rand_from_seed", + "return_type": "PackedInt64Array", + "category": "random", + "is_vararg": false, + "hash": 134218693, + "arguments": [ + { + "name": "seed", + "type": "int" + } + ] + }, + { + "name": "weakref", + "return_type": "Variant", + "category": "general", + "is_vararg": false, + "hash": 134188199, + "arguments": [ + { + "name": "obj", + "type": "Variant" + } + ] + }, + { + "name": "typeof", + "return_type": "int", + "category": "general", + "is_vararg": false, + "hash": 134190377, + "arguments": [ + { + "name": "variable", + "type": "Variant" + } + ] + }, + { + "name": "str", + "return_type": "String", + "category": "general", + "is_vararg": true, + "hash": 135378476, + "arguments": [ + { + "name": "arg1", + "type": "Variant" + } + ] + }, + { + "name": "print", + "category": "general", + "is_vararg": true, + "hash": 2086509575, + "arguments": [ + { + "name": "arg1", + "type": "Variant" + } + ] + }, + { + "name": "printerr", + "category": "general", + "is_vararg": true, + "hash": 2086509575, + "arguments": [ + { + "name": "arg1", + "type": "Variant" + } + ] + }, + { + "name": "printt", + "category": "general", + "is_vararg": true, + "hash": 2086509575, + "arguments": [ + { + "name": "arg1", + "type": "Variant" + } + ] + }, + { + "name": "prints", + "category": "general", + "is_vararg": true, + "hash": 2086509575, + "arguments": [ + { + "name": "arg1", + "type": "Variant" + } + ] + }, + { + "name": "printraw", + "category": "general", + "is_vararg": true, + "hash": 2086509575, + "arguments": [ + { + "name": "arg1", + "type": "Variant" + } + ] + }, + { + "name": "push_error", + "category": "general", + "is_vararg": true, + "hash": 2086509575, + "arguments": [ + { + "name": "arg1", + "type": "Variant" + } + ] + }, + { + "name": "push_warning", + "category": "general", + "is_vararg": true, + "hash": 2086509575, + "arguments": [ + { + "name": "arg1", + "type": "Variant" + } + ] + }, + { + "name": "var2str", + "return_type": "String", + "category": "general", + "is_vararg": false, + "hash": 134192555, + "arguments": [ + { + "name": "variable", + "type": "Variant" + } + ] + }, + { + "name": "str2var", + "return_type": "Variant", + "category": "general", + "is_vararg": false, + "hash": 134188203, + "arguments": [ + { + "name": "string", + "type": "String" + } + ] + }, + { + "name": "var2bytes", + "return_type": "PackedByteArray", + "category": "general", + "is_vararg": false, + "hash": 134216513, + "arguments": [ + { + "name": "variable", + "type": "Variant" + } + ] + }, + { + "name": "bytes2var", + "return_type": "Variant", + "category": "general", + "is_vararg": false, + "hash": 134188225, + "arguments": [ + { + "name": "bytes", + "type": "PackedByteArray" + } + ] + }, + { + "name": "var2bytes_with_objects", + "return_type": "PackedByteArray", + "category": "general", + "is_vararg": false, + "hash": 134216513, + "arguments": [ + { + "name": "variable", + "type": "Variant" + } + ] + }, + { + "name": "bytes2var_with_objects", + "return_type": "Variant", + "category": "general", + "is_vararg": false, + "hash": 134188225, + "arguments": [ + { + "name": "bytes", + "type": "PackedByteArray" + } + ] + }, + { + "name": "hash", + "return_type": "int", + "category": "general", + "is_vararg": false, + "hash": 134190377, + "arguments": [ + { + "name": "variable", + "type": "Variant" + } + ] + }, + { + "name": "instance_from_id", + "return_type": "Object", + "category": "general", + "is_vararg": false, + "hash": 134211070, + "arguments": [ + { + "name": "instance_id", + "type": "int" + } + ] + }, + { + "name": "is_instance_id_valid", + "return_type": "bool", + "category": "general", + "is_vararg": false, + "hash": 134189290, + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "is_instance_valid", + "return_type": "bool", + "category": "general", + "is_vararg": false, + "hash": 134189288, + "arguments": [ + { + "name": "instance", + "type": "Variant" + } + ] + } + ], + "builtin_classes": [ + { + "name": "Nil", + "is_keyed": false, + "operators": [ + { + "name": "==", + "right_type": "Nil", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Nil", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "Nil", + "return_type": "bool" + }, + { + "name": "not", + "return_type": "bool" + }, + { + "name": "and", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "and", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "and", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "and", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Nil" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "bool", + "is_keyed": true, + "operators": [ + { + "name": "and", + "right_type": "Nil", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "Nil", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "Nil", + "return_type": "bool" + }, + { + "name": "not", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "<", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": ">", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "and", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "and", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "and", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "and", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "bool" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "int" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "from", + "type": "float" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "int", + "is_keyed": true, + "operators": [ + { + "name": "unary-", + "return_type": "int" + }, + { + "name": "unary+", + "return_type": "int" + }, + { + "name": "~", + "return_type": "int" + }, + { + "name": "and", + "right_type": "Nil", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "Nil", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "Nil", + "return_type": "bool" + }, + { + "name": "not", + "return_type": "bool" + }, + { + "name": "and", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "<", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "<=", + "right_type": "int", + "return_type": "bool" + }, + { + "name": ">", + "right_type": "int", + "return_type": "bool" + }, + { + "name": ">=", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "int", + "return_type": "int" + }, + { + "name": "-", + "right_type": "int", + "return_type": "int" + }, + { + "name": "*", + "right_type": "int", + "return_type": "int" + }, + { + "name": "/", + "right_type": "int", + "return_type": "int" + }, + { + "name": "%", + "right_type": "int", + "return_type": "int" + }, + { + "name": "<<", + "right_type": "int", + "return_type": "int" + }, + { + "name": ">>", + "right_type": "int", + "return_type": "int" + }, + { + "name": "&", + "right_type": "int", + "return_type": "int" + }, + { + "name": "|", + "right_type": "int", + "return_type": "int" + }, + { + "name": "^", + "right_type": "int", + "return_type": "int" + }, + { + "name": "and", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "<", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "<=", + "right_type": "float", + "return_type": "bool" + }, + { + "name": ">", + "right_type": "float", + "return_type": "bool" + }, + { + "name": ">=", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "float", + "return_type": "float" + }, + { + "name": "-", + "right_type": "float", + "return_type": "float" + }, + { + "name": "*", + "right_type": "float", + "return_type": "float" + }, + { + "name": "/", + "right_type": "float", + "return_type": "float" + }, + { + "name": "and", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "*", + "right_type": "Vector2", + "return_type": "Vector2" + }, + { + "name": "*", + "right_type": "Vector2i", + "return_type": "Vector2i" + }, + { + "name": "*", + "right_type": "Vector3", + "return_type": "Vector3" + }, + { + "name": "*", + "right_type": "Vector3i", + "return_type": "Vector3i" + }, + { + "name": "*", + "right_type": "Quaternion", + "return_type": "Quaternion" + }, + { + "name": "*", + "right_type": "Color", + "return_type": "Color" + }, + { + "name": "and", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedByteArray", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedInt32Array", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedInt64Array", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedFloat32Array", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedFloat64Array", + "return_type": "bool" + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "int" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "float" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "from", + "type": "bool" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "float", + "is_keyed": true, + "operators": [ + { + "name": "unary-", + "return_type": "float" + }, + { + "name": "unary+", + "return_type": "float" + }, + { + "name": "and", + "right_type": "Nil", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "Nil", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "Nil", + "return_type": "bool" + }, + { + "name": "not", + "return_type": "bool" + }, + { + "name": "and", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "bool", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "<", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "<=", + "right_type": "int", + "return_type": "bool" + }, + { + "name": ">", + "right_type": "int", + "return_type": "bool" + }, + { + "name": ">=", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "int", + "return_type": "float" + }, + { + "name": "-", + "right_type": "int", + "return_type": "float" + }, + { + "name": "*", + "right_type": "int", + "return_type": "float" + }, + { + "name": "/", + "right_type": "int", + "return_type": "float" + }, + { + "name": "and", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "int", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "<", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "<=", + "right_type": "float", + "return_type": "bool" + }, + { + "name": ">", + "right_type": "float", + "return_type": "bool" + }, + { + "name": ">=", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "float", + "return_type": "float" + }, + { + "name": "-", + "right_type": "float", + "return_type": "float" + }, + { + "name": "*", + "right_type": "float", + "return_type": "float" + }, + { + "name": "/", + "right_type": "float", + "return_type": "float" + }, + { + "name": "and", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "float", + "return_type": "bool" + }, + { + "name": "*", + "right_type": "Vector2", + "return_type": "Vector2" + }, + { + "name": "*", + "right_type": "Vector2i", + "return_type": "Vector2i" + }, + { + "name": "*", + "right_type": "Vector3", + "return_type": "Vector3" + }, + { + "name": "*", + "right_type": "Vector3i", + "return_type": "Vector3i" + }, + { + "name": "*", + "right_type": "Quaternion", + "return_type": "Quaternion" + }, + { + "name": "*", + "right_type": "Color", + "return_type": "Color" + }, + { + "name": "and", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "or", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "xor", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedByteArray", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedInt32Array", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedInt64Array", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedFloat32Array", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedFloat64Array", + "return_type": "bool" + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "float" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "int" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "from", + "type": "bool" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "String", + "is_keyed": true, + "operators": [ + { + "name": "%", + "right_type": "Nil", + "return_type": "String" + }, + { + "name": "%", + "right_type": "bool", + "return_type": "String" + }, + { + "name": "%", + "right_type": "int", + "return_type": "String" + }, + { + "name": "%", + "right_type": "float", + "return_type": "String" + }, + { + "name": "==", + "right_type": "String", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "String", + "return_type": "bool" + }, + { + "name": "<", + "right_type": "String", + "return_type": "bool" + }, + { + "name": "<=", + "right_type": "String", + "return_type": "bool" + }, + { + "name": ">", + "right_type": "String", + "return_type": "bool" + }, + { + "name": ">=", + "right_type": "String", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "String", + "return_type": "String" + }, + { + "name": "%", + "right_type": "String", + "return_type": "String" + }, + { + "name": "in", + "right_type": "String", + "return_type": "bool" + }, + { + "name": "%", + "right_type": "Vector2", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Vector2i", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Rect2", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Rect2i", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Vector3", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Vector3i", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Transform2D", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Plane", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Quaternion", + "return_type": "String" + }, + { + "name": "%", + "right_type": "AABB", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Basis", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Transform3D", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Color", + "return_type": "String" + }, + { + "name": "==", + "right_type": "StringName", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "StringName", + "return_type": "bool" + }, + { + "name": "%", + "right_type": "StringName", + "return_type": "String" + }, + { + "name": "%", + "right_type": "NodePath", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Object", + "return_type": "String" + }, + { + "name": "in", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "%", + "right_type": "Callable", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Signal", + "return_type": "String" + }, + { + "name": "%", + "right_type": "Dictionary", + "return_type": "String" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "%", + "right_type": "Array", + "return_type": "String" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "%", + "right_type": "PackedByteArray", + "return_type": "String" + }, + { + "name": "%", + "right_type": "PackedInt32Array", + "return_type": "String" + }, + { + "name": "%", + "right_type": "PackedInt64Array", + "return_type": "String" + }, + { + "name": "%", + "right_type": "PackedFloat32Array", + "return_type": "String" + }, + { + "name": "%", + "right_type": "PackedFloat64Array", + "return_type": "String" + }, + { + "name": "%", + "right_type": "PackedStringArray", + "return_type": "String" + }, + { + "name": "in", + "right_type": "PackedStringArray", + "return_type": "bool" + }, + { + "name": "%", + "right_type": "PackedVector2Array", + "return_type": "String" + }, + { + "name": "%", + "right_type": "PackedVector3Array", + "return_type": "String" + }, + { + "name": "%", + "right_type": "PackedColorArray", + "return_type": "String" + } + ], + "methods": [ + { + "name": "casecmp_to", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "to", + "type": "String" + } + ] + }, + { + "name": "nocasecmp_to", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "to", + "type": "String" + } + ] + }, + { + "name": "naturalnocasecmp_to", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "to", + "type": "String" + } + ] + }, + { + "name": "length", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "substr", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "from", + "type": "int" + }, + { + "name": "len", + "type": "int", + "default_value": "-1" + } + ] + }, + { + "name": "find", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "what", + "type": "String" + }, + { + "name": "from", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "count", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "what", + "type": "String" + }, + { + "name": "from", + "type": "int", + "default_value": "0" + }, + { + "name": "to", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "countn", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "what", + "type": "String" + }, + { + "name": "from", + "type": "int", + "default_value": "0" + }, + { + "name": "to", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "findn", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "what", + "type": "String" + }, + { + "name": "from", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "rfind", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "what", + "type": "String" + }, + { + "name": "from", + "type": "int", + "default_value": "-1" + } + ] + }, + { + "name": "rfindn", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "what", + "type": "String" + }, + { + "name": "from", + "type": "int", + "default_value": "-1" + } + ] + }, + { + "name": "match", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "expr", + "type": "String" + } + ] + }, + { + "name": "matchn", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "expr", + "type": "String" + } + ] + }, + { + "name": "begins_with", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "ends_with", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "is_subsequence_of", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "is_subsequence_ofi", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "bigrams", + "return_type": "PackedStringArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193766 + }, + { + "name": "similarity", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "format", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "values", + "type": "Variant" + }, + { + "name": "placeholder", + "type": "String", + "default_value": "\"{_}\"" + } + ] + }, + { + "name": "replace", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "what", + "type": "String" + }, + { + "name": "forwhat", + "type": "String" + } + ] + }, + { + "name": "replacen", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "what", + "type": "String" + }, + { + "name": "forwhat", + "type": "String" + } + ] + }, + { + "name": "repeat", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "count", + "type": "int" + } + ] + }, + { + "name": "insert", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "position", + "type": "int" + }, + { + "name": "what", + "type": "String" + } + ] + }, + { + "name": "capitalize", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "split", + "return_type": "PackedStringArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "delimiter", + "type": "String" + }, + { + "name": "allow_empty", + "type": "bool", + "default_value": "true" + }, + { + "name": "maxsplit", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "rsplit", + "return_type": "PackedStringArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "delimiter", + "type": "String" + }, + { + "name": "allow_empty", + "type": "bool", + "default_value": "true" + }, + { + "name": "maxsplit", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "split_floats", + "return_type": "PackedFloat32Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "delimiter", + "type": "String" + }, + { + "name": "allow_empty", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "join", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 31, + "arguments": [ + { + "name": "parts", + "type": "PackedStringArray" + } + ] + }, + { + "name": "to_upper", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "to_lower", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "left", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "position", + "type": "int" + } + ] + }, + { + "name": "right", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "position", + "type": "int" + } + ] + }, + { + "name": "strip_edges", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "left", + "type": "bool", + "default_value": "true" + }, + { + "name": "right", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "strip_escapes", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "lstrip", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "chars", + "type": "String" + } + ] + }, + { + "name": "rstrip", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "chars", + "type": "String" + } + ] + }, + { + "name": "get_extension", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "get_basename", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "plus_file", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "unicode_at", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "at", + "type": "int" + } + ] + }, + { + "name": "dedent", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "hash", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "md5_text", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "sha1_text", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "sha256_text", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "md5_buffer", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "sha1_buffer", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "sha256_buffer", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_absolute_path", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_rel_path", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "get_base_dir", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "get_file", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "xml_escape", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "escape_quotes", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "xml_unescape", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "uri_encode", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "uri_decode", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "c_escape", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "c_unescape", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "json_escape", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "validate_node_name", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "is_valid_identifier", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_valid_int", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_valid_float", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_valid_hex_number", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "with_prefix", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "is_valid_html_color", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_valid_ip_address", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_valid_filename", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "to_int", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "to_float", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "hex_to_int", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "bin_to_int", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "lpad", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "min_length", + "type": "int" + }, + { + "name": "character", + "type": "String", + "default_value": "\" \"" + } + ] + }, + { + "name": "rpad", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "min_length", + "type": "int" + }, + { + "name": "character", + "type": "String", + "default_value": "\" \"" + } + ] + }, + { + "name": "pad_decimals", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "digits", + "type": "int" + } + ] + }, + { + "name": "pad_zeros", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "digits", + "type": "int" + } + ] + }, + { + "name": "trim_prefix", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "prefix", + "type": "String" + } + ] + }, + { + "name": "trim_suffix", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "suffix", + "type": "String" + } + ] + }, + { + "name": "to_ascii_buffer", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "to_utf8_buffer", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "to_utf16_buffer", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "to_utf32_buffer", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "num_scientific", + "return_type": "String", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 3, + "arguments": [ + { + "name": "number", + "type": "float" + } + ] + }, + { + "name": "num", + "return_type": "String", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 2, + "arguments": [ + { + "name": "number", + "type": "float" + }, + { + "name": "decimals", + "type": "int", + "default_value": "-1" + } + ] + }, + { + "name": "chr", + "return_type": "String", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 2, + "arguments": [ + { + "name": "char", + "type": "int" + } + ] + }, + { + "name": "humanize_size", + "return_type": "String", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 2, + "arguments": [ + { + "name": "size", + "type": "int" + } + ] + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "String" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "StringName" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "from", + "type": "NodePath" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "Vector2", + "indexing_return_type": "float", + "is_keyed": true, + "members": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "constants": [ + { + "name": "AXIS_X", + "type": "int", + "value": "0" + }, + { + "name": "AXIS_Y", + "type": "int", + "value": "1" + }, + { + "name": "ZERO", + "type": "Vector2", + "value": "Vector2(0, 0)" + }, + { + "name": "ONE", + "type": "Vector2", + "value": "Vector2(1, 1)" + }, + { + "name": "INF", + "type": "Vector2", + "value": "Vector2(inf, inf)" + }, + { + "name": "LEFT", + "type": "Vector2", + "value": "Vector2(-1, 0)" + }, + { + "name": "RIGHT", + "type": "Vector2", + "value": "Vector2(1, 0)" + }, + { + "name": "UP", + "type": "Vector2", + "value": "Vector2(0, -1)" + }, + { + "name": "DOWN", + "type": "Vector2", + "value": "Vector2(0, 1)" + } + ], + "operators": [ + { + "name": "unary-", + "return_type": "Vector2" + }, + { + "name": "unary+", + "return_type": "Vector2" + }, + { + "name": "*", + "right_type": "int", + "return_type": "Vector2" + }, + { + "name": "/", + "right_type": "int", + "return_type": "Vector2" + }, + { + "name": "*", + "right_type": "float", + "return_type": "Vector2" + }, + { + "name": "/", + "right_type": "float", + "return_type": "Vector2" + }, + { + "name": "==", + "right_type": "Vector2", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Vector2", + "return_type": "bool" + }, + { + "name": "<", + "right_type": "Vector2", + "return_type": "bool" + }, + { + "name": "<=", + "right_type": "Vector2", + "return_type": "bool" + }, + { + "name": ">", + "right_type": "Vector2", + "return_type": "bool" + }, + { + "name": ">=", + "right_type": "Vector2", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "Vector2", + "return_type": "Vector2" + }, + { + "name": "-", + "right_type": "Vector2", + "return_type": "Vector2" + }, + { + "name": "*", + "right_type": "Vector2", + "return_type": "Vector2" + }, + { + "name": "/", + "right_type": "Vector2", + "return_type": "Vector2" + }, + { + "name": "*", + "right_type": "Transform2D", + "return_type": "Vector2" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedVector2Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "angle", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "angle_to", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "to", + "type": "Vector2" + } + ] + }, + { + "name": "angle_to_point", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "to", + "type": "Vector2" + } + ] + }, + { + "name": "direction_to", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "b", + "type": "Vector2" + } + ] + }, + { + "name": "distance_to", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "to", + "type": "Vector2" + } + ] + }, + { + "name": "distance_squared_to", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "to", + "type": "Vector2" + } + ] + }, + { + "name": "length", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "length_squared", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "limit_length", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "length", + "type": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "normalized", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192908 + }, + { + "name": "is_normalized", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_equal_approx", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "to", + "type": "Vector2" + } + ] + }, + { + "name": "posmod", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "mod", + "type": "float" + } + ] + }, + { + "name": "posmodv", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "modv", + "type": "Vector2" + } + ] + }, + { + "name": "project", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "b", + "type": "Vector2" + } + ] + }, + { + "name": "lerp", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "to", + "type": "Vector2" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "slerp", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "to", + "type": "Vector2" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "cubic_interpolate", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "b", + "type": "Vector2" + }, + { + "name": "pre_a", + "type": "Vector2" + }, + { + "name": "post_b", + "type": "Vector2" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "move_toward", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "to", + "type": "Vector2" + }, + { + "name": "delta", + "type": "float" + } + ] + }, + { + "name": "rotated", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "phi", + "type": "float" + } + ] + }, + { + "name": "orthogonal", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192908 + }, + { + "name": "floor", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192908 + }, + { + "name": "ceil", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192908 + }, + { + "name": "round", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192908 + }, + { + "name": "aspect", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "dot", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "with", + "type": "Vector2" + } + ] + }, + { + "name": "slide", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "n", + "type": "Vector2" + } + ] + }, + { + "name": "bounce", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "n", + "type": "Vector2" + } + ] + }, + { + "name": "reflect", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "n", + "type": "Vector2" + } + ] + }, + { + "name": "cross", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "with", + "type": "Vector2" + } + ] + }, + { + "name": "abs", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192908 + }, + { + "name": "sign", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192908 + }, + { + "name": "clamp", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "min", + "type": "Vector2" + }, + { + "name": "max", + "type": "Vector2" + } + ] + }, + { + "name": "snapped", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "step", + "type": "Vector2" + } + ] + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Vector2" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Vector2i" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "Vector2i", + "indexing_return_type": "int", + "is_keyed": true, + "members": [ + { + "name": "x", + "type": "int" + }, + { + "name": "y", + "type": "int" + } + ], + "constants": [ + { + "name": "AXIS_X", + "type": "int", + "value": "0" + }, + { + "name": "AXIS_Y", + "type": "int", + "value": "1" + }, + { + "name": "ZERO", + "type": "Vector2i", + "value": "Vector2i(0, 0)" + }, + { + "name": "ONE", + "type": "Vector2i", + "value": "Vector2i(1, 1)" + }, + { + "name": "LEFT", + "type": "Vector2i", + "value": "Vector2i(-1, 0)" + }, + { + "name": "RIGHT", + "type": "Vector2i", + "value": "Vector2i(1, 0)" + }, + { + "name": "UP", + "type": "Vector2i", + "value": "Vector2i(0, -1)" + }, + { + "name": "DOWN", + "type": "Vector2i", + "value": "Vector2i(0, 1)" + } + ], + "operators": [ + { + "name": "unary-", + "return_type": "Vector2i" + }, + { + "name": "unary+", + "return_type": "Vector2i" + }, + { + "name": "*", + "right_type": "int", + "return_type": "Vector2i" + }, + { + "name": "/", + "right_type": "int", + "return_type": "Vector2i" + }, + { + "name": "%", + "right_type": "int", + "return_type": "Vector2i" + }, + { + "name": "*", + "right_type": "float", + "return_type": "Vector2i" + }, + { + "name": "/", + "right_type": "float", + "return_type": "Vector2i" + }, + { + "name": "==", + "right_type": "Vector2i", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Vector2i", + "return_type": "bool" + }, + { + "name": "<", + "right_type": "Vector2i", + "return_type": "bool" + }, + { + "name": "<=", + "right_type": "Vector2i", + "return_type": "bool" + }, + { + "name": ">", + "right_type": "Vector2i", + "return_type": "bool" + }, + { + "name": ">=", + "right_type": "Vector2i", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "Vector2i", + "return_type": "Vector2i" + }, + { + "name": "-", + "right_type": "Vector2i", + "return_type": "Vector2i" + }, + { + "name": "*", + "right_type": "Vector2i", + "return_type": "Vector2i" + }, + { + "name": "/", + "right_type": "Vector2i", + "return_type": "Vector2i" + }, + { + "name": "%", + "right_type": "Vector2i", + "return_type": "Vector2i" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "aspect", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "sign", + "return_type": "Vector2i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192941 + }, + { + "name": "abs", + "return_type": "Vector2i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192941 + }, + { + "name": "clamp", + "return_type": "Vector2i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 6, + "arguments": [ + { + "name": "min", + "type": "Vector2i" + }, + { + "name": "max", + "type": "Vector2i" + } + ] + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Vector2i" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Vector2" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "x", + "type": "int" + }, + { + "name": "y", + "type": "int" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "Rect2", + "is_keyed": true, + "members": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "size", + "type": "Vector2" + }, + { + "name": "end", + "type": "Vector2" + } + ], + "operators": [ + { + "name": "==", + "right_type": "Rect2", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Rect2", + "return_type": "bool" + }, + { + "name": "*", + "right_type": "Transform2D", + "return_type": "Rect2" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "get_area", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "has_no_area", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "has_point", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "point", + "type": "Vector2" + } + ] + }, + { + "name": "is_equal_approx", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 7, + "arguments": [ + { + "name": "rect", + "type": "Rect2" + } + ] + }, + { + "name": "intersects", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "b", + "type": "Rect2" + }, + { + "name": "include_borders", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "encloses", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 7, + "arguments": [ + { + "name": "b", + "type": "Rect2" + } + ] + }, + { + "name": "intersection", + "return_type": "Rect2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 7, + "arguments": [ + { + "name": "b", + "type": "Rect2" + } + ] + }, + { + "name": "merge", + "return_type": "Rect2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 7, + "arguments": [ + { + "name": "b", + "type": "Rect2" + } + ] + }, + { + "name": "expand", + "return_type": "Rect2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "to", + "type": "Vector2" + } + ] + }, + { + "name": "grow", + "return_type": "Rect2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "amount", + "type": "float" + } + ] + }, + { + "name": "grow_side", + "return_type": "Rect2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "side", + "type": "int" + }, + { + "name": "amount", + "type": "float" + } + ] + }, + { + "name": "grow_individual", + "return_type": "Rect2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "left", + "type": "float" + }, + { + "name": "top", + "type": "float" + }, + { + "name": "right", + "type": "float" + }, + { + "name": "bottom", + "type": "float" + } + ] + }, + { + "name": "abs", + "return_type": "Rect2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192974 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Rect2" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Rect2i" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "index": 4, + "arguments": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "width", + "type": "float" + }, + { + "name": "height", + "type": "float" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "Rect2i", + "is_keyed": true, + "members": [ + { + "name": "position", + "type": "Vector2i" + }, + { + "name": "size", + "type": "Vector2i" + }, + { + "name": "end", + "type": "Vector2i" + } + ], + "operators": [ + { + "name": "==", + "right_type": "Rect2i", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Rect2i", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "get_area", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "has_no_area", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "has_point", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 6, + "arguments": [ + { + "name": "point", + "type": "Vector2i" + } + ] + }, + { + "name": "intersects", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 8, + "arguments": [ + { + "name": "b", + "type": "Rect2i" + } + ] + }, + { + "name": "encloses", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 8, + "arguments": [ + { + "name": "b", + "type": "Rect2i" + } + ] + }, + { + "name": "intersection", + "return_type": "Rect2i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 8, + "arguments": [ + { + "name": "b", + "type": "Rect2i" + } + ] + }, + { + "name": "merge", + "return_type": "Rect2i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 8, + "arguments": [ + { + "name": "b", + "type": "Rect2i" + } + ] + }, + { + "name": "expand", + "return_type": "Rect2i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 6, + "arguments": [ + { + "name": "to", + "type": "Vector2i" + } + ] + }, + { + "name": "grow", + "return_type": "Rect2i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "amount", + "type": "int" + } + ] + }, + { + "name": "grow_side", + "return_type": "Rect2i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "side", + "type": "int" + }, + { + "name": "amount", + "type": "int" + } + ] + }, + { + "name": "grow_individual", + "return_type": "Rect2i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "left", + "type": "int" + }, + { + "name": "top", + "type": "int" + }, + { + "name": "right", + "type": "int" + }, + { + "name": "bottom", + "type": "int" + } + ] + }, + { + "name": "abs", + "return_type": "Rect2i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193007 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Rect2i" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Rect2" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "position", + "type": "Vector2i" + }, + { + "name": "size", + "type": "Vector2i" + } + ] + }, + { + "index": 4, + "arguments": [ + { + "name": "x", + "type": "int" + }, + { + "name": "y", + "type": "int" + }, + { + "name": "width", + "type": "int" + }, + { + "name": "height", + "type": "int" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "Vector3", + "indexing_return_type": "float", + "is_keyed": true, + "members": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "constants": [ + { + "name": "AXIS_X", + "type": "int", + "value": "0" + }, + { + "name": "AXIS_Y", + "type": "int", + "value": "1" + }, + { + "name": "AXIS_Z", + "type": "int", + "value": "2" + }, + { + "name": "ZERO", + "type": "Vector3", + "value": "Vector3(0, 0, 0)" + }, + { + "name": "ONE", + "type": "Vector3", + "value": "Vector3(1, 1, 1)" + }, + { + "name": "INF", + "type": "Vector3", + "value": "Vector3(inf, inf, inf)" + }, + { + "name": "LEFT", + "type": "Vector3", + "value": "Vector3(-1, 0, 0)" + }, + { + "name": "RIGHT", + "type": "Vector3", + "value": "Vector3(1, 0, 0)" + }, + { + "name": "UP", + "type": "Vector3", + "value": "Vector3(0, 1, 0)" + }, + { + "name": "DOWN", + "type": "Vector3", + "value": "Vector3(0, -1, 0)" + }, + { + "name": "FORWARD", + "type": "Vector3", + "value": "Vector3(0, 0, -1)" + }, + { + "name": "BACK", + "type": "Vector3", + "value": "Vector3(0, 0, 1)" + } + ], + "operators": [ + { + "name": "unary-", + "return_type": "Vector3" + }, + { + "name": "unary+", + "return_type": "Vector3" + }, + { + "name": "*", + "right_type": "int", + "return_type": "Vector3" + }, + { + "name": "/", + "right_type": "int", + "return_type": "Vector3" + }, + { + "name": "*", + "right_type": "float", + "return_type": "Vector3" + }, + { + "name": "/", + "right_type": "float", + "return_type": "Vector3" + }, + { + "name": "==", + "right_type": "Vector3", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Vector3", + "return_type": "bool" + }, + { + "name": "<", + "right_type": "Vector3", + "return_type": "bool" + }, + { + "name": "<=", + "right_type": "Vector3", + "return_type": "bool" + }, + { + "name": ">", + "right_type": "Vector3", + "return_type": "bool" + }, + { + "name": ">=", + "right_type": "Vector3", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "Vector3", + "return_type": "Vector3" + }, + { + "name": "-", + "right_type": "Vector3", + "return_type": "Vector3" + }, + { + "name": "*", + "right_type": "Vector3", + "return_type": "Vector3" + }, + { + "name": "/", + "right_type": "Vector3", + "return_type": "Vector3" + }, + { + "name": "*", + "right_type": "Quaternion", + "return_type": "Vector3" + }, + { + "name": "*", + "right_type": "Basis", + "return_type": "Vector3" + }, + { + "name": "*", + "right_type": "Transform3D", + "return_type": "Vector3" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedVector3Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "min_axis", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "max_axis", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "angle_to", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "to", + "type": "Vector3" + } + ] + }, + { + "name": "signed_angle_to", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "to", + "type": "Vector3" + }, + { + "name": "axis", + "type": "Vector3" + } + ] + }, + { + "name": "direction_to", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "b", + "type": "Vector3" + } + ] + }, + { + "name": "distance_to", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "b", + "type": "Vector3" + } + ] + }, + { + "name": "distance_squared_to", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "b", + "type": "Vector3" + } + ] + }, + { + "name": "length", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "length_squared", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "limit_length", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "length", + "type": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "normalized", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + }, + { + "name": "is_normalized", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_equal_approx", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "to", + "type": "Vector3" + } + ] + }, + { + "name": "inverse", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + }, + { + "name": "clamp", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "min", + "type": "Vector3" + }, + { + "name": "max", + "type": "Vector3" + } + ] + }, + { + "name": "snapped", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "step", + "type": "Vector3" + } + ] + }, + { + "name": "rotated", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "by_axis", + "type": "Vector3" + }, + { + "name": "phi", + "type": "float" + } + ] + }, + { + "name": "lerp", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "to", + "type": "Vector3" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "slerp", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "to", + "type": "Vector3" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "cubic_interpolate", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "b", + "type": "Vector3" + }, + { + "name": "pre_a", + "type": "Vector3" + }, + { + "name": "post_b", + "type": "Vector3" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "move_toward", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "to", + "type": "Vector3" + }, + { + "name": "delta", + "type": "float" + } + ] + }, + { + "name": "dot", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "with", + "type": "Vector3" + } + ] + }, + { + "name": "cross", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "with", + "type": "Vector3" + } + ] + }, + { + "name": "outer", + "return_type": "Basis", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "with", + "type": "Vector3" + } + ] + }, + { + "name": "to_diagonal_matrix", + "return_type": "Basis", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193238 + }, + { + "name": "abs", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + }, + { + "name": "floor", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + }, + { + "name": "ceil", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + }, + { + "name": "round", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + }, + { + "name": "posmod", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "mod", + "type": "float" + } + ] + }, + { + "name": "posmodv", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "modv", + "type": "Vector3" + } + ] + }, + { + "name": "project", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "b", + "type": "Vector3" + } + ] + }, + { + "name": "slide", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "n", + "type": "Vector3" + } + ] + }, + { + "name": "bounce", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "n", + "type": "Vector3" + } + ] + }, + { + "name": "reflect", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "n", + "type": "Vector3" + } + ] + }, + { + "name": "sign", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Vector3" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Vector3i" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "Vector3i", + "indexing_return_type": "int", + "is_keyed": true, + "members": [ + { + "name": "x", + "type": "int" + }, + { + "name": "y", + "type": "int" + }, + { + "name": "z", + "type": "int" + } + ], + "constants": [ + { + "name": "AXIS_X", + "type": "int", + "value": "0" + }, + { + "name": "AXIS_Y", + "type": "int", + "value": "1" + }, + { + "name": "AXIS_Z", + "type": "int", + "value": "2" + }, + { + "name": "ZERO", + "type": "Vector3i", + "value": "Vector3i(0, 0, 0)" + }, + { + "name": "ONE", + "type": "Vector3i", + "value": "Vector3i(1, 1, 1)" + }, + { + "name": "LEFT", + "type": "Vector3i", + "value": "Vector3i(-1, 0, 0)" + }, + { + "name": "RIGHT", + "type": "Vector3i", + "value": "Vector3i(1, 0, 0)" + }, + { + "name": "UP", + "type": "Vector3i", + "value": "Vector3i(0, 1, 0)" + }, + { + "name": "DOWN", + "type": "Vector3i", + "value": "Vector3i(0, -1, 0)" + }, + { + "name": "FORWARD", + "type": "Vector3i", + "value": "Vector3i(0, 0, -1)" + }, + { + "name": "BACK", + "type": "Vector3i", + "value": "Vector3i(0, 0, 1)" + } + ], + "operators": [ + { + "name": "unary-", + "return_type": "Vector3i" + }, + { + "name": "unary+", + "return_type": "Vector3i" + }, + { + "name": "*", + "right_type": "int", + "return_type": "Vector3i" + }, + { + "name": "/", + "right_type": "int", + "return_type": "Vector3i" + }, + { + "name": "%", + "right_type": "int", + "return_type": "Vector3i" + }, + { + "name": "*", + "right_type": "float", + "return_type": "Vector3i" + }, + { + "name": "/", + "right_type": "float", + "return_type": "Vector3i" + }, + { + "name": "==", + "right_type": "Vector3i", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Vector3i", + "return_type": "bool" + }, + { + "name": "<", + "right_type": "Vector3i", + "return_type": "bool" + }, + { + "name": "<=", + "right_type": "Vector3i", + "return_type": "bool" + }, + { + "name": ">", + "right_type": "Vector3i", + "return_type": "bool" + }, + { + "name": ">=", + "right_type": "Vector3i", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "Vector3i", + "return_type": "Vector3i" + }, + { + "name": "-", + "right_type": "Vector3i", + "return_type": "Vector3i" + }, + { + "name": "*", + "right_type": "Vector3i", + "return_type": "Vector3i" + }, + { + "name": "/", + "right_type": "Vector3i", + "return_type": "Vector3i" + }, + { + "name": "%", + "right_type": "Vector3i", + "return_type": "Vector3i" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "min_axis", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "max_axis", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "sign", + "return_type": "Vector3i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193073 + }, + { + "name": "abs", + "return_type": "Vector3i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193073 + }, + { + "name": "clamp", + "return_type": "Vector3i", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 10, + "arguments": [ + { + "name": "min", + "type": "Vector3i" + }, + { + "name": "max", + "type": "Vector3i" + } + ] + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Vector3i" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Vector3" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "x", + "type": "int" + }, + { + "name": "y", + "type": "int" + }, + { + "name": "z", + "type": "int" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "Transform2D", + "indexing_return_type": "Vector2", + "is_keyed": true, + "members": [ + { + "name": "x", + "type": "Vector2" + }, + { + "name": "y", + "type": "Vector2" + }, + { + "name": "origin", + "type": "Vector2" + } + ], + "constants": [ + { + "name": "IDENTITY", + "type": "Transform2D", + "value": "Transform2D(1, 0, 0, 1, 0, 0)" + }, + { + "name": "FLIP_X", + "type": "Transform2D", + "value": "Transform2D(-1, 0, 0, 1, 0, 0)" + }, + { + "name": "FLIP_Y", + "type": "Transform2D", + "value": "Transform2D(1, 0, 0, -1, 0, 0)" + } + ], + "operators": [ + { + "name": "*", + "right_type": "int", + "return_type": "Transform2D" + }, + { + "name": "*", + "right_type": "float", + "return_type": "Transform2D" + }, + { + "name": "*", + "right_type": "Vector2", + "return_type": "Vector2" + }, + { + "name": "*", + "right_type": "Rect2", + "return_type": "Rect2" + }, + { + "name": "==", + "right_type": "Transform2D", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Transform2D", + "return_type": "bool" + }, + { + "name": "*", + "right_type": "Transform2D", + "return_type": "Transform2D" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "*", + "right_type": "PackedVector2Array", + "return_type": "PackedVector2Array" + } + ], + "methods": [ + { + "name": "inverse", + "return_type": "Transform2D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193106 + }, + { + "name": "affine_inverse", + "return_type": "Transform2D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193106 + }, + { + "name": "get_rotation", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "get_origin", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192908 + }, + { + "name": "get_scale", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192908 + }, + { + "name": "orthonormalized", + "return_type": "Transform2D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193106 + }, + { + "name": "rotated", + "return_type": "Transform2D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "phi", + "type": "float" + } + ] + }, + { + "name": "scaled", + "return_type": "Transform2D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "scale", + "type": "Vector2" + } + ] + }, + { + "name": "translated", + "return_type": "Transform2D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "basis_xform", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "v", + "type": "Vector2" + } + ] + }, + { + "name": "basis_xform_inv", + "return_type": "Vector2", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "v", + "type": "Vector2" + } + ] + }, + { + "name": "interpolate_with", + "return_type": "Transform2D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "xform", + "type": "Transform2D" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "is_equal_approx", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 11, + "arguments": [ + { + "name": "xform", + "type": "Transform2D" + } + ] + }, + { + "name": "set_rotation", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "rotation", + "type": "float" + } + ] + }, + { + "name": "looking_at", + "return_type": "Transform2D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "target", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Transform2D" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "rotation", + "type": "float" + }, + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "x_axis", + "type": "Vector2" + }, + { + "name": "y_axis", + "type": "Vector2" + }, + { + "name": "origin", + "type": "Vector2" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "Plane", + "is_keyed": true, + "members": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "d", + "type": "float" + }, + { + "name": "normal", + "type": "Vector3" + } + ], + "constants": [ + { + "name": "PLANE_YZ", + "type": "Plane", + "value": "Plane(1, 0, 0, 0)" + }, + { + "name": "PLANE_XZ", + "type": "Plane", + "value": "Plane(0, 1, 0, 0)" + }, + { + "name": "PLANE_XY", + "type": "Plane", + "value": "Plane(0, 0, 1, 0)" + } + ], + "operators": [ + { + "name": "unary-", + "return_type": "Plane" + }, + { + "name": "unary+", + "return_type": "Plane" + }, + { + "name": "==", + "right_type": "Plane", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Plane", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "normalized", + "return_type": "Plane", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193139 + }, + { + "name": "center", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + }, + { + "name": "is_equal_approx", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 12, + "arguments": [ + { + "name": "to_plane", + "type": "Plane" + } + ] + }, + { + "name": "is_point_over", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "plane", + "type": "Vector3" + } + ] + }, + { + "name": "distance_to", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "point", + "type": "Vector3" + } + ] + }, + { + "name": "has_point", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "point", + "type": "Vector3" + }, + { + "name": "epsilon", + "type": "float", + "default_value": "1e-05" + } + ] + }, + { + "name": "project", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "point", + "type": "Vector3" + } + ] + }, + { + "name": "intersect_3", + "return_type": "Variant", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 12, + "arguments": [ + { + "name": "b", + "type": "Plane" + }, + { + "name": "c", + "type": "Plane" + } + ] + }, + { + "name": "intersects_ray", + "return_type": "Variant", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "from", + "type": "Vector3" + }, + { + "name": "dir", + "type": "Vector3" + } + ] + }, + { + "name": "intersects_segment", + "return_type": "Variant", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "from", + "type": "Vector3" + }, + { + "name": "to", + "type": "Vector3" + } + ] + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Plane" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "normal", + "type": "Vector3" + }, + { + "name": "d", + "type": "float" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "point", + "type": "Vector3" + }, + { + "name": "normal", + "type": "Vector3" + } + ] + }, + { + "index": 4, + "arguments": [ + { + "name": "point1", + "type": "Vector3" + }, + { + "name": "point2", + "type": "Vector3" + }, + { + "name": "point3", + "type": "Vector3" + } + ] + }, + { + "index": 5, + "arguments": [ + { + "name": "a", + "type": "float" + }, + { + "name": "b", + "type": "float" + }, + { + "name": "c", + "type": "float" + }, + { + "name": "d", + "type": "float" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "Quaternion", + "indexing_return_type": "float", + "is_keyed": true, + "members": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "w", + "type": "float" + } + ], + "constants": [ + { + "name": "IDENTITY", + "type": "Quaternion", + "value": "Quaternion(0, 0, 0, 1)" + } + ], + "operators": [ + { + "name": "unary-", + "return_type": "Quaternion" + }, + { + "name": "unary+", + "return_type": "Quaternion" + }, + { + "name": "*", + "right_type": "int", + "return_type": "Quaternion" + }, + { + "name": "/", + "right_type": "int", + "return_type": "Quaternion" + }, + { + "name": "*", + "right_type": "float", + "return_type": "Quaternion" + }, + { + "name": "/", + "right_type": "float", + "return_type": "Quaternion" + }, + { + "name": "*", + "right_type": "Vector3", + "return_type": "Vector3" + }, + { + "name": "==", + "right_type": "Quaternion", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Quaternion", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "Quaternion", + "return_type": "Quaternion" + }, + { + "name": "-", + "right_type": "Quaternion", + "return_type": "Quaternion" + }, + { + "name": "*", + "right_type": "Quaternion", + "return_type": "Quaternion" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "length", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "length_squared", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "normalized", + "return_type": "Quaternion", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193172 + }, + { + "name": "is_normalized", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_equal_approx", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 13, + "arguments": [ + { + "name": "to", + "type": "Quaternion" + } + ] + }, + { + "name": "inverse", + "return_type": "Quaternion", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193172 + }, + { + "name": "angle_to", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 13, + "arguments": [ + { + "name": "to", + "type": "Quaternion" + } + ] + }, + { + "name": "dot", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 13, + "arguments": [ + { + "name": "with", + "type": "Quaternion" + } + ] + }, + { + "name": "slerp", + "return_type": "Quaternion", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "to", + "type": "Quaternion" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "slerpni", + "return_type": "Quaternion", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "to", + "type": "Quaternion" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "cubic_slerp", + "return_type": "Quaternion", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "b", + "type": "Quaternion" + }, + { + "name": "pre_a", + "type": "Quaternion" + }, + { + "name": "post_b", + "type": "Quaternion" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "get_euler", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Quaternion" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Basis" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "euler", + "type": "Vector3" + } + ] + }, + { + "index": 4, + "arguments": [ + { + "name": "axis", + "type": "Vector3" + }, + { + "name": "angle", + "type": "float" + } + ] + }, + { + "index": 5, + "arguments": [ + { + "name": "arc_from", + "type": "Vector3" + }, + { + "name": "arc_to", + "type": "Vector3" + } + ] + }, + { + "index": 6, + "arguments": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "w", + "type": "float" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "AABB", + "is_keyed": true, + "members": [ + { + "name": "position", + "type": "Vector3" + }, + { + "name": "size", + "type": "Vector3" + }, + { + "name": "end", + "type": "Vector3" + } + ], + "operators": [ + { + "name": "==", + "right_type": "AABB", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "AABB", + "return_type": "bool" + }, + { + "name": "*", + "right_type": "Transform3D", + "return_type": "AABB" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "abs", + "return_type": "AABB", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193205 + }, + { + "name": "get_area", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "has_no_area", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "has_no_surface", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "has_point", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "point", + "type": "Vector3" + } + ] + }, + { + "name": "is_equal_approx", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 14, + "arguments": [ + { + "name": "aabb", + "type": "AABB" + } + ] + }, + { + "name": "intersects", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 14, + "arguments": [ + { + "name": "with", + "type": "AABB" + } + ] + }, + { + "name": "encloses", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 14, + "arguments": [ + { + "name": "with", + "type": "AABB" + } + ] + }, + { + "name": "intersects_plane", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 12, + "arguments": [ + { + "name": "plane", + "type": "Plane" + } + ] + }, + { + "name": "intersection", + "return_type": "AABB", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 14, + "arguments": [ + { + "name": "with", + "type": "AABB" + } + ] + }, + { + "name": "merge", + "return_type": "AABB", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 14, + "arguments": [ + { + "name": "with", + "type": "AABB" + } + ] + }, + { + "name": "expand", + "return_type": "AABB", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "to_point", + "type": "Vector3" + } + ] + }, + { + "name": "grow", + "return_type": "AABB", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "by", + "type": "float" + } + ] + }, + { + "name": "get_support", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "dir", + "type": "Vector3" + } + ] + }, + { + "name": "get_longest_axis", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + }, + { + "name": "get_longest_axis_index", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "get_longest_axis_size", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "get_shortest_axis", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + }, + { + "name": "get_shortest_axis_index", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "get_shortest_axis_size", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "get_endpoint", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "intersects_segment", + "return_type": "Variant", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "from", + "type": "Vector3" + }, + { + "name": "to", + "type": "Vector3" + } + ] + }, + { + "name": "intersects_ray", + "return_type": "Variant", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "from", + "type": "Vector3" + }, + { + "name": "dir", + "type": "Vector3" + } + ] + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "AABB" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "position", + "type": "Vector3" + }, + { + "name": "size", + "type": "Vector3" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "Basis", + "indexing_return_type": "Vector3", + "is_keyed": true, + "members": [ + { + "name": "x", + "type": "Vector3" + }, + { + "name": "y", + "type": "Vector3" + }, + { + "name": "z", + "type": "Vector3" + } + ], + "constants": [ + { + "name": "IDENTITY", + "type": "Basis", + "value": "Basis(1, 0, 0, 0, 1, 0, 0, 0, 1)" + }, + { + "name": "FLIP_X", + "type": "Basis", + "value": "Basis(-1, 0, 0, 0, 1, 0, 0, 0, 1)" + }, + { + "name": "FLIP_Y", + "type": "Basis", + "value": "Basis(1, 0, 0, 0, -1, 0, 0, 0, 1)" + }, + { + "name": "FLIP_Z", + "type": "Basis", + "value": "Basis(1, 0, 0, 0, 1, 0, 0, 0, -1)" + } + ], + "operators": [ + { + "name": "*", + "right_type": "int", + "return_type": "Basis" + }, + { + "name": "*", + "right_type": "float", + "return_type": "Basis" + }, + { + "name": "*", + "right_type": "Vector3", + "return_type": "Vector3" + }, + { + "name": "==", + "right_type": "Basis", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Basis", + "return_type": "bool" + }, + { + "name": "*", + "right_type": "Basis", + "return_type": "Basis" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "inverse", + "return_type": "Basis", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193238 + }, + { + "name": "transposed", + "return_type": "Basis", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193238 + }, + { + "name": "orthonormalized", + "return_type": "Basis", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193238 + }, + { + "name": "determinant", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192842 + }, + { + "name": "rotated", + "return_type": "Basis", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "axis", + "type": "Vector3" + }, + { + "name": "phi", + "type": "float" + } + ] + }, + { + "name": "scaled", + "return_type": "Basis", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "scale", + "type": "Vector3" + } + ] + }, + { + "name": "get_scale", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + }, + { + "name": "get_euler", + "return_type": "Vector3", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193040 + }, + { + "name": "tdotx", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "with", + "type": "Vector3" + } + ] + }, + { + "name": "tdoty", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "with", + "type": "Vector3" + } + ] + }, + { + "name": "tdotz", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "with", + "type": "Vector3" + } + ] + }, + { + "name": "get_orthogonal_index", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "slerp", + "return_type": "Basis", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "to", + "type": "Basis" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "is_equal_approx", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 15, + "arguments": [ + { + "name": "b", + "type": "Basis" + } + ] + }, + { + "name": "get_rotation_quaternion", + "return_type": "Quaternion", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193172 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Basis" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Quaternion" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "euler", + "type": "Vector3" + } + ] + }, + { + "index": 4, + "arguments": [ + { + "name": "axis", + "type": "Vector3" + }, + { + "name": "phi", + "type": "float" + } + ] + }, + { + "index": 5, + "arguments": [ + { + "name": "x_axis", + "type": "Vector3" + }, + { + "name": "y_axis", + "type": "Vector3" + }, + { + "name": "z_axis", + "type": "Vector3" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "Transform3D", + "is_keyed": true, + "members": [ + { + "name": "basis", + "type": "Basis" + }, + { + "name": "origin", + "type": "Vector3" + } + ], + "constants": [ + { + "name": "IDENTITY", + "type": "Transform3D", + "value": "Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)" + }, + { + "name": "FLIP_X", + "type": "Transform3D", + "value": "Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)" + }, + { + "name": "FLIP_Y", + "type": "Transform3D", + "value": "Transform3D(1, 0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0)" + }, + { + "name": "FLIP_Z", + "type": "Transform3D", + "value": "Transform3D(1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0)" + } + ], + "operators": [ + { + "name": "*", + "right_type": "int", + "return_type": "Transform3D" + }, + { + "name": "*", + "right_type": "float", + "return_type": "Transform3D" + }, + { + "name": "*", + "right_type": "Vector3", + "return_type": "Vector3" + }, + { + "name": "*", + "right_type": "AABB", + "return_type": "AABB" + }, + { + "name": "==", + "right_type": "Transform3D", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Transform3D", + "return_type": "bool" + }, + { + "name": "*", + "right_type": "Transform3D", + "return_type": "Transform3D" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "*", + "right_type": "PackedVector3Array", + "return_type": "PackedVector3Array" + } + ], + "methods": [ + { + "name": "inverse", + "return_type": "Transform3D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193271 + }, + { + "name": "affine_inverse", + "return_type": "Transform3D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193271 + }, + { + "name": "orthonormalized", + "return_type": "Transform3D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193271 + }, + { + "name": "rotated", + "return_type": "Transform3D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "axis", + "type": "Vector3" + }, + { + "name": "phi", + "type": "float" + } + ] + }, + { + "name": "scaled", + "return_type": "Transform3D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "scale", + "type": "Vector3" + } + ] + }, + { + "name": "translated", + "return_type": "Transform3D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "offset", + "type": "Vector3" + } + ] + }, + { + "name": "looking_at", + "return_type": "Transform3D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "target", + "type": "Vector3" + }, + { + "name": "up", + "type": "Vector3", + "default_value": "Vector3(0, 1, 0)" + } + ] + }, + { + "name": "interpolate_with", + "return_type": "Transform3D", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "xform", + "type": "Transform3D" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "is_equal_approx", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 16, + "arguments": [ + { + "name": "xform", + "type": "Transform3D" + } + ] + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Transform3D" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "basis", + "type": "Basis" + }, + { + "name": "origin", + "type": "Vector3" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "x_axis", + "type": "Vector3" + }, + { + "name": "y_axis", + "type": "Vector3" + }, + { + "name": "z_axis", + "type": "Vector3" + }, + { + "name": "origin", + "type": "Vector3" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "Color", + "indexing_return_type": "float", + "is_keyed": true, + "members": [ + { + "name": "r", + "type": "float" + }, + { + "name": "g", + "type": "float" + }, + { + "name": "b", + "type": "float" + }, + { + "name": "a", + "type": "float" + }, + { + "name": "r8", + "type": "int" + }, + { + "name": "g8", + "type": "int" + }, + { + "name": "b8", + "type": "int" + }, + { + "name": "a8", + "type": "int" + }, + { + "name": "h", + "type": "float" + }, + { + "name": "s", + "type": "float" + }, + { + "name": "v", + "type": "float" + } + ], + "constants": [ + { + "name": "ALICE_BLUE", + "type": "Color", + "value": "Color(0.94, 0.97, 1, 1)" + }, + { + "name": "ANTIQUE_WHITE", + "type": "Color", + "value": "Color(0.98, 0.92, 0.84, 1)" + }, + { + "name": "AQUA", + "type": "Color", + "value": "Color(0, 1, 1, 1)" + }, + { + "name": "AQUAMARINE", + "type": "Color", + "value": "Color(0.5, 1, 0.83, 1)" + }, + { + "name": "AZURE", + "type": "Color", + "value": "Color(0.94, 1, 1, 1)" + }, + { + "name": "BEIGE", + "type": "Color", + "value": "Color(0.96, 0.96, 0.86, 1)" + }, + { + "name": "BISQUE", + "type": "Color", + "value": "Color(1, 0.89, 0.77, 1)" + }, + { + "name": "BLACK", + "type": "Color", + "value": "Color(0, 0, 0, 1)" + }, + { + "name": "BLANCHED_ALMOND", + "type": "Color", + "value": "Color(1, 0.92, 0.8, 1)" + }, + { + "name": "BLUE", + "type": "Color", + "value": "Color(0, 0, 1, 1)" + }, + { + "name": "BLUE_VIOLET", + "type": "Color", + "value": "Color(0.54, 0.17, 0.89, 1)" + }, + { + "name": "BROWN", + "type": "Color", + "value": "Color(0.65, 0.16, 0.16, 1)" + }, + { + "name": "BURLYWOOD", + "type": "Color", + "value": "Color(0.87, 0.72, 0.53, 1)" + }, + { + "name": "CADET_BLUE", + "type": "Color", + "value": "Color(0.37, 0.62, 0.63, 1)" + }, + { + "name": "CHARTREUSE", + "type": "Color", + "value": "Color(0.5, 1, 0, 1)" + }, + { + "name": "CHOCOLATE", + "type": "Color", + "value": "Color(0.82, 0.41, 0.12, 1)" + }, + { + "name": "CORAL", + "type": "Color", + "value": "Color(1, 0.5, 0.31, 1)" + }, + { + "name": "CORNFLOWER_BLUE", + "type": "Color", + "value": "Color(0.39, 0.58, 0.93, 1)" + }, + { + "name": "CORNSILK", + "type": "Color", + "value": "Color(1, 0.97, 0.86, 1)" + }, + { + "name": "CRIMSON", + "type": "Color", + "value": "Color(0.86, 0.08, 0.24, 1)" + }, + { + "name": "CYAN", + "type": "Color", + "value": "Color(0, 1, 1, 1)" + }, + { + "name": "DARK_BLUE", + "type": "Color", + "value": "Color(0, 0, 0.55, 1)" + }, + { + "name": "DARK_CYAN", + "type": "Color", + "value": "Color(0, 0.55, 0.55, 1)" + }, + { + "name": "DARK_GOLDENROD", + "type": "Color", + "value": "Color(0.72, 0.53, 0.04, 1)" + }, + { + "name": "DARK_GRAY", + "type": "Color", + "value": "Color(0.66, 0.66, 0.66, 1)" + }, + { + "name": "DARK_GREEN", + "type": "Color", + "value": "Color(0, 0.39, 0, 1)" + }, + { + "name": "DARK_KHAKI", + "type": "Color", + "value": "Color(0.74, 0.72, 0.42, 1)" + }, + { + "name": "DARK_MAGENTA", + "type": "Color", + "value": "Color(0.55, 0, 0.55, 1)" + }, + { + "name": "DARK_OLIVE_GREEN", + "type": "Color", + "value": "Color(0.33, 0.42, 0.18, 1)" + }, + { + "name": "DARK_ORANGE", + "type": "Color", + "value": "Color(1, 0.55, 0, 1)" + }, + { + "name": "DARK_ORCHID", + "type": "Color", + "value": "Color(0.6, 0.2, 0.8, 1)" + }, + { + "name": "DARK_RED", + "type": "Color", + "value": "Color(0.55, 0, 0, 1)" + }, + { + "name": "DARK_SALMON", + "type": "Color", + "value": "Color(0.91, 0.59, 0.48, 1)" + }, + { + "name": "DARK_SEA_GREEN", + "type": "Color", + "value": "Color(0.56, 0.74, 0.56, 1)" + }, + { + "name": "DARK_SLATE_BLUE", + "type": "Color", + "value": "Color(0.28, 0.24, 0.55, 1)" + }, + { + "name": "DARK_SLATE_GRAY", + "type": "Color", + "value": "Color(0.18, 0.31, 0.31, 1)" + }, + { + "name": "DARK_TURQUOISE", + "type": "Color", + "value": "Color(0, 0.81, 0.82, 1)" + }, + { + "name": "DARK_VIOLET", + "type": "Color", + "value": "Color(0.58, 0, 0.83, 1)" + }, + { + "name": "DEEP_PINK", + "type": "Color", + "value": "Color(1, 0.08, 0.58, 1)" + }, + { + "name": "DEEP_SKY_BLUE", + "type": "Color", + "value": "Color(0, 0.75, 1, 1)" + }, + { + "name": "DIM_GRAY", + "type": "Color", + "value": "Color(0.41, 0.41, 0.41, 1)" + }, + { + "name": "DODGER_BLUE", + "type": "Color", + "value": "Color(0.12, 0.56, 1, 1)" + }, + { + "name": "FIREBRICK", + "type": "Color", + "value": "Color(0.7, 0.13, 0.13, 1)" + }, + { + "name": "FLORAL_WHITE", + "type": "Color", + "value": "Color(1, 0.98, 0.94, 1)" + }, + { + "name": "FOREST_GREEN", + "type": "Color", + "value": "Color(0.13, 0.55, 0.13, 1)" + }, + { + "name": "FUCHSIA", + "type": "Color", + "value": "Color(1, 0, 1, 1)" + }, + { + "name": "GAINSBORO", + "type": "Color", + "value": "Color(0.86, 0.86, 0.86, 1)" + }, + { + "name": "GHOST_WHITE", + "type": "Color", + "value": "Color(0.97, 0.97, 1, 1)" + }, + { + "name": "GOLD", + "type": "Color", + "value": "Color(1, 0.84, 0, 1)" + }, + { + "name": "GOLDENROD", + "type": "Color", + "value": "Color(0.85, 0.65, 0.13, 1)" + }, + { + "name": "GRAY", + "type": "Color", + "value": "Color(0.75, 0.75, 0.75, 1)" + }, + { + "name": "GREEN", + "type": "Color", + "value": "Color(0, 1, 0, 1)" + }, + { + "name": "GREEN_YELLOW", + "type": "Color", + "value": "Color(0.68, 1, 0.18, 1)" + }, + { + "name": "HONEYDEW", + "type": "Color", + "value": "Color(0.94, 1, 0.94, 1)" + }, + { + "name": "HOT_PINK", + "type": "Color", + "value": "Color(1, 0.41, 0.71, 1)" + }, + { + "name": "INDIAN_RED", + "type": "Color", + "value": "Color(0.8, 0.36, 0.36, 1)" + }, + { + "name": "INDIGO", + "type": "Color", + "value": "Color(0.29, 0, 0.51, 1)" + }, + { + "name": "IVORY", + "type": "Color", + "value": "Color(1, 1, 0.94, 1)" + }, + { + "name": "KHAKI", + "type": "Color", + "value": "Color(0.94, 0.9, 0.55, 1)" + }, + { + "name": "LAVENDER", + "type": "Color", + "value": "Color(0.9, 0.9, 0.98, 1)" + }, + { + "name": "LAVENDER_BLUSH", + "type": "Color", + "value": "Color(1, 0.94, 0.96, 1)" + }, + { + "name": "LAWN_GREEN", + "type": "Color", + "value": "Color(0.49, 0.99, 0, 1)" + }, + { + "name": "LEMON_CHIFFON", + "type": "Color", + "value": "Color(1, 0.98, 0.8, 1)" + }, + { + "name": "LIGHT_BLUE", + "type": "Color", + "value": "Color(0.68, 0.85, 0.9, 1)" + }, + { + "name": "LIGHT_CORAL", + "type": "Color", + "value": "Color(0.94, 0.5, 0.5, 1)" + }, + { + "name": "LIGHT_CYAN", + "type": "Color", + "value": "Color(0.88, 1, 1, 1)" + }, + { + "name": "LIGHT_GOLDENROD", + "type": "Color", + "value": "Color(0.98, 0.98, 0.82, 1)" + }, + { + "name": "LIGHT_GRAY", + "type": "Color", + "value": "Color(0.83, 0.83, 0.83, 1)" + }, + { + "name": "LIGHT_GREEN", + "type": "Color", + "value": "Color(0.56, 0.93, 0.56, 1)" + }, + { + "name": "LIGHT_PINK", + "type": "Color", + "value": "Color(1, 0.71, 0.76, 1)" + }, + { + "name": "LIGHT_SALMON", + "type": "Color", + "value": "Color(1, 0.63, 0.48, 1)" + }, + { + "name": "LIGHT_SEA_GREEN", + "type": "Color", + "value": "Color(0.13, 0.7, 0.67, 1)" + }, + { + "name": "LIGHT_SKY_BLUE", + "type": "Color", + "value": "Color(0.53, 0.81, 0.98, 1)" + }, + { + "name": "LIGHT_SLATE_GRAY", + "type": "Color", + "value": "Color(0.47, 0.53, 0.6, 1)" + }, + { + "name": "LIGHT_STEEL_BLUE", + "type": "Color", + "value": "Color(0.69, 0.77, 0.87, 1)" + }, + { + "name": "LIGHT_YELLOW", + "type": "Color", + "value": "Color(1, 1, 0.88, 1)" + }, + { + "name": "LIME", + "type": "Color", + "value": "Color(0, 1, 0, 1)" + }, + { + "name": "LIME_GREEN", + "type": "Color", + "value": "Color(0.2, 0.8, 0.2, 1)" + }, + { + "name": "LINEN", + "type": "Color", + "value": "Color(0.98, 0.94, 0.9, 1)" + }, + { + "name": "MAGENTA", + "type": "Color", + "value": "Color(1, 0, 1, 1)" + }, + { + "name": "MAROON", + "type": "Color", + "value": "Color(0.69, 0.19, 0.38, 1)" + }, + { + "name": "MEDIUM_AQUAMARINE", + "type": "Color", + "value": "Color(0.4, 0.8, 0.67, 1)" + }, + { + "name": "MEDIUM_BLUE", + "type": "Color", + "value": "Color(0, 0, 0.8, 1)" + }, + { + "name": "MEDIUM_ORCHID", + "type": "Color", + "value": "Color(0.73, 0.33, 0.83, 1)" + }, + { + "name": "MEDIUM_PURPLE", + "type": "Color", + "value": "Color(0.58, 0.44, 0.86, 1)" + }, + { + "name": "MEDIUM_SEA_GREEN", + "type": "Color", + "value": "Color(0.24, 0.7, 0.44, 1)" + }, + { + "name": "MEDIUM_SLATE_BLUE", + "type": "Color", + "value": "Color(0.48, 0.41, 0.93, 1)" + }, + { + "name": "MEDIUM_SPRING_GREEN", + "type": "Color", + "value": "Color(0, 0.98, 0.6, 1)" + }, + { + "name": "MEDIUM_TURQUOISE", + "type": "Color", + "value": "Color(0.28, 0.82, 0.8, 1)" + }, + { + "name": "MEDIUM_VIOLET_RED", + "type": "Color", + "value": "Color(0.78, 0.08, 0.52, 1)" + }, + { + "name": "MIDNIGHT_BLUE", + "type": "Color", + "value": "Color(0.1, 0.1, 0.44, 1)" + }, + { + "name": "MINT_CREAM", + "type": "Color", + "value": "Color(0.96, 1, 0.98, 1)" + }, + { + "name": "MISTY_ROSE", + "type": "Color", + "value": "Color(1, 0.89, 0.88, 1)" + }, + { + "name": "MOCCASIN", + "type": "Color", + "value": "Color(1, 0.89, 0.71, 1)" + }, + { + "name": "NAVAJO_WHITE", + "type": "Color", + "value": "Color(1, 0.87, 0.68, 1)" + }, + { + "name": "NAVY_BLUE", + "type": "Color", + "value": "Color(0, 0, 0.5, 1)" + }, + { + "name": "OLD_LACE", + "type": "Color", + "value": "Color(0.99, 0.96, 0.9, 1)" + }, + { + "name": "OLIVE", + "type": "Color", + "value": "Color(0.5, 0.5, 0, 1)" + }, + { + "name": "OLIVE_DRAB", + "type": "Color", + "value": "Color(0.42, 0.56, 0.14, 1)" + }, + { + "name": "ORANGE", + "type": "Color", + "value": "Color(1, 0.65, 0, 1)" + }, + { + "name": "ORANGE_RED", + "type": "Color", + "value": "Color(1, 0.27, 0, 1)" + }, + { + "name": "ORCHID", + "type": "Color", + "value": "Color(0.85, 0.44, 0.84, 1)" + }, + { + "name": "PALE_GOLDENROD", + "type": "Color", + "value": "Color(0.93, 0.91, 0.67, 1)" + }, + { + "name": "PALE_GREEN", + "type": "Color", + "value": "Color(0.6, 0.98, 0.6, 1)" + }, + { + "name": "PALE_TURQUOISE", + "type": "Color", + "value": "Color(0.69, 0.93, 0.93, 1)" + }, + { + "name": "PALE_VIOLET_RED", + "type": "Color", + "value": "Color(0.86, 0.44, 0.58, 1)" + }, + { + "name": "PAPAYA_WHIP", + "type": "Color", + "value": "Color(1, 0.94, 0.84, 1)" + }, + { + "name": "PEACH_PUFF", + "type": "Color", + "value": "Color(1, 0.85, 0.73, 1)" + }, + { + "name": "PERU", + "type": "Color", + "value": "Color(0.8, 0.52, 0.25, 1)" + }, + { + "name": "PINK", + "type": "Color", + "value": "Color(1, 0.75, 0.8, 1)" + }, + { + "name": "PLUM", + "type": "Color", + "value": "Color(0.87, 0.63, 0.87, 1)" + }, + { + "name": "POWDER_BLUE", + "type": "Color", + "value": "Color(0.69, 0.88, 0.9, 1)" + }, + { + "name": "PURPLE", + "type": "Color", + "value": "Color(0.63, 0.13, 0.94, 1)" + }, + { + "name": "REBECCA_PURPLE", + "type": "Color", + "value": "Color(0.4, 0.2, 0.6, 1)" + }, + { + "name": "RED", + "type": "Color", + "value": "Color(1, 0, 0, 1)" + }, + { + "name": "ROSY_BROWN", + "type": "Color", + "value": "Color(0.74, 0.56, 0.56, 1)" + }, + { + "name": "ROYAL_BLUE", + "type": "Color", + "value": "Color(0.25, 0.41, 0.88, 1)" + }, + { + "name": "SADDLE_BROWN", + "type": "Color", + "value": "Color(0.55, 0.27, 0.07, 1)" + }, + { + "name": "SALMON", + "type": "Color", + "value": "Color(0.98, 0.5, 0.45, 1)" + }, + { + "name": "SANDY_BROWN", + "type": "Color", + "value": "Color(0.96, 0.64, 0.38, 1)" + }, + { + "name": "SEA_GREEN", + "type": "Color", + "value": "Color(0.18, 0.55, 0.34, 1)" + }, + { + "name": "SEASHELL", + "type": "Color", + "value": "Color(1, 0.96, 0.93, 1)" + }, + { + "name": "SIENNA", + "type": "Color", + "value": "Color(0.63, 0.32, 0.18, 1)" + }, + { + "name": "SILVER", + "type": "Color", + "value": "Color(0.75, 0.75, 0.75, 1)" + }, + { + "name": "SKY_BLUE", + "type": "Color", + "value": "Color(0.53, 0.81, 0.92, 1)" + }, + { + "name": "SLATE_BLUE", + "type": "Color", + "value": "Color(0.42, 0.35, 0.8, 1)" + }, + { + "name": "SLATE_GRAY", + "type": "Color", + "value": "Color(0.44, 0.5, 0.56, 1)" + }, + { + "name": "SNOW", + "type": "Color", + "value": "Color(1, 0.98, 0.98, 1)" + }, + { + "name": "SPRING_GREEN", + "type": "Color", + "value": "Color(0, 1, 0.5, 1)" + }, + { + "name": "STEEL_BLUE", + "type": "Color", + "value": "Color(0.27, 0.51, 0.71, 1)" + }, + { + "name": "TAN", + "type": "Color", + "value": "Color(0.82, 0.71, 0.55, 1)" + }, + { + "name": "TEAL", + "type": "Color", + "value": "Color(0, 0.5, 0.5, 1)" + }, + { + "name": "THISTLE", + "type": "Color", + "value": "Color(0.85, 0.75, 0.85, 1)" + }, + { + "name": "TOMATO", + "type": "Color", + "value": "Color(1, 0.39, 0.28, 1)" + }, + { + "name": "TRANSPARENT", + "type": "Color", + "value": "Color(1, 1, 1, 0)" + }, + { + "name": "TURQUOISE", + "type": "Color", + "value": "Color(0.25, 0.88, 0.82, 1)" + }, + { + "name": "VIOLET", + "type": "Color", + "value": "Color(0.93, 0.51, 0.93, 1)" + }, + { + "name": "WEB_GRAY", + "type": "Color", + "value": "Color(0.5, 0.5, 0.5, 1)" + }, + { + "name": "WEB_GREEN", + "type": "Color", + "value": "Color(0, 0.5, 0, 1)" + }, + { + "name": "WEB_MAROON", + "type": "Color", + "value": "Color(0.5, 0, 0, 1)" + }, + { + "name": "WEB_PURPLE", + "type": "Color", + "value": "Color(0.5, 0, 0.5, 1)" + }, + { + "name": "WHEAT", + "type": "Color", + "value": "Color(0.96, 0.87, 0.7, 1)" + }, + { + "name": "WHITE", + "type": "Color", + "value": "Color(1, 1, 1, 1)" + }, + { + "name": "WHITE_SMOKE", + "type": "Color", + "value": "Color(0.96, 0.96, 0.96, 1)" + }, + { + "name": "YELLOW", + "type": "Color", + "value": "Color(1, 1, 0, 1)" + }, + { + "name": "YELLOW_GREEN", + "type": "Color", + "value": "Color(0.6, 0.8, 0.2, 1)" + } + ], + "operators": [ + { + "name": "unary-", + "return_type": "Color" + }, + { + "name": "unary+", + "return_type": "Color" + }, + { + "name": "*", + "right_type": "int", + "return_type": "Color" + }, + { + "name": "/", + "right_type": "int", + "return_type": "Color" + }, + { + "name": "*", + "right_type": "float", + "return_type": "Color" + }, + { + "name": "/", + "right_type": "float", + "return_type": "Color" + }, + { + "name": "==", + "right_type": "Color", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Color", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "Color", + "return_type": "Color" + }, + { + "name": "-", + "right_type": "Color", + "return_type": "Color" + }, + { + "name": "*", + "right_type": "Color", + "return_type": "Color" + }, + { + "name": "/", + "right_type": "Color", + "return_type": "Color" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "PackedColorArray", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "to_argb32", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "to_abgr32", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "to_rgba32", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "to_argb64", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "to_abgr64", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "to_rgba64", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "clamp", + "return_type": "Color", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 17, + "arguments": [ + { + "name": "min", + "type": "Color", + "default_value": "Color(0, 0, 0, 0)" + }, + { + "name": "max", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "inverted", + "return_type": "Color", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193304 + }, + { + "name": "lerp", + "return_type": "Color", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "to", + "type": "Color" + }, + { + "name": "weight", + "type": "float" + } + ] + }, + { + "name": "lightened", + "return_type": "Color", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "amount", + "type": "float" + } + ] + }, + { + "name": "darkened", + "return_type": "Color", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "amount", + "type": "float" + } + ] + }, + { + "name": "to_html", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "with_alpha", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "blend", + "return_type": "Color", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 17, + "arguments": [ + { + "name": "over", + "type": "Color" + } + ] + }, + { + "name": "is_equal_approx", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 17, + "arguments": [ + { + "name": "to", + "type": "Color" + } + ] + }, + { + "name": "hex", + "return_type": "Color", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 2, + "arguments": [ + { + "name": "hex", + "type": "int" + } + ] + }, + { + "name": "hex64", + "return_type": "Color", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 2, + "arguments": [ + { + "name": "hex", + "type": "int" + } + ] + }, + { + "name": "html", + "return_type": "Color", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 4, + "arguments": [ + { + "name": "rgba", + "type": "String" + } + ] + }, + { + "name": "html_is_valid", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 4, + "arguments": [ + { + "name": "color", + "type": "String" + } + ] + }, + { + "name": "find_named_color", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 4, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_named_color_count", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 133243337 + }, + { + "name": "get_named_color_name", + "return_type": "String", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 2, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "get_named_color", + "return_type": "Color", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 2, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "from_string", + "return_type": "Color", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 17, + "arguments": [ + { + "name": "str", + "type": "String" + }, + { + "name": "default", + "type": "Color" + } + ] + }, + { + "name": "from_rgbe9995", + "return_type": "Color", + "is_vararg": false, + "is_const": false, + "is_static": true, + "hash": 2, + "arguments": [ + { + "name": "rgbe", + "type": "int" + } + ] + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Color" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Color" + }, + { + "name": "alpha", + "type": "float" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "r", + "type": "float" + }, + { + "name": "g", + "type": "float" + }, + { + "name": "b", + "type": "float" + } + ] + }, + { + "index": 4, + "arguments": [ + { + "name": "r", + "type": "float" + }, + { + "name": "g", + "type": "float" + }, + { + "name": "b", + "type": "float" + }, + { + "name": "a", + "type": "float" + } + ] + }, + { + "index": 5, + "arguments": [ + { + "name": "code", + "type": "String" + } + ] + }, + { + "index": 6, + "arguments": [ + { + "name": "code", + "type": "String" + }, + { + "name": "alpha", + "type": "float" + } + ] + } + ], + "has_destructor": false + }, + { + "name": "StringName", + "is_keyed": true, + "operators": [ + { + "name": "==", + "right_type": "String", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "String", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "StringName", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "StringName", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Object", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "StringName" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "String" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "NodePath", + "is_keyed": true, + "operators": [ + { + "name": "==", + "right_type": "NodePath", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "NodePath", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "is_absolute", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "get_name_count", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "get_name", + "return_type": "StringName", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "get_subname_count", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "get_subname", + "return_type": "StringName", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "get_concatenated_subnames", + "return_type": "StringName", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193337 + }, + { + "name": "get_as_property_path", + "return_type": "NodePath", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193370 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "NodePath" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "String" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "RID", + "is_keyed": true, + "operators": [ + { + "name": "==", + "right_type": "RID", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "RID", + "return_type": "bool" + }, + { + "name": "<", + "right_type": "RID", + "return_type": "bool" + }, + { + "name": "<=", + "right_type": "RID", + "return_type": "bool" + }, + { + "name": ">", + "right_type": "RID", + "return_type": "bool" + }, + { + "name": ">=", + "right_type": "RID", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "get_id", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "RID" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "Callable", + "is_keyed": true, + "operators": [ + { + "name": "==", + "right_type": "Callable", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Callable", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "is_null", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_custom", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_standard", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "is_valid", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "get_object", + "return_type": "Object", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193436 + }, + { + "name": "get_object_id", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "get_method", + "return_type": "StringName", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193337 + }, + { + "name": "hash", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "unbind", + "return_type": "Callable", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "argcount", + "type": "int" + } + ] + }, + { + "name": "call", + "return_type": "Variant", + "is_vararg": true, + "is_const": true, + "is_static": false, + "hash": 171228680 + }, + { + "name": "call_deferred", + "is_vararg": true, + "is_const": true, + "is_static": false, + "hash": 135339239 + }, + { + "name": "rpc", + "is_vararg": true, + "is_const": true, + "is_static": false, + "hash": 135339239 + }, + { + "name": "rpc_id", + "is_vararg": true, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "peer_id", + "type": "int" + } + ] + }, + { + "name": "bind", + "return_type": "Callable", + "is_vararg": true, + "is_const": true, + "is_static": false, + "hash": 171229406 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Callable" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "object", + "type": "Object" + }, + { + "name": "method", + "type": "StringName" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "Signal", + "is_keyed": true, + "operators": [ + { + "name": "==", + "right_type": "Signal", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Signal", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "is_null", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "get_object", + "return_type": "Object", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193436 + }, + { + "name": "get_object_id", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "get_name", + "return_type": "StringName", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193337 + }, + { + "name": "connect", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "callable", + "type": "Callable" + }, + { + "name": "binds", + "type": "Array", + "default_value": "[]" + }, + { + "name": "flags", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "disconnect", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 22, + "arguments": [ + { + "name": "callable", + "type": "Callable" + } + ] + }, + { + "name": "is_connected", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 22, + "arguments": [ + { + "name": "callable", + "type": "Callable" + } + ] + }, + { + "name": "get_connections", + "return_type": "Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193568 + }, + { + "name": "emit", + "is_vararg": true, + "is_const": true, + "is_static": false, + "hash": 135339239 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Signal" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "object", + "type": "Object" + }, + { + "name": "signal", + "type": "StringName" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "Dictionary", + "indexing_return_type": "Variant", + "is_keyed": true, + "operators": [ + { + "name": "==", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "size", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "clear", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "has", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "key", + "type": "Variant" + } + ] + }, + { + "name": "has_all", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 25, + "arguments": [ + { + "name": "keys", + "type": "Array" + } + ] + }, + { + "name": "erase", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "key", + "type": "Variant" + } + ] + }, + { + "name": "hash", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "keys", + "return_type": "Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193568 + }, + { + "name": "values", + "return_type": "Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193568 + }, + { + "name": "duplicate", + "return_type": "Dictionary", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "deep", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get", + "return_type": "Variant", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "key", + "type": "Variant" + }, + { + "name": "default", + "type": "Variant", + "default_value": "null" + } + ] + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Dictionary" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "Array", + "indexing_return_type": "Variant", + "is_keyed": true, + "operators": [ + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "<", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "<=", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": ">", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": ">=", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "Array", + "return_type": "Array" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + } + ], + "methods": [ + { + "name": "size", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "clear", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "hash", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "push_back", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "push_front", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "append", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "append_array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 25, + "arguments": [ + { + "name": "array", + "type": "Array" + } + ] + }, + { + "name": "resize", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "size", + "type": "int" + } + ] + }, + { + "name": "insert", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "position", + "type": "int" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "remove", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "position", + "type": "int" + } + ] + }, + { + "name": "fill", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "erase", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "front", + "return_type": "Variant", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192743 + }, + { + "name": "back", + "return_type": "Variant", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192743 + }, + { + "name": "find", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "what", + "type": "Variant" + }, + { + "name": "from", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "rfind", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "what", + "type": "Variant" + }, + { + "name": "from", + "type": "int", + "default_value": "-1" + } + ] + }, + { + "name": "find_last", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "count", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "has", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "pop_back", + "return_type": "Variant", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 132057350 + }, + { + "name": "pop_front", + "return_type": "Variant", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 132057350 + }, + { + "name": "sort", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "sort_custom", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 22, + "arguments": [ + { + "name": "func", + "type": "Callable" + } + ] + }, + { + "name": "shuffle", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "bsearch", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "value", + "type": "Variant" + }, + { + "name": "before", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "bsearch_custom", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "value", + "type": "Variant" + }, + { + "name": "func", + "type": "Callable" + }, + { + "name": "before", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "reverse", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "duplicate", + "return_type": "Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "deep", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "slice", + "return_type": "Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "begin", + "type": "int" + }, + { + "name": "end", + "type": "int" + }, + { + "name": "step", + "type": "int", + "default_value": "1" + }, + { + "name": "deep", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "filter", + "return_type": "Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 22, + "arguments": [ + { + "name": "method", + "type": "Callable" + } + ] + }, + { + "name": "map", + "return_type": "Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 22, + "arguments": [ + { + "name": "method", + "type": "Callable" + } + ] + }, + { + "name": "reduce", + "return_type": "Variant", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 0, + "arguments": [ + { + "name": "method", + "type": "Callable" + }, + { + "name": "accum", + "type": "Variant", + "default_value": "null" + } + ] + }, + { + "name": "max", + "return_type": "Variant", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192743 + }, + { + "name": "min", + "return_type": "Variant", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192743 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "Array" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "PackedByteArray" + } + ] + }, + { + "index": 3, + "arguments": [ + { + "name": "from", + "type": "PackedInt32Array" + } + ] + }, + { + "index": 4, + "arguments": [ + { + "name": "from", + "type": "PackedInt64Array" + } + ] + }, + { + "index": 5, + "arguments": [ + { + "name": "from", + "type": "PackedFloat32Array" + } + ] + }, + { + "index": 6, + "arguments": [ + { + "name": "from", + "type": "PackedFloat64Array" + } + ] + }, + { + "index": 7, + "arguments": [ + { + "name": "from", + "type": "PackedStringArray" + } + ] + }, + { + "index": 8, + "arguments": [ + { + "name": "from", + "type": "PackedVector2Array" + } + ] + }, + { + "index": 9, + "arguments": [ + { + "name": "from", + "type": "PackedVector3Array" + } + ] + }, + { + "index": 10, + "arguments": [ + { + "name": "from", + "type": "PackedColorArray" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "PackedByteArray", + "indexing_return_type": "int", + "is_keyed": true, + "operators": [ + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "PackedByteArray", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "PackedByteArray", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "PackedByteArray", + "return_type": "PackedByteArray" + } + ], + "methods": [ + { + "name": "size", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "set", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "index", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "push_back", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "append", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "append_array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 26, + "arguments": [ + { + "name": "array", + "type": "PackedByteArray" + } + ] + }, + { + "name": "remove", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "insert", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "at_index", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "fill", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "resize", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "new_size", + "type": "int" + } + ] + }, + { + "name": "has", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "reverse", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "subarray", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "from", + "type": "int" + }, + { + "name": "to", + "type": "int" + } + ] + }, + { + "name": "sort", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "duplicate", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 132058208 + }, + { + "name": "get_string_from_ascii", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "get_string_from_utf8", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "get_string_from_utf16", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "get_string_from_utf32", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "hex_encode", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192875 + }, + { + "name": "compress", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "compression_mode", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "decompress", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "buffer_size", + "type": "int" + }, + { + "name": "compression_mode", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "decompress_dynamic", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "max_output_size", + "type": "int" + }, + { + "name": "compression_mode", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "decode_u8", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + } + ] + }, + { + "name": "decode_s8", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + } + ] + }, + { + "name": "decode_u16", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + } + ] + }, + { + "name": "decode_s16", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + } + ] + }, + { + "name": "decode_u32", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + } + ] + }, + { + "name": "decode_s32", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + } + ] + }, + { + "name": "decode_u64", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + } + ] + }, + { + "name": "decode_s64", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + } + ] + }, + { + "name": "decode_half", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + } + ] + }, + { + "name": "decode_float", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + } + ] + }, + { + "name": "decode_double", + "return_type": "float", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + } + ] + }, + { + "name": "has_encoded_var", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "allow_objects", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "decode_var", + "return_type": "Variant", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "allow_objects", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "decode_var_size", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "allow_objects", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "to_int32_array", + "return_type": "PackedInt32Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193634 + }, + { + "name": "to_int64_array", + "return_type": "PackedInt64Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193667 + }, + { + "name": "to_float32_array", + "return_type": "PackedFloat32Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193700 + }, + { + "name": "to_float64_array", + "return_type": "PackedFloat64Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193733 + }, + { + "name": "encode_u8", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "encode_s8", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "encode_u16", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "encode_s16", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "encode_u32", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "encode_s32", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "encode_u64", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "encode_s64", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "encode_half", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "encode_float", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "encode_double", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "encode_var", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 1, + "arguments": [ + { + "name": "byte_offset", + "type": "int" + }, + { + "name": "value", + "type": "Variant" + }, + { + "name": "allow_objects", + "type": "bool", + "default_value": "false" + } + ] + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "PackedByteArray" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Array" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "PackedInt32Array", + "indexing_return_type": "int", + "is_keyed": true, + "operators": [ + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "PackedInt32Array", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "PackedInt32Array", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "PackedInt32Array", + "return_type": "PackedInt32Array" + } + ], + "methods": [ + { + "name": "size", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "set", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "index", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "push_back", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "append", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "append_array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 27, + "arguments": [ + { + "name": "array", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "remove", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "insert", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "at_index", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "fill", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "resize", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "new_size", + "type": "int" + } + ] + }, + { + "name": "has", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "reverse", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "subarray", + "return_type": "PackedInt32Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "from", + "type": "int" + }, + { + "name": "to", + "type": "int" + } + ] + }, + { + "name": "to_byte_array", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "sort", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "duplicate", + "return_type": "PackedInt32Array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 132058241 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "PackedInt32Array" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Array" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "PackedInt64Array", + "indexing_return_type": "int", + "is_keyed": true, + "operators": [ + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "PackedInt64Array", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "PackedInt64Array", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "PackedInt64Array", + "return_type": "PackedInt64Array" + } + ], + "methods": [ + { + "name": "size", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "set", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "index", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "push_back", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "append", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "append_array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 28, + "arguments": [ + { + "name": "array", + "type": "PackedInt64Array" + } + ] + }, + { + "name": "remove", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "insert", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "at_index", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "fill", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "resize", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "new_size", + "type": "int" + } + ] + }, + { + "name": "has", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "reverse", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "subarray", + "return_type": "PackedInt64Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "from", + "type": "int" + }, + { + "name": "to", + "type": "int" + } + ] + }, + { + "name": "to_byte_array", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "sort", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "duplicate", + "return_type": "PackedInt64Array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 132058274 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "PackedInt64Array" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Array" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "PackedFloat32Array", + "indexing_return_type": "float", + "is_keyed": true, + "operators": [ + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "PackedFloat32Array", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "PackedFloat32Array", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "PackedFloat32Array", + "return_type": "PackedFloat32Array" + } + ], + "methods": [ + { + "name": "size", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "set", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "index", + "type": "int" + }, + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "push_back", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "append", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "append_array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 29, + "arguments": [ + { + "name": "array", + "type": "PackedFloat32Array" + } + ] + }, + { + "name": "remove", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "insert", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "at_index", + "type": "int" + }, + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "fill", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "resize", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "new_size", + "type": "int" + } + ] + }, + { + "name": "has", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "reverse", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "subarray", + "return_type": "PackedFloat32Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "from", + "type": "int" + }, + { + "name": "to", + "type": "int" + } + ] + }, + { + "name": "to_byte_array", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "sort", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "duplicate", + "return_type": "PackedFloat32Array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 132058307 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "PackedFloat32Array" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Array" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "PackedFloat64Array", + "indexing_return_type": "float", + "is_keyed": true, + "operators": [ + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "PackedFloat64Array", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "PackedFloat64Array", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "PackedFloat64Array", + "return_type": "PackedFloat64Array" + } + ], + "methods": [ + { + "name": "size", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "set", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "index", + "type": "int" + }, + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "push_back", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "append", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "append_array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 30, + "arguments": [ + { + "name": "array", + "type": "PackedFloat64Array" + } + ] + }, + { + "name": "remove", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "insert", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "at_index", + "type": "int" + }, + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "fill", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "resize", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "new_size", + "type": "int" + } + ] + }, + { + "name": "has", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3, + "arguments": [ + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "reverse", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "subarray", + "return_type": "PackedFloat64Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "from", + "type": "int" + }, + { + "name": "to", + "type": "int" + } + ] + }, + { + "name": "to_byte_array", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "sort", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "duplicate", + "return_type": "PackedFloat64Array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 132058340 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "PackedFloat64Array" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Array" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "PackedStringArray", + "indexing_return_type": "String", + "is_keyed": true, + "operators": [ + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "PackedStringArray", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "PackedStringArray", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "PackedStringArray", + "return_type": "PackedStringArray" + } + ], + "methods": [ + { + "name": "size", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "set", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "index", + "type": "int" + }, + { + "name": "value", + "type": "String" + } + ] + }, + { + "name": "push_back", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "value", + "type": "String" + } + ] + }, + { + "name": "append", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "value", + "type": "String" + } + ] + }, + { + "name": "append_array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 31, + "arguments": [ + { + "name": "array", + "type": "PackedStringArray" + } + ] + }, + { + "name": "remove", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "insert", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "at_index", + "type": "int" + }, + { + "name": "value", + "type": "String" + } + ] + }, + { + "name": "fill", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "value", + "type": "String" + } + ] + }, + { + "name": "resize", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "new_size", + "type": "int" + } + ] + }, + { + "name": "has", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 4, + "arguments": [ + { + "name": "value", + "type": "String" + } + ] + }, + { + "name": "reverse", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "subarray", + "return_type": "PackedStringArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "from", + "type": "int" + }, + { + "name": "to", + "type": "int" + } + ] + }, + { + "name": "to_byte_array", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "sort", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "duplicate", + "return_type": "PackedStringArray", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 132058373 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "PackedStringArray" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Array" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "PackedVector2Array", + "indexing_return_type": "Vector2", + "is_keyed": true, + "operators": [ + { + "name": "*", + "right_type": "Transform2D", + "return_type": "PackedVector2Array" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "PackedVector2Array", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "PackedVector2Array", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "PackedVector2Array", + "return_type": "PackedVector2Array" + } + ], + "methods": [ + { + "name": "size", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "set", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "index", + "type": "int" + }, + { + "name": "value", + "type": "Vector2" + } + ] + }, + { + "name": "push_back", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "value", + "type": "Vector2" + } + ] + }, + { + "name": "append", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "value", + "type": "Vector2" + } + ] + }, + { + "name": "append_array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 32, + "arguments": [ + { + "name": "array", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "remove", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "insert", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "at_index", + "type": "int" + }, + { + "name": "value", + "type": "Vector2" + } + ] + }, + { + "name": "fill", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "value", + "type": "Vector2" + } + ] + }, + { + "name": "resize", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "new_size", + "type": "int" + } + ] + }, + { + "name": "has", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 5, + "arguments": [ + { + "name": "value", + "type": "Vector2" + } + ] + }, + { + "name": "reverse", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "subarray", + "return_type": "PackedVector2Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "from", + "type": "int" + }, + { + "name": "to", + "type": "int" + } + ] + }, + { + "name": "to_byte_array", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "sort", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "duplicate", + "return_type": "PackedVector2Array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 132058406 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "PackedVector2Array" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Array" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "PackedVector3Array", + "indexing_return_type": "Vector3", + "is_keyed": true, + "operators": [ + { + "name": "*", + "right_type": "Transform3D", + "return_type": "PackedVector3Array" + }, + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "PackedVector3Array", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "PackedVector3Array", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "PackedVector3Array", + "return_type": "PackedVector3Array" + } + ], + "methods": [ + { + "name": "size", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "set", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "index", + "type": "int" + }, + { + "name": "value", + "type": "Vector3" + } + ] + }, + { + "name": "push_back", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "value", + "type": "Vector3" + } + ] + }, + { + "name": "append", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "value", + "type": "Vector3" + } + ] + }, + { + "name": "append_array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 33, + "arguments": [ + { + "name": "array", + "type": "PackedVector3Array" + } + ] + }, + { + "name": "remove", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "insert", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "at_index", + "type": "int" + }, + { + "name": "value", + "type": "Vector3" + } + ] + }, + { + "name": "fill", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "value", + "type": "Vector3" + } + ] + }, + { + "name": "resize", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "new_size", + "type": "int" + } + ] + }, + { + "name": "has", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 9, + "arguments": [ + { + "name": "value", + "type": "Vector3" + } + ] + }, + { + "name": "reverse", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "subarray", + "return_type": "PackedVector3Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "from", + "type": "int" + }, + { + "name": "to", + "type": "int" + } + ] + }, + { + "name": "to_byte_array", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "sort", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "duplicate", + "return_type": "PackedVector3Array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 132058439 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "PackedVector3Array" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Array" + } + ] + } + ], + "has_destructor": true + }, + { + "name": "PackedColorArray", + "indexing_return_type": "Color", + "is_keyed": true, + "operators": [ + { + "name": "in", + "right_type": "Dictionary", + "return_type": "bool" + }, + { + "name": "in", + "right_type": "Array", + "return_type": "bool" + }, + { + "name": "==", + "right_type": "PackedColorArray", + "return_type": "bool" + }, + { + "name": "!=", + "right_type": "PackedColorArray", + "return_type": "bool" + }, + { + "name": "+", + "right_type": "PackedColorArray", + "return_type": "PackedColorArray" + } + ], + "methods": [ + { + "name": "size", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, + { + "name": "is_empty", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192776 + }, + { + "name": "set", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 17, + "arguments": [ + { + "name": "index", + "type": "int" + }, + { + "name": "value", + "type": "Color" + } + ] + }, + { + "name": "push_back", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 17, + "arguments": [ + { + "name": "value", + "type": "Color" + } + ] + }, + { + "name": "append", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 17, + "arguments": [ + { + "name": "value", + "type": "Color" + } + ] + }, + { + "name": "append_array", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 34, + "arguments": [ + { + "name": "array", + "type": "PackedColorArray" + } + ] + }, + { + "name": "remove", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "insert", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 17, + "arguments": [ + { + "name": "at_index", + "type": "int" + }, + { + "name": "value", + "type": "Color" + } + ] + }, + { + "name": "fill", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 17, + "arguments": [ + { + "name": "value", + "type": "Color" + } + ] + }, + { + "name": "resize", + "return_type": "int", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "new_size", + "type": "int" + } + ] + }, + { + "name": "has", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 17, + "arguments": [ + { + "name": "value", + "type": "Color" + } + ] + }, + { + "name": "reverse", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "subarray", + "return_type": "PackedColorArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2, + "arguments": [ + { + "name": "from", + "type": "int" + }, + { + "name": "to", + "type": "int" + } + ] + }, + { + "name": "to_byte_array", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171193601 + }, + { + "name": "sort", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 134152229 + }, + { + "name": "duplicate", + "return_type": "PackedColorArray", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 132058472 + } + ], + "constructors": [ + { + "index": 0 + }, + { + "index": 1, + "arguments": [ + { + "name": "from", + "type": "PackedColorArray" + } + ] + }, + { + "index": 2, + "arguments": [ + { + "name": "from", + "type": "Array" + } + ] + } + ], + "has_destructor": true + } + ], + "classes": [ + { + "name": "AESContext", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "Mode", + "values": [ + { + "name": "MODE_ECB_ENCRYPT", + "value": 0 + }, + { + "name": "MODE_ECB_DECRYPT", + "value": 1 + }, + { + "name": "MODE_CBC_ENCRYPT", + "value": 2 + }, + { + "name": "MODE_CBC_DECRYPT", + "value": 3 + }, + { + "name": "MODE_MAX", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "start", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "mode", + "type": "enum::AESContext.Mode" + }, + { + "name": "key", + "type": "PackedByteArray" + }, + { + "name": "iv", + "type": "PackedByteArray", + "default_value": "PackedByteArray()" + } + ] + }, + { + "name": "update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "src", + "type": "PackedByteArray" + } + ] + }, + { + "name": "get_iv_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedByteArray" + } + }, + { + "name": "finish", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ] + }, + { + "name": "AStar", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "_estimate_cost", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "float" + }, + "arguments": [ + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "int" + } + ] + }, + { + "name": "_compute_cost", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "float" + }, + "arguments": [ + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "int" + } + ] + }, + { + "name": "get_available_point_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "add_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector3" + }, + { + "name": "weight_scale", + "type": "float", + "meta": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "get_point_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_point_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector3" + } + ] + }, + { + "name": "get_point_weight_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_point_weight_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "weight_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "remove_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_point_connections", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_point_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "is_point_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "connect_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "to_id", + "type": "int", + "meta": "int32" + }, + { + "name": "bidirectional", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "disconnect_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "to_id", + "type": "int", + "meta": "int32" + }, + { + "name": "bidirectional", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "are_points_connected", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 174785387, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "to_id", + "type": "int", + "meta": "int32" + }, + { + "name": "bidirectional", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "get_point_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_point_capacity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "reserve_space", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "num_nodes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_closest_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "to_position", + "type": "Vector3" + }, + { + "name": "include_disabled", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_closest_position_in_segment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "to_position", + "type": "Vector3" + } + ] + }, + { + "name": "get_point_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "PackedVector3Array" + }, + "arguments": [ + { + "name": "from_id", + "type": "int", + "meta": "int32" + }, + { + "name": "to_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_id_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "from_id", + "type": "int", + "meta": "int32" + }, + { + "name": "to_id", + "type": "int", + "meta": "int32" + } + ] + } + ] + }, + { + "name": "AStar2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "_estimate_cost", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "float" + }, + "arguments": [ + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "int" + } + ] + }, + { + "name": "_compute_cost", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "float" + }, + "arguments": [ + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "int" + } + ] + }, + { + "name": "get_available_point_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "add_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector2" + }, + { + "name": "weight_scale", + "type": "float", + "meta": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "get_point_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_point_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_point_weight_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_point_weight_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "weight_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "remove_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_point_connections", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_point_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "is_point_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "connect_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "to_id", + "type": "int", + "meta": "int32" + }, + { + "name": "bidirectional", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "disconnect_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "to_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "are_points_connected", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "to_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_point_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_point_capacity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "reserve_space", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "num_nodes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_closest_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "to_position", + "type": "Vector2" + }, + { + "name": "include_disabled", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_closest_position_in_segment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "to_position", + "type": "Vector2" + } + ] + }, + { + "name": "get_point_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "PackedVector2Array" + }, + "arguments": [ + { + "name": "from_id", + "type": "int", + "meta": "int32" + }, + { + "name": "to_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_id_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "from_id", + "type": "int", + "meta": "int32" + }, + { + "name": "to_id", + "type": "int", + "meta": "int32" + } + ] + } + ] + }, + { + "name": "AcceptDialog", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Window", + "api_type": "core", + "methods": [ + { + "name": "get_ok_button", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Button" + } + }, + { + "name": "get_label", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Label" + } + }, + { + "name": "set_hide_on_ok", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_hide_on_ok", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "add_button", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1474135307, + "return_value": { + "type": "Button" + }, + "arguments": [ + { + "name": "text", + "type": "String" + }, + { + "name": "right", + "type": "bool", + "default_value": "false" + }, + { + "name": "action", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "add_cancel_button", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Button" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "remove_button", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "button", + "type": "Control" + } + ] + }, + { + "name": "register_text_enter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "line_edit", + "type": "Control" + } + ] + }, + { + "name": "set_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_autowrap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "autowrap", + "type": "bool" + } + ] + }, + { + "name": "has_autowrap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "cancelled" + }, + { + "name": "confirmed" + }, + { + "name": "custom_action", + "arguments": [ + { + "name": "action", + "type": "StringName" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "dialog_text", + "setter": "set_text", + "getter": "get_text", + "index": -1 + }, + { + "type": "bool", + "name": "dialog_hide_on_ok", + "setter": "set_hide_on_ok", + "getter": "get_hide_on_ok", + "index": -1 + }, + { + "type": "bool", + "name": "dialog_autowrap", + "setter": "set_autowrap", + "getter": "has_autowrap", + "index": -1 + } + ] + }, + { + "name": "AnimatedSprite2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_sprite_frames", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sprite_frames", + "type": "SpriteFrames" + } + ] + }, + { + "name": "get_sprite_frames", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "SpriteFrames" + } + }, + { + "name": "set_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "animation", + "type": "StringName" + } + ] + }, + { + "name": "get_animation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "play", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 143531945, + "arguments": [ + { + "name": "anim", + "type": "StringName", + "default_value": "&\"\"" + }, + { + "name": "backwards", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_playing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_centered", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "centered", + "type": "bool" + } + ] + }, + { + "name": "is_centered", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_flip_h", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flip_h", + "type": "bool" + } + ] + }, + { + "name": "is_flipped_h", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_flip_v", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flip_v", + "type": "bool" + } + ] + }, + { + "name": "is_flipped_v", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_frame", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "frame", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_frame", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_speed_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "speed_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_speed_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "signals": [ + { + "name": "frame_changed" + }, + { + "name": "animation_finished" + } + ], + "properties": [ + { + "type": "SpriteFrames", + "name": "frames", + "setter": "set_sprite_frames", + "getter": "get_sprite_frames", + "index": -1 + }, + { + "type": "StringName", + "name": "animation", + "setter": "set_animation", + "getter": "get_animation", + "index": -1 + }, + { + "type": "int", + "name": "frame", + "setter": "set_frame", + "getter": "get_frame", + "index": -1 + }, + { + "type": "float", + "name": "speed_scale", + "setter": "set_speed_scale", + "getter": "get_speed_scale", + "index": -1 + }, + { + "type": "bool", + "name": "playing", + "setter": "_set_playing", + "getter": "_is_playing", + "index": -1 + }, + { + "type": "bool", + "name": "centered", + "setter": "set_centered", + "getter": "is_centered", + "index": -1 + }, + { + "type": "Vector2", + "name": "offset", + "setter": "set_offset", + "getter": "get_offset", + "index": -1 + }, + { + "type": "bool", + "name": "flip_h", + "setter": "set_flip_h", + "getter": "is_flipped_h", + "index": -1 + }, + { + "type": "bool", + "name": "flip_v", + "setter": "set_flip_v", + "getter": "is_flipped_v", + "index": -1 + } + ] + }, + { + "name": "AnimatedSprite3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "SpriteBase3D", + "api_type": "core", + "methods": [ + { + "name": "set_sprite_frames", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sprite_frames", + "type": "SpriteFrames" + } + ] + }, + { + "name": "get_sprite_frames", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "SpriteFrames" + } + }, + { + "name": "set_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "animation", + "type": "StringName" + } + ] + }, + { + "name": "get_animation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "play", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "anim", + "type": "StringName", + "default_value": "&\"\"" + } + ] + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_playing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_frame", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "frame", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_frame", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "signals": [ + { + "name": "frame_changed" + }, + { + "name": "animation_finished" + } + ], + "properties": [ + { + "type": "SpriteFrames", + "name": "frames", + "setter": "set_sprite_frames", + "getter": "get_sprite_frames", + "index": -1 + }, + { + "type": "String", + "name": "animation", + "setter": "set_animation", + "getter": "get_animation", + "index": -1 + }, + { + "type": "int", + "name": "frame", + "setter": "set_frame", + "getter": "get_frame", + "index": -1 + }, + { + "type": "bool", + "name": "playing", + "setter": "_set_playing", + "getter": "_is_playing", + "index": -1 + } + ] + }, + { + "name": "AnimatedTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "constants": [ + { + "name": "MAX_FRAMES", + "value": 256 + } + ], + "methods": [ + { + "name": "set_frames", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "frames", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_frames", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_current_frame", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "frame", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_current_frame", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_pause", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pause", + "type": "bool" + } + ] + }, + { + "name": "get_pause", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_oneshot", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "oneshot", + "type": "bool" + } + ] + }, + { + "name": "get_oneshot", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_fps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fps", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_frame_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "frame", + "type": "int", + "meta": "int32" + }, + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_frame_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "frame", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_frame_delay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "frame", + "type": "int", + "meta": "int32" + }, + { + "name": "delay", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_frame_delay", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "frame", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "frames", + "setter": "set_frames", + "getter": "get_frames", + "index": -1 + }, + { + "type": "int", + "name": "current_frame", + "setter": "set_current_frame", + "getter": "get_current_frame", + "index": -1 + }, + { + "type": "bool", + "name": "pause", + "setter": "set_pause", + "getter": "get_pause", + "index": -1 + }, + { + "type": "bool", + "name": "oneshot", + "setter": "set_oneshot", + "getter": "get_oneshot", + "index": -1 + }, + { + "type": "float", + "name": "fps", + "setter": "set_fps", + "getter": "get_fps", + "index": -1 + }, + { + "type": "Texture2D", + "name": "frame_0/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 0 + }, + { + "type": "float", + "name": "frame_0/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 0 + }, + { + "type": "Texture2D", + "name": "frame_1/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 1 + }, + { + "type": "float", + "name": "frame_1/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 1 + }, + { + "type": "Texture2D", + "name": "frame_2/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 2 + }, + { + "type": "float", + "name": "frame_2/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 2 + }, + { + "type": "Texture2D", + "name": "frame_3/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 3 + }, + { + "type": "float", + "name": "frame_3/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 3 + }, + { + "type": "Texture2D", + "name": "frame_4/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 4 + }, + { + "type": "float", + "name": "frame_4/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 4 + }, + { + "type": "Texture2D", + "name": "frame_5/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 5 + }, + { + "type": "float", + "name": "frame_5/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 5 + }, + { + "type": "Texture2D", + "name": "frame_6/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 6 + }, + { + "type": "float", + "name": "frame_6/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 6 + }, + { + "type": "Texture2D", + "name": "frame_7/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 7 + }, + { + "type": "float", + "name": "frame_7/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 7 + }, + { + "type": "Texture2D", + "name": "frame_8/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 8 + }, + { + "type": "float", + "name": "frame_8/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 8 + }, + { + "type": "Texture2D", + "name": "frame_9/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 9 + }, + { + "type": "float", + "name": "frame_9/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 9 + }, + { + "type": "Texture2D", + "name": "frame_10/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 10 + }, + { + "type": "float", + "name": "frame_10/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 10 + }, + { + "type": "Texture2D", + "name": "frame_11/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 11 + }, + { + "type": "float", + "name": "frame_11/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 11 + }, + { + "type": "Texture2D", + "name": "frame_12/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 12 + }, + { + "type": "float", + "name": "frame_12/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 12 + }, + { + "type": "Texture2D", + "name": "frame_13/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 13 + }, + { + "type": "float", + "name": "frame_13/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 13 + }, + { + "type": "Texture2D", + "name": "frame_14/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 14 + }, + { + "type": "float", + "name": "frame_14/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 14 + }, + { + "type": "Texture2D", + "name": "frame_15/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 15 + }, + { + "type": "float", + "name": "frame_15/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 15 + }, + { + "type": "Texture2D", + "name": "frame_16/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 16 + }, + { + "type": "float", + "name": "frame_16/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 16 + }, + { + "type": "Texture2D", + "name": "frame_17/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 17 + }, + { + "type": "float", + "name": "frame_17/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 17 + }, + { + "type": "Texture2D", + "name": "frame_18/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 18 + }, + { + "type": "float", + "name": "frame_18/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 18 + }, + { + "type": "Texture2D", + "name": "frame_19/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 19 + }, + { + "type": "float", + "name": "frame_19/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 19 + }, + { + "type": "Texture2D", + "name": "frame_20/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 20 + }, + { + "type": "float", + "name": "frame_20/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 20 + }, + { + "type": "Texture2D", + "name": "frame_21/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 21 + }, + { + "type": "float", + "name": "frame_21/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 21 + }, + { + "type": "Texture2D", + "name": "frame_22/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 22 + }, + { + "type": "float", + "name": "frame_22/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 22 + }, + { + "type": "Texture2D", + "name": "frame_23/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 23 + }, + { + "type": "float", + "name": "frame_23/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 23 + }, + { + "type": "Texture2D", + "name": "frame_24/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 24 + }, + { + "type": "float", + "name": "frame_24/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 24 + }, + { + "type": "Texture2D", + "name": "frame_25/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 25 + }, + { + "type": "float", + "name": "frame_25/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 25 + }, + { + "type": "Texture2D", + "name": "frame_26/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 26 + }, + { + "type": "float", + "name": "frame_26/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 26 + }, + { + "type": "Texture2D", + "name": "frame_27/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 27 + }, + { + "type": "float", + "name": "frame_27/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 27 + }, + { + "type": "Texture2D", + "name": "frame_28/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 28 + }, + { + "type": "float", + "name": "frame_28/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 28 + }, + { + "type": "Texture2D", + "name": "frame_29/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 29 + }, + { + "type": "float", + "name": "frame_29/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 29 + }, + { + "type": "Texture2D", + "name": "frame_30/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 30 + }, + { + "type": "float", + "name": "frame_30/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 30 + }, + { + "type": "Texture2D", + "name": "frame_31/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 31 + }, + { + "type": "float", + "name": "frame_31/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 31 + }, + { + "type": "Texture2D", + "name": "frame_32/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 32 + }, + { + "type": "float", + "name": "frame_32/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 32 + }, + { + "type": "Texture2D", + "name": "frame_33/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 33 + }, + { + "type": "float", + "name": "frame_33/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 33 + }, + { + "type": "Texture2D", + "name": "frame_34/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 34 + }, + { + "type": "float", + "name": "frame_34/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 34 + }, + { + "type": "Texture2D", + "name": "frame_35/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 35 + }, + { + "type": "float", + "name": "frame_35/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 35 + }, + { + "type": "Texture2D", + "name": "frame_36/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 36 + }, + { + "type": "float", + "name": "frame_36/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 36 + }, + { + "type": "Texture2D", + "name": "frame_37/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 37 + }, + { + "type": "float", + "name": "frame_37/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 37 + }, + { + "type": "Texture2D", + "name": "frame_38/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 38 + }, + { + "type": "float", + "name": "frame_38/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 38 + }, + { + "type": "Texture2D", + "name": "frame_39/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 39 + }, + { + "type": "float", + "name": "frame_39/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 39 + }, + { + "type": "Texture2D", + "name": "frame_40/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 40 + }, + { + "type": "float", + "name": "frame_40/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 40 + }, + { + "type": "Texture2D", + "name": "frame_41/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 41 + }, + { + "type": "float", + "name": "frame_41/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 41 + }, + { + "type": "Texture2D", + "name": "frame_42/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 42 + }, + { + "type": "float", + "name": "frame_42/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 42 + }, + { + "type": "Texture2D", + "name": "frame_43/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 43 + }, + { + "type": "float", + "name": "frame_43/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 43 + }, + { + "type": "Texture2D", + "name": "frame_44/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 44 + }, + { + "type": "float", + "name": "frame_44/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 44 + }, + { + "type": "Texture2D", + "name": "frame_45/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 45 + }, + { + "type": "float", + "name": "frame_45/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 45 + }, + { + "type": "Texture2D", + "name": "frame_46/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 46 + }, + { + "type": "float", + "name": "frame_46/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 46 + }, + { + "type": "Texture2D", + "name": "frame_47/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 47 + }, + { + "type": "float", + "name": "frame_47/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 47 + }, + { + "type": "Texture2D", + "name": "frame_48/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 48 + }, + { + "type": "float", + "name": "frame_48/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 48 + }, + { + "type": "Texture2D", + "name": "frame_49/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 49 + }, + { + "type": "float", + "name": "frame_49/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 49 + }, + { + "type": "Texture2D", + "name": "frame_50/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 50 + }, + { + "type": "float", + "name": "frame_50/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 50 + }, + { + "type": "Texture2D", + "name": "frame_51/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 51 + }, + { + "type": "float", + "name": "frame_51/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 51 + }, + { + "type": "Texture2D", + "name": "frame_52/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 52 + }, + { + "type": "float", + "name": "frame_52/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 52 + }, + { + "type": "Texture2D", + "name": "frame_53/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 53 + }, + { + "type": "float", + "name": "frame_53/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 53 + }, + { + "type": "Texture2D", + "name": "frame_54/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 54 + }, + { + "type": "float", + "name": "frame_54/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 54 + }, + { + "type": "Texture2D", + "name": "frame_55/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 55 + }, + { + "type": "float", + "name": "frame_55/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 55 + }, + { + "type": "Texture2D", + "name": "frame_56/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 56 + }, + { + "type": "float", + "name": "frame_56/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 56 + }, + { + "type": "Texture2D", + "name": "frame_57/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 57 + }, + { + "type": "float", + "name": "frame_57/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 57 + }, + { + "type": "Texture2D", + "name": "frame_58/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 58 + }, + { + "type": "float", + "name": "frame_58/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 58 + }, + { + "type": "Texture2D", + "name": "frame_59/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 59 + }, + { + "type": "float", + "name": "frame_59/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 59 + }, + { + "type": "Texture2D", + "name": "frame_60/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 60 + }, + { + "type": "float", + "name": "frame_60/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 60 + }, + { + "type": "Texture2D", + "name": "frame_61/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 61 + }, + { + "type": "float", + "name": "frame_61/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 61 + }, + { + "type": "Texture2D", + "name": "frame_62/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 62 + }, + { + "type": "float", + "name": "frame_62/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 62 + }, + { + "type": "Texture2D", + "name": "frame_63/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 63 + }, + { + "type": "float", + "name": "frame_63/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 63 + }, + { + "type": "Texture2D", + "name": "frame_64/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 64 + }, + { + "type": "float", + "name": "frame_64/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 64 + }, + { + "type": "Texture2D", + "name": "frame_65/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 65 + }, + { + "type": "float", + "name": "frame_65/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 65 + }, + { + "type": "Texture2D", + "name": "frame_66/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 66 + }, + { + "type": "float", + "name": "frame_66/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 66 + }, + { + "type": "Texture2D", + "name": "frame_67/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 67 + }, + { + "type": "float", + "name": "frame_67/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 67 + }, + { + "type": "Texture2D", + "name": "frame_68/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 68 + }, + { + "type": "float", + "name": "frame_68/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 68 + }, + { + "type": "Texture2D", + "name": "frame_69/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 69 + }, + { + "type": "float", + "name": "frame_69/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 69 + }, + { + "type": "Texture2D", + "name": "frame_70/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 70 + }, + { + "type": "float", + "name": "frame_70/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 70 + }, + { + "type": "Texture2D", + "name": "frame_71/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 71 + }, + { + "type": "float", + "name": "frame_71/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 71 + }, + { + "type": "Texture2D", + "name": "frame_72/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 72 + }, + { + "type": "float", + "name": "frame_72/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 72 + }, + { + "type": "Texture2D", + "name": "frame_73/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 73 + }, + { + "type": "float", + "name": "frame_73/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 73 + }, + { + "type": "Texture2D", + "name": "frame_74/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 74 + }, + { + "type": "float", + "name": "frame_74/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 74 + }, + { + "type": "Texture2D", + "name": "frame_75/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 75 + }, + { + "type": "float", + "name": "frame_75/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 75 + }, + { + "type": "Texture2D", + "name": "frame_76/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 76 + }, + { + "type": "float", + "name": "frame_76/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 76 + }, + { + "type": "Texture2D", + "name": "frame_77/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 77 + }, + { + "type": "float", + "name": "frame_77/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 77 + }, + { + "type": "Texture2D", + "name": "frame_78/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 78 + }, + { + "type": "float", + "name": "frame_78/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 78 + }, + { + "type": "Texture2D", + "name": "frame_79/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 79 + }, + { + "type": "float", + "name": "frame_79/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 79 + }, + { + "type": "Texture2D", + "name": "frame_80/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 80 + }, + { + "type": "float", + "name": "frame_80/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 80 + }, + { + "type": "Texture2D", + "name": "frame_81/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 81 + }, + { + "type": "float", + "name": "frame_81/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 81 + }, + { + "type": "Texture2D", + "name": "frame_82/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 82 + }, + { + "type": "float", + "name": "frame_82/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 82 + }, + { + "type": "Texture2D", + "name": "frame_83/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 83 + }, + { + "type": "float", + "name": "frame_83/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 83 + }, + { + "type": "Texture2D", + "name": "frame_84/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 84 + }, + { + "type": "float", + "name": "frame_84/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 84 + }, + { + "type": "Texture2D", + "name": "frame_85/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 85 + }, + { + "type": "float", + "name": "frame_85/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 85 + }, + { + "type": "Texture2D", + "name": "frame_86/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 86 + }, + { + "type": "float", + "name": "frame_86/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 86 + }, + { + "type": "Texture2D", + "name": "frame_87/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 87 + }, + { + "type": "float", + "name": "frame_87/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 87 + }, + { + "type": "Texture2D", + "name": "frame_88/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 88 + }, + { + "type": "float", + "name": "frame_88/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 88 + }, + { + "type": "Texture2D", + "name": "frame_89/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 89 + }, + { + "type": "float", + "name": "frame_89/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 89 + }, + { + "type": "Texture2D", + "name": "frame_90/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 90 + }, + { + "type": "float", + "name": "frame_90/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 90 + }, + { + "type": "Texture2D", + "name": "frame_91/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 91 + }, + { + "type": "float", + "name": "frame_91/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 91 + }, + { + "type": "Texture2D", + "name": "frame_92/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 92 + }, + { + "type": "float", + "name": "frame_92/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 92 + }, + { + "type": "Texture2D", + "name": "frame_93/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 93 + }, + { + "type": "float", + "name": "frame_93/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 93 + }, + { + "type": "Texture2D", + "name": "frame_94/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 94 + }, + { + "type": "float", + "name": "frame_94/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 94 + }, + { + "type": "Texture2D", + "name": "frame_95/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 95 + }, + { + "type": "float", + "name": "frame_95/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 95 + }, + { + "type": "Texture2D", + "name": "frame_96/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 96 + }, + { + "type": "float", + "name": "frame_96/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 96 + }, + { + "type": "Texture2D", + "name": "frame_97/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 97 + }, + { + "type": "float", + "name": "frame_97/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 97 + }, + { + "type": "Texture2D", + "name": "frame_98/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 98 + }, + { + "type": "float", + "name": "frame_98/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 98 + }, + { + "type": "Texture2D", + "name": "frame_99/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 99 + }, + { + "type": "float", + "name": "frame_99/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 99 + }, + { + "type": "Texture2D", + "name": "frame_100/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 100 + }, + { + "type": "float", + "name": "frame_100/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 100 + }, + { + "type": "Texture2D", + "name": "frame_101/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 101 + }, + { + "type": "float", + "name": "frame_101/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 101 + }, + { + "type": "Texture2D", + "name": "frame_102/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 102 + }, + { + "type": "float", + "name": "frame_102/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 102 + }, + { + "type": "Texture2D", + "name": "frame_103/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 103 + }, + { + "type": "float", + "name": "frame_103/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 103 + }, + { + "type": "Texture2D", + "name": "frame_104/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 104 + }, + { + "type": "float", + "name": "frame_104/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 104 + }, + { + "type": "Texture2D", + "name": "frame_105/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 105 + }, + { + "type": "float", + "name": "frame_105/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 105 + }, + { + "type": "Texture2D", + "name": "frame_106/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 106 + }, + { + "type": "float", + "name": "frame_106/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 106 + }, + { + "type": "Texture2D", + "name": "frame_107/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 107 + }, + { + "type": "float", + "name": "frame_107/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 107 + }, + { + "type": "Texture2D", + "name": "frame_108/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 108 + }, + { + "type": "float", + "name": "frame_108/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 108 + }, + { + "type": "Texture2D", + "name": "frame_109/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 109 + }, + { + "type": "float", + "name": "frame_109/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 109 + }, + { + "type": "Texture2D", + "name": "frame_110/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 110 + }, + { + "type": "float", + "name": "frame_110/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 110 + }, + { + "type": "Texture2D", + "name": "frame_111/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 111 + }, + { + "type": "float", + "name": "frame_111/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 111 + }, + { + "type": "Texture2D", + "name": "frame_112/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 112 + }, + { + "type": "float", + "name": "frame_112/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 112 + }, + { + "type": "Texture2D", + "name": "frame_113/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 113 + }, + { + "type": "float", + "name": "frame_113/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 113 + }, + { + "type": "Texture2D", + "name": "frame_114/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 114 + }, + { + "type": "float", + "name": "frame_114/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 114 + }, + { + "type": "Texture2D", + "name": "frame_115/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 115 + }, + { + "type": "float", + "name": "frame_115/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 115 + }, + { + "type": "Texture2D", + "name": "frame_116/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 116 + }, + { + "type": "float", + "name": "frame_116/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 116 + }, + { + "type": "Texture2D", + "name": "frame_117/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 117 + }, + { + "type": "float", + "name": "frame_117/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 117 + }, + { + "type": "Texture2D", + "name": "frame_118/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 118 + }, + { + "type": "float", + "name": "frame_118/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 118 + }, + { + "type": "Texture2D", + "name": "frame_119/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 119 + }, + { + "type": "float", + "name": "frame_119/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 119 + }, + { + "type": "Texture2D", + "name": "frame_120/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 120 + }, + { + "type": "float", + "name": "frame_120/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 120 + }, + { + "type": "Texture2D", + "name": "frame_121/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 121 + }, + { + "type": "float", + "name": "frame_121/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 121 + }, + { + "type": "Texture2D", + "name": "frame_122/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 122 + }, + { + "type": "float", + "name": "frame_122/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 122 + }, + { + "type": "Texture2D", + "name": "frame_123/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 123 + }, + { + "type": "float", + "name": "frame_123/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 123 + }, + { + "type": "Texture2D", + "name": "frame_124/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 124 + }, + { + "type": "float", + "name": "frame_124/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 124 + }, + { + "type": "Texture2D", + "name": "frame_125/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 125 + }, + { + "type": "float", + "name": "frame_125/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 125 + }, + { + "type": "Texture2D", + "name": "frame_126/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 126 + }, + { + "type": "float", + "name": "frame_126/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 126 + }, + { + "type": "Texture2D", + "name": "frame_127/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 127 + }, + { + "type": "float", + "name": "frame_127/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 127 + }, + { + "type": "Texture2D", + "name": "frame_128/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 128 + }, + { + "type": "float", + "name": "frame_128/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 128 + }, + { + "type": "Texture2D", + "name": "frame_129/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 129 + }, + { + "type": "float", + "name": "frame_129/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 129 + }, + { + "type": "Texture2D", + "name": "frame_130/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 130 + }, + { + "type": "float", + "name": "frame_130/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 130 + }, + { + "type": "Texture2D", + "name": "frame_131/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 131 + }, + { + "type": "float", + "name": "frame_131/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 131 + }, + { + "type": "Texture2D", + "name": "frame_132/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 132 + }, + { + "type": "float", + "name": "frame_132/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 132 + }, + { + "type": "Texture2D", + "name": "frame_133/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 133 + }, + { + "type": "float", + "name": "frame_133/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 133 + }, + { + "type": "Texture2D", + "name": "frame_134/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 134 + }, + { + "type": "float", + "name": "frame_134/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 134 + }, + { + "type": "Texture2D", + "name": "frame_135/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 135 + }, + { + "type": "float", + "name": "frame_135/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 135 + }, + { + "type": "Texture2D", + "name": "frame_136/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 136 + }, + { + "type": "float", + "name": "frame_136/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 136 + }, + { + "type": "Texture2D", + "name": "frame_137/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 137 + }, + { + "type": "float", + "name": "frame_137/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 137 + }, + { + "type": "Texture2D", + "name": "frame_138/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 138 + }, + { + "type": "float", + "name": "frame_138/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 138 + }, + { + "type": "Texture2D", + "name": "frame_139/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 139 + }, + { + "type": "float", + "name": "frame_139/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 139 + }, + { + "type": "Texture2D", + "name": "frame_140/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 140 + }, + { + "type": "float", + "name": "frame_140/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 140 + }, + { + "type": "Texture2D", + "name": "frame_141/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 141 + }, + { + "type": "float", + "name": "frame_141/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 141 + }, + { + "type": "Texture2D", + "name": "frame_142/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 142 + }, + { + "type": "float", + "name": "frame_142/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 142 + }, + { + "type": "Texture2D", + "name": "frame_143/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 143 + }, + { + "type": "float", + "name": "frame_143/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 143 + }, + { + "type": "Texture2D", + "name": "frame_144/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 144 + }, + { + "type": "float", + "name": "frame_144/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 144 + }, + { + "type": "Texture2D", + "name": "frame_145/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 145 + }, + { + "type": "float", + "name": "frame_145/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 145 + }, + { + "type": "Texture2D", + "name": "frame_146/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 146 + }, + { + "type": "float", + "name": "frame_146/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 146 + }, + { + "type": "Texture2D", + "name": "frame_147/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 147 + }, + { + "type": "float", + "name": "frame_147/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 147 + }, + { + "type": "Texture2D", + "name": "frame_148/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 148 + }, + { + "type": "float", + "name": "frame_148/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 148 + }, + { + "type": "Texture2D", + "name": "frame_149/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 149 + }, + { + "type": "float", + "name": "frame_149/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 149 + }, + { + "type": "Texture2D", + "name": "frame_150/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 150 + }, + { + "type": "float", + "name": "frame_150/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 150 + }, + { + "type": "Texture2D", + "name": "frame_151/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 151 + }, + { + "type": "float", + "name": "frame_151/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 151 + }, + { + "type": "Texture2D", + "name": "frame_152/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 152 + }, + { + "type": "float", + "name": "frame_152/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 152 + }, + { + "type": "Texture2D", + "name": "frame_153/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 153 + }, + { + "type": "float", + "name": "frame_153/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 153 + }, + { + "type": "Texture2D", + "name": "frame_154/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 154 + }, + { + "type": "float", + "name": "frame_154/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 154 + }, + { + "type": "Texture2D", + "name": "frame_155/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 155 + }, + { + "type": "float", + "name": "frame_155/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 155 + }, + { + "type": "Texture2D", + "name": "frame_156/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 156 + }, + { + "type": "float", + "name": "frame_156/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 156 + }, + { + "type": "Texture2D", + "name": "frame_157/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 157 + }, + { + "type": "float", + "name": "frame_157/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 157 + }, + { + "type": "Texture2D", + "name": "frame_158/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 158 + }, + { + "type": "float", + "name": "frame_158/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 158 + }, + { + "type": "Texture2D", + "name": "frame_159/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 159 + }, + { + "type": "float", + "name": "frame_159/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 159 + }, + { + "type": "Texture2D", + "name": "frame_160/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 160 + }, + { + "type": "float", + "name": "frame_160/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 160 + }, + { + "type": "Texture2D", + "name": "frame_161/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 161 + }, + { + "type": "float", + "name": "frame_161/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 161 + }, + { + "type": "Texture2D", + "name": "frame_162/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 162 + }, + { + "type": "float", + "name": "frame_162/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 162 + }, + { + "type": "Texture2D", + "name": "frame_163/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 163 + }, + { + "type": "float", + "name": "frame_163/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 163 + }, + { + "type": "Texture2D", + "name": "frame_164/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 164 + }, + { + "type": "float", + "name": "frame_164/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 164 + }, + { + "type": "Texture2D", + "name": "frame_165/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 165 + }, + { + "type": "float", + "name": "frame_165/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 165 + }, + { + "type": "Texture2D", + "name": "frame_166/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 166 + }, + { + "type": "float", + "name": "frame_166/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 166 + }, + { + "type": "Texture2D", + "name": "frame_167/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 167 + }, + { + "type": "float", + "name": "frame_167/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 167 + }, + { + "type": "Texture2D", + "name": "frame_168/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 168 + }, + { + "type": "float", + "name": "frame_168/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 168 + }, + { + "type": "Texture2D", + "name": "frame_169/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 169 + }, + { + "type": "float", + "name": "frame_169/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 169 + }, + { + "type": "Texture2D", + "name": "frame_170/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 170 + }, + { + "type": "float", + "name": "frame_170/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 170 + }, + { + "type": "Texture2D", + "name": "frame_171/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 171 + }, + { + "type": "float", + "name": "frame_171/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 171 + }, + { + "type": "Texture2D", + "name": "frame_172/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 172 + }, + { + "type": "float", + "name": "frame_172/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 172 + }, + { + "type": "Texture2D", + "name": "frame_173/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 173 + }, + { + "type": "float", + "name": "frame_173/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 173 + }, + { + "type": "Texture2D", + "name": "frame_174/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 174 + }, + { + "type": "float", + "name": "frame_174/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 174 + }, + { + "type": "Texture2D", + "name": "frame_175/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 175 + }, + { + "type": "float", + "name": "frame_175/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 175 + }, + { + "type": "Texture2D", + "name": "frame_176/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 176 + }, + { + "type": "float", + "name": "frame_176/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 176 + }, + { + "type": "Texture2D", + "name": "frame_177/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 177 + }, + { + "type": "float", + "name": "frame_177/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 177 + }, + { + "type": "Texture2D", + "name": "frame_178/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 178 + }, + { + "type": "float", + "name": "frame_178/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 178 + }, + { + "type": "Texture2D", + "name": "frame_179/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 179 + }, + { + "type": "float", + "name": "frame_179/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 179 + }, + { + "type": "Texture2D", + "name": "frame_180/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 180 + }, + { + "type": "float", + "name": "frame_180/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 180 + }, + { + "type": "Texture2D", + "name": "frame_181/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 181 + }, + { + "type": "float", + "name": "frame_181/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 181 + }, + { + "type": "Texture2D", + "name": "frame_182/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 182 + }, + { + "type": "float", + "name": "frame_182/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 182 + }, + { + "type": "Texture2D", + "name": "frame_183/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 183 + }, + { + "type": "float", + "name": "frame_183/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 183 + }, + { + "type": "Texture2D", + "name": "frame_184/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 184 + }, + { + "type": "float", + "name": "frame_184/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 184 + }, + { + "type": "Texture2D", + "name": "frame_185/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 185 + }, + { + "type": "float", + "name": "frame_185/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 185 + }, + { + "type": "Texture2D", + "name": "frame_186/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 186 + }, + { + "type": "float", + "name": "frame_186/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 186 + }, + { + "type": "Texture2D", + "name": "frame_187/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 187 + }, + { + "type": "float", + "name": "frame_187/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 187 + }, + { + "type": "Texture2D", + "name": "frame_188/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 188 + }, + { + "type": "float", + "name": "frame_188/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 188 + }, + { + "type": "Texture2D", + "name": "frame_189/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 189 + }, + { + "type": "float", + "name": "frame_189/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 189 + }, + { + "type": "Texture2D", + "name": "frame_190/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 190 + }, + { + "type": "float", + "name": "frame_190/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 190 + }, + { + "type": "Texture2D", + "name": "frame_191/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 191 + }, + { + "type": "float", + "name": "frame_191/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 191 + }, + { + "type": "Texture2D", + "name": "frame_192/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 192 + }, + { + "type": "float", + "name": "frame_192/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 192 + }, + { + "type": "Texture2D", + "name": "frame_193/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 193 + }, + { + "type": "float", + "name": "frame_193/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 193 + }, + { + "type": "Texture2D", + "name": "frame_194/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 194 + }, + { + "type": "float", + "name": "frame_194/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 194 + }, + { + "type": "Texture2D", + "name": "frame_195/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 195 + }, + { + "type": "float", + "name": "frame_195/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 195 + }, + { + "type": "Texture2D", + "name": "frame_196/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 196 + }, + { + "type": "float", + "name": "frame_196/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 196 + }, + { + "type": "Texture2D", + "name": "frame_197/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 197 + }, + { + "type": "float", + "name": "frame_197/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 197 + }, + { + "type": "Texture2D", + "name": "frame_198/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 198 + }, + { + "type": "float", + "name": "frame_198/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 198 + }, + { + "type": "Texture2D", + "name": "frame_199/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 199 + }, + { + "type": "float", + "name": "frame_199/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 199 + }, + { + "type": "Texture2D", + "name": "frame_200/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 200 + }, + { + "type": "float", + "name": "frame_200/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 200 + }, + { + "type": "Texture2D", + "name": "frame_201/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 201 + }, + { + "type": "float", + "name": "frame_201/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 201 + }, + { + "type": "Texture2D", + "name": "frame_202/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 202 + }, + { + "type": "float", + "name": "frame_202/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 202 + }, + { + "type": "Texture2D", + "name": "frame_203/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 203 + }, + { + "type": "float", + "name": "frame_203/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 203 + }, + { + "type": "Texture2D", + "name": "frame_204/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 204 + }, + { + "type": "float", + "name": "frame_204/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 204 + }, + { + "type": "Texture2D", + "name": "frame_205/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 205 + }, + { + "type": "float", + "name": "frame_205/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 205 + }, + { + "type": "Texture2D", + "name": "frame_206/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 206 + }, + { + "type": "float", + "name": "frame_206/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 206 + }, + { + "type": "Texture2D", + "name": "frame_207/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 207 + }, + { + "type": "float", + "name": "frame_207/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 207 + }, + { + "type": "Texture2D", + "name": "frame_208/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 208 + }, + { + "type": "float", + "name": "frame_208/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 208 + }, + { + "type": "Texture2D", + "name": "frame_209/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 209 + }, + { + "type": "float", + "name": "frame_209/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 209 + }, + { + "type": "Texture2D", + "name": "frame_210/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 210 + }, + { + "type": "float", + "name": "frame_210/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 210 + }, + { + "type": "Texture2D", + "name": "frame_211/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 211 + }, + { + "type": "float", + "name": "frame_211/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 211 + }, + { + "type": "Texture2D", + "name": "frame_212/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 212 + }, + { + "type": "float", + "name": "frame_212/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 212 + }, + { + "type": "Texture2D", + "name": "frame_213/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 213 + }, + { + "type": "float", + "name": "frame_213/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 213 + }, + { + "type": "Texture2D", + "name": "frame_214/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 214 + }, + { + "type": "float", + "name": "frame_214/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 214 + }, + { + "type": "Texture2D", + "name": "frame_215/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 215 + }, + { + "type": "float", + "name": "frame_215/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 215 + }, + { + "type": "Texture2D", + "name": "frame_216/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 216 + }, + { + "type": "float", + "name": "frame_216/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 216 + }, + { + "type": "Texture2D", + "name": "frame_217/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 217 + }, + { + "type": "float", + "name": "frame_217/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 217 + }, + { + "type": "Texture2D", + "name": "frame_218/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 218 + }, + { + "type": "float", + "name": "frame_218/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 218 + }, + { + "type": "Texture2D", + "name": "frame_219/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 219 + }, + { + "type": "float", + "name": "frame_219/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 219 + }, + { + "type": "Texture2D", + "name": "frame_220/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 220 + }, + { + "type": "float", + "name": "frame_220/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 220 + }, + { + "type": "Texture2D", + "name": "frame_221/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 221 + }, + { + "type": "float", + "name": "frame_221/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 221 + }, + { + "type": "Texture2D", + "name": "frame_222/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 222 + }, + { + "type": "float", + "name": "frame_222/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 222 + }, + { + "type": "Texture2D", + "name": "frame_223/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 223 + }, + { + "type": "float", + "name": "frame_223/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 223 + }, + { + "type": "Texture2D", + "name": "frame_224/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 224 + }, + { + "type": "float", + "name": "frame_224/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 224 + }, + { + "type": "Texture2D", + "name": "frame_225/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 225 + }, + { + "type": "float", + "name": "frame_225/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 225 + }, + { + "type": "Texture2D", + "name": "frame_226/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 226 + }, + { + "type": "float", + "name": "frame_226/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 226 + }, + { + "type": "Texture2D", + "name": "frame_227/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 227 + }, + { + "type": "float", + "name": "frame_227/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 227 + }, + { + "type": "Texture2D", + "name": "frame_228/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 228 + }, + { + "type": "float", + "name": "frame_228/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 228 + }, + { + "type": "Texture2D", + "name": "frame_229/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 229 + }, + { + "type": "float", + "name": "frame_229/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 229 + }, + { + "type": "Texture2D", + "name": "frame_230/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 230 + }, + { + "type": "float", + "name": "frame_230/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 230 + }, + { + "type": "Texture2D", + "name": "frame_231/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 231 + }, + { + "type": "float", + "name": "frame_231/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 231 + }, + { + "type": "Texture2D", + "name": "frame_232/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 232 + }, + { + "type": "float", + "name": "frame_232/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 232 + }, + { + "type": "Texture2D", + "name": "frame_233/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 233 + }, + { + "type": "float", + "name": "frame_233/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 233 + }, + { + "type": "Texture2D", + "name": "frame_234/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 234 + }, + { + "type": "float", + "name": "frame_234/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 234 + }, + { + "type": "Texture2D", + "name": "frame_235/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 235 + }, + { + "type": "float", + "name": "frame_235/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 235 + }, + { + "type": "Texture2D", + "name": "frame_236/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 236 + }, + { + "type": "float", + "name": "frame_236/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 236 + }, + { + "type": "Texture2D", + "name": "frame_237/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 237 + }, + { + "type": "float", + "name": "frame_237/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 237 + }, + { + "type": "Texture2D", + "name": "frame_238/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 238 + }, + { + "type": "float", + "name": "frame_238/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 238 + }, + { + "type": "Texture2D", + "name": "frame_239/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 239 + }, + { + "type": "float", + "name": "frame_239/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 239 + }, + { + "type": "Texture2D", + "name": "frame_240/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 240 + }, + { + "type": "float", + "name": "frame_240/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 240 + }, + { + "type": "Texture2D", + "name": "frame_241/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 241 + }, + { + "type": "float", + "name": "frame_241/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 241 + }, + { + "type": "Texture2D", + "name": "frame_242/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 242 + }, + { + "type": "float", + "name": "frame_242/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 242 + }, + { + "type": "Texture2D", + "name": "frame_243/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 243 + }, + { + "type": "float", + "name": "frame_243/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 243 + }, + { + "type": "Texture2D", + "name": "frame_244/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 244 + }, + { + "type": "float", + "name": "frame_244/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 244 + }, + { + "type": "Texture2D", + "name": "frame_245/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 245 + }, + { + "type": "float", + "name": "frame_245/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 245 + }, + { + "type": "Texture2D", + "name": "frame_246/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 246 + }, + { + "type": "float", + "name": "frame_246/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 246 + }, + { + "type": "Texture2D", + "name": "frame_247/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 247 + }, + { + "type": "float", + "name": "frame_247/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 247 + }, + { + "type": "Texture2D", + "name": "frame_248/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 248 + }, + { + "type": "float", + "name": "frame_248/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 248 + }, + { + "type": "Texture2D", + "name": "frame_249/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 249 + }, + { + "type": "float", + "name": "frame_249/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 249 + }, + { + "type": "Texture2D", + "name": "frame_250/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 250 + }, + { + "type": "float", + "name": "frame_250/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 250 + }, + { + "type": "Texture2D", + "name": "frame_251/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 251 + }, + { + "type": "float", + "name": "frame_251/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 251 + }, + { + "type": "Texture2D", + "name": "frame_252/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 252 + }, + { + "type": "float", + "name": "frame_252/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 252 + }, + { + "type": "Texture2D", + "name": "frame_253/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 253 + }, + { + "type": "float", + "name": "frame_253/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 253 + }, + { + "type": "Texture2D", + "name": "frame_254/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 254 + }, + { + "type": "float", + "name": "frame_254/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 254 + }, + { + "type": "Texture2D", + "name": "frame_255/texture", + "setter": "set_frame_texture", + "getter": "get_frame_texture", + "index": 255 + }, + { + "type": "float", + "name": "frame_255/delay_sec", + "setter": "set_frame_delay", + "getter": "get_frame_delay", + "index": 255 + } + ] + }, + { + "name": "Animation", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "TrackType", + "values": [ + { + "name": "TYPE_VALUE", + "value": 0 + }, + { + "name": "TYPE_TRANSFORM3D", + "value": 1 + }, + { + "name": "TYPE_METHOD", + "value": 2 + }, + { + "name": "TYPE_BEZIER", + "value": 3 + }, + { + "name": "TYPE_AUDIO", + "value": 4 + }, + { + "name": "TYPE_ANIMATION", + "value": 5 + } + ] + }, + { + "name": "UpdateMode", + "values": [ + { + "name": "UPDATE_CONTINUOUS", + "value": 0 + }, + { + "name": "UPDATE_DISCRETE", + "value": 1 + }, + { + "name": "UPDATE_TRIGGER", + "value": 2 + }, + { + "name": "UPDATE_CAPTURE", + "value": 3 + } + ] + }, + { + "name": "InterpolationType", + "values": [ + { + "name": "INTERPOLATION_NEAREST", + "value": 0 + }, + { + "name": "INTERPOLATION_LINEAR", + "value": 1 + }, + { + "name": "INTERPOLATION_CUBIC", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "add_track", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "type", + "type": "enum::Animation.TrackType" + }, + { + "name": "at_position", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "remove_track", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_track_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "track_get_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Animation.TrackType" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_get_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_set_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "find_track", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "track_move_up", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_move_down", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_move_to", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "to_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_swap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "with_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_set_imported", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "imported", + "type": "bool" + } + ] + }, + { + "name": "track_is_imported", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_set_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "track_is_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "transform_track_insert_key", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135517835, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time", + "type": "float", + "meta": "float" + }, + { + "name": "location", + "type": "Vector3" + }, + { + "name": "rotation", + "type": "Quaternion" + }, + { + "name": "scale", + "type": "Vector3" + } + ] + }, + { + "name": "track_insert_key", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time", + "type": "float", + "meta": "float" + }, + { + "name": "key", + "type": "Variant" + }, + { + "name": "transition", + "type": "float", + "meta": "float", + "default_value": "1" + } + ] + }, + { + "name": "track_remove_key", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_remove_key_at_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "track_set_key_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "track_set_key_transition", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "transition", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "track_set_key_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "track_get_key_transition", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_get_key_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_get_key_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_get_key_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_find_key", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 174785387, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time", + "type": "float", + "meta": "float" + }, + { + "name": "exact", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "track_set_interpolation_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "interpolation", + "type": "enum::Animation.InterpolationType" + } + ] + }, + { + "name": "track_get_interpolation_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Animation.InterpolationType" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "track_set_interpolation_loop_wrap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "interpolation", + "type": "bool" + } + ] + }, + { + "name": "track_get_interpolation_loop_wrap", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "transform_track_interpolate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time_sec", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "value_track_set_update_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "mode", + "type": "enum::Animation.UpdateMode" + } + ] + }, + { + "name": "value_track_get_update_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Animation.UpdateMode" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "value_track_get_key_indices", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time_sec", + "type": "float", + "meta": "float" + }, + { + "name": "delta", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "value_track_interpolate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time_sec", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "method_track_get_key_indices", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time_sec", + "type": "float", + "meta": "float" + }, + { + "name": "delta", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "method_track_get_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "method_track_get_params", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "bezier_track_insert_key", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1552406093, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time", + "type": "float", + "meta": "float" + }, + { + "name": "value", + "type": "float", + "meta": "float" + }, + { + "name": "in_handle", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + }, + { + "name": "out_handle", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "bezier_track_set_key_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "bezier_track_set_key_in_handle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "in_handle", + "type": "Vector2" + } + ] + }, + { + "name": "bezier_track_set_key_out_handle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "out_handle", + "type": "Vector2" + } + ] + }, + { + "name": "bezier_track_get_key_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "bezier_track_get_key_in_handle", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "bezier_track_get_key_out_handle", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "bezier_track_interpolate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "audio_track_insert_key", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1552406093, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time", + "type": "float", + "meta": "float" + }, + { + "name": "stream", + "type": "Resource" + }, + { + "name": "start_offset", + "type": "float", + "meta": "float", + "default_value": "0" + }, + { + "name": "end_offset", + "type": "float", + "meta": "float", + "default_value": "0" + } + ] + }, + { + "name": "audio_track_set_key_stream", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "stream", + "type": "Resource" + } + ] + }, + { + "name": "audio_track_set_key_start_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "audio_track_set_key_end_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "audio_track_get_key_stream", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Resource" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "audio_track_get_key_start_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "audio_track_get_key_end_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "animation_track_insert_key", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "time", + "type": "float", + "meta": "float" + }, + { + "name": "animation", + "type": "StringName" + } + ] + }, + { + "name": "animation_track_set_key_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "animation", + "type": "StringName" + } + ] + }, + { + "name": "animation_track_get_key_animation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "key_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "time_sec", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_loop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "has_loop", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_step", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size_sec", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_step", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "copy_track", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "track_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "to_animation", + "type": "Animation" + } + ] + } + ], + "signals": [ + { + "name": "tracks_changed" + } + ], + "properties": [ + { + "type": "float", + "name": "length", + "setter": "set_length", + "getter": "get_length", + "index": -1 + }, + { + "type": "bool", + "name": "loop", + "setter": "set_loop", + "getter": "has_loop", + "index": -1 + }, + { + "type": "float", + "name": "step", + "setter": "set_step", + "getter": "get_step", + "index": -1 + } + ] + }, + { + "name": "AnimationNode", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "FilterAction", + "values": [ + { + "name": "FILTER_IGNORE", + "value": 0 + }, + { + "name": "FILTER_PASS", + "value": 1 + }, + { + "name": "FILTER_STOP", + "value": 2 + }, + { + "name": "FILTER_BLEND", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "_get_child_nodes", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "_get_parameter_list", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Array" + } + }, + { + "name": "_get_child_by_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Object" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "_get_parameter_default_value", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "_process", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "time", + "type": "float" + }, + { + "name": "seek", + "type": "bool" + } + ] + }, + { + "name": "_get_caption", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_has_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_input_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_input_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "input", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_input", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "remove_input", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_filter_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "path", + "type": "NodePath" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_path_filtered", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "set_filter_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_filter_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "blend_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "animation", + "type": "StringName" + }, + { + "name": "time", + "type": "float", + "meta": "float" + }, + { + "name": "delta", + "type": "float", + "meta": "float" + }, + { + "name": "seeked", + "type": "bool" + }, + { + "name": "blend", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "blend_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1630676879, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "node", + "type": "AnimationNode" + }, + { + "name": "time", + "type": "float", + "meta": "float" + }, + { + "name": "seek", + "type": "bool" + }, + { + "name": "blend", + "type": "float", + "meta": "float" + }, + { + "name": "filter", + "type": "enum::AnimationNode.FilterAction", + "default_value": "0" + }, + { + "name": "optimize", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "blend_input", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1591541486, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "input_index", + "type": "int", + "meta": "int32" + }, + { + "name": "time", + "type": "float", + "meta": "float" + }, + { + "name": "seek", + "type": "bool" + }, + { + "name": "blend", + "type": "float", + "meta": "float" + }, + { + "name": "filter", + "type": "enum::AnimationNode.FilterAction", + "default_value": "0" + }, + { + "name": "optimize", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "set_parameter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_parameter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + } + ], + "signals": [ + { + "name": "removed_from_graph" + }, + { + "name": "tree_changed" + } + ], + "properties": [ + { + "type": "bool", + "name": "filter_enabled", + "setter": "set_filter_enabled", + "getter": "is_filter_enabled", + "index": -1 + }, + { + "type": "Array", + "name": "filters", + "setter": "_set_filters", + "getter": "_get_filters", + "index": -1 + } + ] + }, + { + "name": "AnimationNodeAdd2", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationNode", + "api_type": "core", + "methods": [ + { + "name": "set_use_sync", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_sync", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "sync", + "setter": "set_use_sync", + "getter": "is_using_sync", + "index": -1 + } + ] + }, + { + "name": "AnimationNodeAdd3", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationNode", + "api_type": "core", + "methods": [ + { + "name": "set_use_sync", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_sync", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "sync", + "setter": "set_use_sync", + "getter": "is_using_sync", + "index": -1 + } + ] + }, + { + "name": "AnimationNodeAnimation", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationRootNode", + "api_type": "core", + "methods": [ + { + "name": "set_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_animation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + } + ], + "properties": [ + { + "type": "StringName", + "name": "animation", + "setter": "set_animation", + "getter": "get_animation", + "index": -1 + } + ] + }, + { + "name": "AnimationNodeBlend2", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationNode", + "api_type": "core", + "methods": [ + { + "name": "set_use_sync", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_sync", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "sync", + "setter": "set_use_sync", + "getter": "is_using_sync", + "index": -1 + } + ] + }, + { + "name": "AnimationNodeBlend3", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationNode", + "api_type": "core", + "methods": [ + { + "name": "set_use_sync", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_sync", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "sync", + "setter": "set_use_sync", + "getter": "is_using_sync", + "index": -1 + } + ] + }, + { + "name": "AnimationNodeBlendSpace1D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationRootNode", + "api_type": "core", + "methods": [ + { + "name": "add_blend_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "node", + "type": "AnimationRootNode" + }, + { + "name": "pos", + "type": "float", + "meta": "float" + }, + { + "name": "at_index", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "set_blend_point_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + }, + { + "name": "pos", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_blend_point_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_blend_point_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + }, + { + "name": "node", + "type": "AnimationRootNode" + } + ] + }, + { + "name": "get_blend_point_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "AnimationRootNode" + }, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_blend_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_blend_point_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_min_space", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "min_space", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_min_space", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_space", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_space", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_max_space", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_snap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "snap", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_snap", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_value_label", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_value_label", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "AnimationRootNode", + "name": "blend_point_0/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 0 + }, + { + "type": "float", + "name": "blend_point_0/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 0 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_1/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 1 + }, + { + "type": "float", + "name": "blend_point_1/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 1 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_2/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 2 + }, + { + "type": "float", + "name": "blend_point_2/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 2 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_3/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 3 + }, + { + "type": "float", + "name": "blend_point_3/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 3 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_4/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 4 + }, + { + "type": "float", + "name": "blend_point_4/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 4 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_5/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 5 + }, + { + "type": "float", + "name": "blend_point_5/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 5 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_6/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 6 + }, + { + "type": "float", + "name": "blend_point_6/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 6 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_7/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 7 + }, + { + "type": "float", + "name": "blend_point_7/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 7 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_8/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 8 + }, + { + "type": "float", + "name": "blend_point_8/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 8 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_9/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 9 + }, + { + "type": "float", + "name": "blend_point_9/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 9 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_10/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 10 + }, + { + "type": "float", + "name": "blend_point_10/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 10 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_11/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 11 + }, + { + "type": "float", + "name": "blend_point_11/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 11 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_12/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 12 + }, + { + "type": "float", + "name": "blend_point_12/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 12 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_13/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 13 + }, + { + "type": "float", + "name": "blend_point_13/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 13 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_14/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 14 + }, + { + "type": "float", + "name": "blend_point_14/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 14 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_15/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 15 + }, + { + "type": "float", + "name": "blend_point_15/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 15 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_16/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 16 + }, + { + "type": "float", + "name": "blend_point_16/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 16 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_17/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 17 + }, + { + "type": "float", + "name": "blend_point_17/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 17 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_18/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 18 + }, + { + "type": "float", + "name": "blend_point_18/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 18 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_19/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 19 + }, + { + "type": "float", + "name": "blend_point_19/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 19 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_20/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 20 + }, + { + "type": "float", + "name": "blend_point_20/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 20 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_21/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 21 + }, + { + "type": "float", + "name": "blend_point_21/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 21 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_22/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 22 + }, + { + "type": "float", + "name": "blend_point_22/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 22 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_23/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 23 + }, + { + "type": "float", + "name": "blend_point_23/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 23 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_24/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 24 + }, + { + "type": "float", + "name": "blend_point_24/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 24 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_25/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 25 + }, + { + "type": "float", + "name": "blend_point_25/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 25 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_26/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 26 + }, + { + "type": "float", + "name": "blend_point_26/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 26 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_27/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 27 + }, + { + "type": "float", + "name": "blend_point_27/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 27 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_28/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 28 + }, + { + "type": "float", + "name": "blend_point_28/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 28 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_29/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 29 + }, + { + "type": "float", + "name": "blend_point_29/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 29 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_30/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 30 + }, + { + "type": "float", + "name": "blend_point_30/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 30 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_31/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 31 + }, + { + "type": "float", + "name": "blend_point_31/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 31 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_32/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 32 + }, + { + "type": "float", + "name": "blend_point_32/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 32 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_33/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 33 + }, + { + "type": "float", + "name": "blend_point_33/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 33 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_34/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 34 + }, + { + "type": "float", + "name": "blend_point_34/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 34 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_35/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 35 + }, + { + "type": "float", + "name": "blend_point_35/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 35 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_36/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 36 + }, + { + "type": "float", + "name": "blend_point_36/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 36 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_37/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 37 + }, + { + "type": "float", + "name": "blend_point_37/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 37 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_38/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 38 + }, + { + "type": "float", + "name": "blend_point_38/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 38 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_39/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 39 + }, + { + "type": "float", + "name": "blend_point_39/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 39 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_40/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 40 + }, + { + "type": "float", + "name": "blend_point_40/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 40 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_41/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 41 + }, + { + "type": "float", + "name": "blend_point_41/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 41 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_42/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 42 + }, + { + "type": "float", + "name": "blend_point_42/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 42 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_43/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 43 + }, + { + "type": "float", + "name": "blend_point_43/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 43 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_44/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 44 + }, + { + "type": "float", + "name": "blend_point_44/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 44 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_45/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 45 + }, + { + "type": "float", + "name": "blend_point_45/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 45 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_46/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 46 + }, + { + "type": "float", + "name": "blend_point_46/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 46 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_47/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 47 + }, + { + "type": "float", + "name": "blend_point_47/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 47 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_48/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 48 + }, + { + "type": "float", + "name": "blend_point_48/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 48 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_49/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 49 + }, + { + "type": "float", + "name": "blend_point_49/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 49 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_50/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 50 + }, + { + "type": "float", + "name": "blend_point_50/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 50 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_51/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 51 + }, + { + "type": "float", + "name": "blend_point_51/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 51 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_52/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 52 + }, + { + "type": "float", + "name": "blend_point_52/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 52 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_53/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 53 + }, + { + "type": "float", + "name": "blend_point_53/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 53 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_54/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 54 + }, + { + "type": "float", + "name": "blend_point_54/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 54 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_55/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 55 + }, + { + "type": "float", + "name": "blend_point_55/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 55 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_56/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 56 + }, + { + "type": "float", + "name": "blend_point_56/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 56 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_57/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 57 + }, + { + "type": "float", + "name": "blend_point_57/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 57 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_58/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 58 + }, + { + "type": "float", + "name": "blend_point_58/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 58 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_59/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 59 + }, + { + "type": "float", + "name": "blend_point_59/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 59 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_60/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 60 + }, + { + "type": "float", + "name": "blend_point_60/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 60 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_61/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 61 + }, + { + "type": "float", + "name": "blend_point_61/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 61 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_62/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 62 + }, + { + "type": "float", + "name": "blend_point_62/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 62 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_63/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 63 + }, + { + "type": "float", + "name": "blend_point_63/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 63 + }, + { + "type": "float", + "name": "min_space", + "setter": "set_min_space", + "getter": "get_min_space", + "index": -1 + }, + { + "type": "float", + "name": "max_space", + "setter": "set_max_space", + "getter": "get_max_space", + "index": -1 + }, + { + "type": "float", + "name": "snap", + "setter": "set_snap", + "getter": "get_snap", + "index": -1 + }, + { + "type": "String", + "name": "value_label", + "setter": "set_value_label", + "getter": "get_value_label", + "index": -1 + } + ] + }, + { + "name": "AnimationNodeBlendSpace2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationRootNode", + "api_type": "core", + "enums": [ + { + "name": "BlendMode", + "values": [ + { + "name": "BLEND_MODE_INTERPOLATED", + "value": 0 + }, + { + "name": "BLEND_MODE_DISCRETE", + "value": 1 + }, + { + "name": "BLEND_MODE_DISCRETE_CARRY", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "add_blend_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "node", + "type": "AnimationRootNode" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "at_index", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "set_blend_point_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + }, + { + "name": "pos", + "type": "Vector2" + } + ] + }, + { + "name": "get_blend_point_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_blend_point_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + }, + { + "name": "node", + "type": "AnimationRootNode" + } + ] + }, + { + "name": "get_blend_point_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "AnimationRootNode" + }, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_blend_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_blend_point_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "add_triangle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "x", + "type": "int", + "meta": "int32" + }, + { + "name": "y", + "type": "int", + "meta": "int32" + }, + { + "name": "z", + "type": "int", + "meta": "int32" + }, + { + "name": "at_index", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_triangle_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "triangle", + "type": "int", + "meta": "int32" + }, + { + "name": "point", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_triangle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "triangle", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_triangle_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_min_space", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "min_space", + "type": "Vector2" + } + ] + }, + { + "name": "get_min_space", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_max_space", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_space", + "type": "Vector2" + } + ] + }, + { + "name": "get_max_space", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_snap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "snap", + "type": "Vector2" + } + ] + }, + { + "name": "get_snap", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_x_label", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_x_label", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_y_label", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_y_label", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_auto_triangles", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_auto_triangles", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_blend_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::AnimationNodeBlendSpace2D.BlendMode" + } + ] + }, + { + "name": "get_blend_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AnimationNodeBlendSpace2D.BlendMode" + } + } + ], + "signals": [ + { + "name": "triangles_updated" + } + ], + "properties": [ + { + "type": "bool", + "name": "auto_triangles", + "setter": "set_auto_triangles", + "getter": "get_auto_triangles", + "index": -1 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_0/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 0 + }, + { + "type": "Vector2", + "name": "blend_point_0/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 0 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_1/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 1 + }, + { + "type": "Vector2", + "name": "blend_point_1/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 1 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_2/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 2 + }, + { + "type": "Vector2", + "name": "blend_point_2/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 2 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_3/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 3 + }, + { + "type": "Vector2", + "name": "blend_point_3/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 3 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_4/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 4 + }, + { + "type": "Vector2", + "name": "blend_point_4/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 4 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_5/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 5 + }, + { + "type": "Vector2", + "name": "blend_point_5/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 5 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_6/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 6 + }, + { + "type": "Vector2", + "name": "blend_point_6/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 6 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_7/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 7 + }, + { + "type": "Vector2", + "name": "blend_point_7/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 7 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_8/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 8 + }, + { + "type": "Vector2", + "name": "blend_point_8/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 8 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_9/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 9 + }, + { + "type": "Vector2", + "name": "blend_point_9/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 9 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_10/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 10 + }, + { + "type": "Vector2", + "name": "blend_point_10/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 10 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_11/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 11 + }, + { + "type": "Vector2", + "name": "blend_point_11/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 11 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_12/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 12 + }, + { + "type": "Vector2", + "name": "blend_point_12/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 12 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_13/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 13 + }, + { + "type": "Vector2", + "name": "blend_point_13/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 13 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_14/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 14 + }, + { + "type": "Vector2", + "name": "blend_point_14/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 14 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_15/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 15 + }, + { + "type": "Vector2", + "name": "blend_point_15/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 15 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_16/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 16 + }, + { + "type": "Vector2", + "name": "blend_point_16/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 16 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_17/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 17 + }, + { + "type": "Vector2", + "name": "blend_point_17/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 17 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_18/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 18 + }, + { + "type": "Vector2", + "name": "blend_point_18/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 18 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_19/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 19 + }, + { + "type": "Vector2", + "name": "blend_point_19/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 19 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_20/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 20 + }, + { + "type": "Vector2", + "name": "blend_point_20/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 20 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_21/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 21 + }, + { + "type": "Vector2", + "name": "blend_point_21/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 21 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_22/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 22 + }, + { + "type": "Vector2", + "name": "blend_point_22/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 22 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_23/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 23 + }, + { + "type": "Vector2", + "name": "blend_point_23/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 23 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_24/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 24 + }, + { + "type": "Vector2", + "name": "blend_point_24/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 24 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_25/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 25 + }, + { + "type": "Vector2", + "name": "blend_point_25/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 25 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_26/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 26 + }, + { + "type": "Vector2", + "name": "blend_point_26/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 26 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_27/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 27 + }, + { + "type": "Vector2", + "name": "blend_point_27/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 27 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_28/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 28 + }, + { + "type": "Vector2", + "name": "blend_point_28/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 28 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_29/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 29 + }, + { + "type": "Vector2", + "name": "blend_point_29/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 29 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_30/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 30 + }, + { + "type": "Vector2", + "name": "blend_point_30/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 30 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_31/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 31 + }, + { + "type": "Vector2", + "name": "blend_point_31/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 31 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_32/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 32 + }, + { + "type": "Vector2", + "name": "blend_point_32/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 32 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_33/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 33 + }, + { + "type": "Vector2", + "name": "blend_point_33/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 33 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_34/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 34 + }, + { + "type": "Vector2", + "name": "blend_point_34/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 34 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_35/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 35 + }, + { + "type": "Vector2", + "name": "blend_point_35/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 35 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_36/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 36 + }, + { + "type": "Vector2", + "name": "blend_point_36/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 36 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_37/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 37 + }, + { + "type": "Vector2", + "name": "blend_point_37/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 37 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_38/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 38 + }, + { + "type": "Vector2", + "name": "blend_point_38/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 38 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_39/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 39 + }, + { + "type": "Vector2", + "name": "blend_point_39/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 39 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_40/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 40 + }, + { + "type": "Vector2", + "name": "blend_point_40/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 40 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_41/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 41 + }, + { + "type": "Vector2", + "name": "blend_point_41/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 41 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_42/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 42 + }, + { + "type": "Vector2", + "name": "blend_point_42/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 42 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_43/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 43 + }, + { + "type": "Vector2", + "name": "blend_point_43/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 43 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_44/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 44 + }, + { + "type": "Vector2", + "name": "blend_point_44/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 44 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_45/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 45 + }, + { + "type": "Vector2", + "name": "blend_point_45/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 45 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_46/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 46 + }, + { + "type": "Vector2", + "name": "blend_point_46/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 46 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_47/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 47 + }, + { + "type": "Vector2", + "name": "blend_point_47/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 47 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_48/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 48 + }, + { + "type": "Vector2", + "name": "blend_point_48/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 48 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_49/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 49 + }, + { + "type": "Vector2", + "name": "blend_point_49/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 49 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_50/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 50 + }, + { + "type": "Vector2", + "name": "blend_point_50/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 50 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_51/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 51 + }, + { + "type": "Vector2", + "name": "blend_point_51/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 51 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_52/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 52 + }, + { + "type": "Vector2", + "name": "blend_point_52/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 52 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_53/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 53 + }, + { + "type": "Vector2", + "name": "blend_point_53/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 53 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_54/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 54 + }, + { + "type": "Vector2", + "name": "blend_point_54/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 54 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_55/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 55 + }, + { + "type": "Vector2", + "name": "blend_point_55/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 55 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_56/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 56 + }, + { + "type": "Vector2", + "name": "blend_point_56/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 56 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_57/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 57 + }, + { + "type": "Vector2", + "name": "blend_point_57/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 57 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_58/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 58 + }, + { + "type": "Vector2", + "name": "blend_point_58/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 58 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_59/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 59 + }, + { + "type": "Vector2", + "name": "blend_point_59/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 59 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_60/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 60 + }, + { + "type": "Vector2", + "name": "blend_point_60/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 60 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_61/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 61 + }, + { + "type": "Vector2", + "name": "blend_point_61/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 61 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_62/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 62 + }, + { + "type": "Vector2", + "name": "blend_point_62/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 62 + }, + { + "type": "AnimationRootNode", + "name": "blend_point_63/node", + "setter": "_add_blend_point", + "getter": "get_blend_point_node", + "index": 63 + }, + { + "type": "Vector2", + "name": "blend_point_63/pos", + "setter": "set_blend_point_position", + "getter": "get_blend_point_position", + "index": 63 + }, + { + "type": "PackedInt32Array", + "name": "triangles", + "setter": "_set_triangles", + "getter": "_get_triangles", + "index": -1 + }, + { + "type": "Vector2", + "name": "min_space", + "setter": "set_min_space", + "getter": "get_min_space", + "index": -1 + }, + { + "type": "Vector2", + "name": "max_space", + "setter": "set_max_space", + "getter": "get_max_space", + "index": -1 + }, + { + "type": "Vector2", + "name": "snap", + "setter": "set_snap", + "getter": "get_snap", + "index": -1 + }, + { + "type": "String", + "name": "x_label", + "setter": "set_x_label", + "getter": "get_x_label", + "index": -1 + }, + { + "type": "String", + "name": "y_label", + "setter": "set_y_label", + "getter": "get_y_label", + "index": -1 + }, + { + "type": "int", + "name": "blend_mode", + "setter": "set_blend_mode", + "getter": "get_blend_mode", + "index": -1 + } + ] + }, + { + "name": "AnimationNodeBlendTree", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationRootNode", + "api_type": "core", + "constants": [ + { + "name": "CONNECTION_OK", + "value": 0 + }, + { + "name": "CONNECTION_ERROR_NO_INPUT", + "value": 1 + }, + { + "name": "CONNECTION_ERROR_NO_INPUT_INDEX", + "value": 2 + }, + { + "name": "CONNECTION_ERROR_NO_OUTPUT", + "value": 3 + }, + { + "name": "CONNECTION_ERROR_SAME_NODE", + "value": 4 + }, + { + "name": "CONNECTION_ERROR_CONNECTION_EXISTS", + "value": 5 + } + ], + "methods": [ + { + "name": "add_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "node", + "type": "AnimationNode" + }, + { + "name": "position", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "get_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "AnimationNode" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "remove_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "rename_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "new_name", + "type": "StringName" + } + ] + }, + { + "name": "has_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "connect_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "input_node", + "type": "StringName" + }, + { + "name": "input_index", + "type": "int", + "meta": "int32" + }, + { + "name": "output_node", + "type": "StringName" + } + ] + }, + { + "name": "disconnect_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "input_node", + "type": "StringName" + }, + { + "name": "input_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_node_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_node_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "set_graph_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_graph_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "graph_offset", + "setter": "set_graph_offset", + "getter": "get_graph_offset", + "index": -1 + } + ] + }, + { + "name": "AnimationNodeOneShot", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationNode", + "api_type": "core", + "enums": [ + { + "name": "MixMode", + "values": [ + { + "name": "MIX_MODE_BLEND", + "value": 0 + }, + { + "name": "MIX_MODE_ADD", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_fadein_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "time", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fadein_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fadeout_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "time", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fadeout_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_autorestart", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "has_autorestart", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_autorestart_delay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_autorestart_delay", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_autorestart_random_delay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_autorestart_random_delay", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_mix_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::AnimationNodeOneShot.MixMode" + } + ] + }, + { + "name": "get_mix_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AnimationNodeOneShot.MixMode" + } + }, + { + "name": "set_use_sync", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_sync", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "float", + "name": "fadein_time", + "setter": "set_fadein_time", + "getter": "get_fadein_time", + "index": -1 + }, + { + "type": "float", + "name": "fadeout_time", + "setter": "set_fadeout_time", + "getter": "get_fadeout_time", + "index": -1 + }, + { + "type": "bool", + "name": "autorestart", + "setter": "set_autorestart", + "getter": "has_autorestart", + "index": -1 + }, + { + "type": "float", + "name": "autorestart_delay", + "setter": "set_autorestart_delay", + "getter": "get_autorestart_delay", + "index": -1 + }, + { + "type": "float", + "name": "autorestart_random_delay", + "setter": "set_autorestart_random_delay", + "getter": "get_autorestart_random_delay", + "index": -1 + }, + { + "type": "bool", + "name": "sync", + "setter": "set_use_sync", + "getter": "is_using_sync", + "index": -1 + } + ] + }, + { + "name": "AnimationNodeOutput", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationNode", + "api_type": "core" + }, + { + "name": "AnimationNodeStateMachine", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationRootNode", + "api_type": "core", + "methods": [ + { + "name": "add_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "node", + "type": "AnimationNode" + }, + { + "name": "position", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "replace_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "node", + "type": "AnimationNode" + } + ] + }, + { + "name": "get_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "AnimationNode" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "remove_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "rename_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "new_name", + "type": "StringName" + } + ] + }, + { + "name": "has_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_node_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "node", + "type": "AnimationNode" + } + ] + }, + { + "name": "set_node_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_node_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "has_transition", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "from", + "type": "StringName" + }, + { + "name": "to", + "type": "StringName" + } + ] + }, + { + "name": "add_transition", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "from", + "type": "StringName" + }, + { + "name": "to", + "type": "StringName" + }, + { + "name": "transition", + "type": "AnimationNodeStateMachineTransition" + } + ] + }, + { + "name": "get_transition", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "AnimationNodeStateMachineTransition" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_transition_from", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_transition_to", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_transition_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "remove_transition_by_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_transition", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "from", + "type": "StringName" + }, + { + "name": "to", + "type": "StringName" + } + ] + }, + { + "name": "set_start_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_start_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_end_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_end_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_graph_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_graph_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ] + }, + { + "name": "AnimationNodeStateMachinePlayback", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "travel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "to_node", + "type": "StringName" + } + ] + }, + { + "name": "start", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "StringName" + } + ] + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_playing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_current_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "get_current_play_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_current_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_travel_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + } + ] + }, + { + "name": "AnimationNodeStateMachineTransition", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "SwitchMode", + "values": [ + { + "name": "SWITCH_MODE_IMMEDIATE", + "value": 0 + }, + { + "name": "SWITCH_MODE_SYNC", + "value": 1 + }, + { + "name": "SWITCH_MODE_AT_END", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_switch_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::AnimationNodeStateMachineTransition.SwitchMode" + } + ] + }, + { + "name": "get_switch_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AnimationNodeStateMachineTransition.SwitchMode" + } + }, + { + "name": "set_auto_advance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "auto_advance", + "type": "bool" + } + ] + }, + { + "name": "has_auto_advance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_advance_condition", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_advance_condition", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_xfade_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "secs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_xfade_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "is_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_priority", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "priority", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_priority", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "signals": [ + { + "name": "advance_condition_changed" + } + ], + "properties": [ + { + "type": "int", + "name": "switch_mode", + "setter": "set_switch_mode", + "getter": "get_switch_mode", + "index": -1 + }, + { + "type": "bool", + "name": "auto_advance", + "setter": "set_auto_advance", + "getter": "has_auto_advance", + "index": -1 + }, + { + "type": "StringName", + "name": "advance_condition", + "setter": "set_advance_condition", + "getter": "get_advance_condition", + "index": -1 + }, + { + "type": "float", + "name": "xfade_time", + "setter": "set_xfade_time", + "getter": "get_xfade_time", + "index": -1 + }, + { + "type": "int", + "name": "priority", + "setter": "set_priority", + "getter": "get_priority", + "index": -1 + }, + { + "type": "bool", + "name": "disabled", + "setter": "set_disabled", + "getter": "is_disabled", + "index": -1 + } + ] + }, + { + "name": "AnimationNodeTimeScale", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationNode", + "api_type": "core" + }, + { + "name": "AnimationNodeTimeSeek", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationNode", + "api_type": "core" + }, + { + "name": "AnimationNodeTransition", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationNode", + "api_type": "core", + "methods": [ + { + "name": "set_enabled_inputs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_enabled_inputs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_input_as_auto_advance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "input", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_input_set_as_auto_advance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "input", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_input_caption", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "input", + "type": "int", + "meta": "int32" + }, + { + "name": "caption", + "type": "String" + } + ] + }, + { + "name": "get_input_caption", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "input", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_cross_fade_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "time", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_cross_fade_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "int", + "name": "input_count", + "setter": "set_enabled_inputs", + "getter": "get_enabled_inputs", + "index": -1 + }, + { + "type": "float", + "name": "xfade_time", + "setter": "set_cross_fade_time", + "getter": "get_cross_fade_time", + "index": -1 + }, + { + "type": "String", + "name": "input_0/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 0 + }, + { + "type": "bool", + "name": "input_0/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 0 + }, + { + "type": "String", + "name": "input_1/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 1 + }, + { + "type": "bool", + "name": "input_1/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 1 + }, + { + "type": "String", + "name": "input_2/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 2 + }, + { + "type": "bool", + "name": "input_2/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 2 + }, + { + "type": "String", + "name": "input_3/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 3 + }, + { + "type": "bool", + "name": "input_3/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 3 + }, + { + "type": "String", + "name": "input_4/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 4 + }, + { + "type": "bool", + "name": "input_4/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 4 + }, + { + "type": "String", + "name": "input_5/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 5 + }, + { + "type": "bool", + "name": "input_5/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 5 + }, + { + "type": "String", + "name": "input_6/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 6 + }, + { + "type": "bool", + "name": "input_6/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 6 + }, + { + "type": "String", + "name": "input_7/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 7 + }, + { + "type": "bool", + "name": "input_7/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 7 + }, + { + "type": "String", + "name": "input_8/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 8 + }, + { + "type": "bool", + "name": "input_8/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 8 + }, + { + "type": "String", + "name": "input_9/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 9 + }, + { + "type": "bool", + "name": "input_9/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 9 + }, + { + "type": "String", + "name": "input_10/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 10 + }, + { + "type": "bool", + "name": "input_10/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 10 + }, + { + "type": "String", + "name": "input_11/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 11 + }, + { + "type": "bool", + "name": "input_11/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 11 + }, + { + "type": "String", + "name": "input_12/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 12 + }, + { + "type": "bool", + "name": "input_12/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 12 + }, + { + "type": "String", + "name": "input_13/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 13 + }, + { + "type": "bool", + "name": "input_13/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 13 + }, + { + "type": "String", + "name": "input_14/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 14 + }, + { + "type": "bool", + "name": "input_14/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 14 + }, + { + "type": "String", + "name": "input_15/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 15 + }, + { + "type": "bool", + "name": "input_15/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 15 + }, + { + "type": "String", + "name": "input_16/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 16 + }, + { + "type": "bool", + "name": "input_16/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 16 + }, + { + "type": "String", + "name": "input_17/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 17 + }, + { + "type": "bool", + "name": "input_17/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 17 + }, + { + "type": "String", + "name": "input_18/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 18 + }, + { + "type": "bool", + "name": "input_18/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 18 + }, + { + "type": "String", + "name": "input_19/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 19 + }, + { + "type": "bool", + "name": "input_19/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 19 + }, + { + "type": "String", + "name": "input_20/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 20 + }, + { + "type": "bool", + "name": "input_20/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 20 + }, + { + "type": "String", + "name": "input_21/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 21 + }, + { + "type": "bool", + "name": "input_21/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 21 + }, + { + "type": "String", + "name": "input_22/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 22 + }, + { + "type": "bool", + "name": "input_22/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 22 + }, + { + "type": "String", + "name": "input_23/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 23 + }, + { + "type": "bool", + "name": "input_23/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 23 + }, + { + "type": "String", + "name": "input_24/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 24 + }, + { + "type": "bool", + "name": "input_24/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 24 + }, + { + "type": "String", + "name": "input_25/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 25 + }, + { + "type": "bool", + "name": "input_25/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 25 + }, + { + "type": "String", + "name": "input_26/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 26 + }, + { + "type": "bool", + "name": "input_26/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 26 + }, + { + "type": "String", + "name": "input_27/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 27 + }, + { + "type": "bool", + "name": "input_27/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 27 + }, + { + "type": "String", + "name": "input_28/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 28 + }, + { + "type": "bool", + "name": "input_28/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 28 + }, + { + "type": "String", + "name": "input_29/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 29 + }, + { + "type": "bool", + "name": "input_29/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 29 + }, + { + "type": "String", + "name": "input_30/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 30 + }, + { + "type": "bool", + "name": "input_30/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 30 + }, + { + "type": "String", + "name": "input_31/name", + "setter": "set_input_caption", + "getter": "get_input_caption", + "index": 31 + }, + { + "type": "bool", + "name": "input_31/auto_advance", + "setter": "set_input_as_auto_advance", + "getter": "is_input_set_as_auto_advance", + "index": 31 + } + ] + }, + { + "name": "AnimationPlayer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core", + "enums": [ + { + "name": "AnimationProcessCallback", + "values": [ + { + "name": "ANIMATION_PROCESS_PHYSICS", + "value": 0 + }, + { + "name": "ANIMATION_PROCESS_IDLE", + "value": 1 + }, + { + "name": "ANIMATION_PROCESS_MANUAL", + "value": 2 + } + ] + }, + { + "name": "AnimationMethodCallMode", + "values": [ + { + "name": "ANIMATION_METHOD_CALL_DEFERRED", + "value": 0 + }, + { + "name": "ANIMATION_METHOD_CALL_IMMEDIATE", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "add_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "animation", + "type": "Animation" + } + ] + }, + { + "name": "remove_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "rename_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "newname", + "type": "StringName" + } + ] + }, + { + "name": "has_animation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_animation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Animation" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_animation_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "animation_set_next", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "anim_from", + "type": "StringName" + }, + { + "name": "anim_to", + "type": "StringName" + } + ] + }, + { + "name": "animation_get_next", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "anim_from", + "type": "StringName" + } + ] + }, + { + "name": "set_blend_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "anim_from", + "type": "StringName" + }, + { + "name": "anim_to", + "type": "StringName" + }, + { + "name": "sec", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_blend_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "anim_from", + "type": "StringName" + }, + { + "name": "anim_to", + "type": "StringName" + } + ] + }, + { + "name": "set_default_blend_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sec", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_default_blend_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "play", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 505897899, + "arguments": [ + { + "name": "name", + "type": "StringName", + "default_value": "\"\"" + }, + { + "name": "custom_blend", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "custom_speed", + "type": "float", + "meta": "float", + "default_value": "1.0" + }, + { + "name": "from_end", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "play_backwards", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 336907853, + "arguments": [ + { + "name": "name", + "type": "StringName", + "default_value": "\"\"" + }, + { + "name": "custom_blend", + "type": "float", + "meta": "float", + "default_value": "-1" + } + ] + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133279208, + "arguments": [ + { + "name": "reset", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "is_playing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_current_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "anim", + "type": "String" + } + ] + }, + { + "name": "get_current_animation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_assigned_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "anim", + "type": "String" + } + ] + }, + { + "name": "get_assigned_animation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "queue", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_queue", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "clear_queue", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "is_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_speed_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_speed_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_playing_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_autoplay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_autoplay", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_reset_on_save_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_reset_on_save_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_root", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_root", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "find_animation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "animation", + "type": "Animation" + } + ] + }, + { + "name": "clear_caches", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_process_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::AnimationPlayer.AnimationProcessCallback" + } + ] + }, + { + "name": "get_process_callback", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AnimationPlayer.AnimationProcessCallback" + } + }, + { + "name": "set_method_call_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::AnimationPlayer.AnimationMethodCallMode" + } + ] + }, + { + "name": "get_method_call_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AnimationPlayer.AnimationMethodCallMode" + } + }, + { + "name": "get_current_animation_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_current_animation_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "seek", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "seconds", + "type": "float", + "meta": "float" + }, + { + "name": "update", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "advance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "delta", + "type": "float", + "meta": "float" + } + ] + } + ], + "signals": [ + { + "name": "caches_cleared" + }, + { + "name": "animation_started", + "arguments": [ + { + "name": "anim_name", + "type": "StringName" + } + ] + }, + { + "name": "animation_changed", + "arguments": [ + { + "name": "old_name", + "type": "StringName" + }, + { + "name": "new_name", + "type": "StringName" + } + ] + }, + { + "name": "animation_finished", + "arguments": [ + { + "name": "anim_name", + "type": "StringName" + } + ] + } + ], + "properties": [ + { + "type": "NodePath", + "name": "root_node", + "setter": "set_root", + "getter": "get_root", + "index": -1 + }, + { + "type": "StringName", + "name": "current_animation", + "setter": "set_current_animation", + "getter": "get_current_animation", + "index": -1 + }, + { + "type": "StringName", + "name": "assigned_animation", + "setter": "set_assigned_animation", + "getter": "get_assigned_animation", + "index": -1 + }, + { + "type": "StringName", + "name": "autoplay", + "setter": "set_autoplay", + "getter": "get_autoplay", + "index": -1 + }, + { + "type": "bool", + "name": "reset_on_save", + "setter": "set_reset_on_save_enabled", + "getter": "is_reset_on_save_enabled", + "index": -1 + }, + { + "type": "float", + "name": "current_animation_length", + "setter": "", + "getter": "get_current_animation_length", + "index": -1 + }, + { + "type": "float", + "name": "current_animation_position", + "setter": "", + "getter": "get_current_animation_position", + "index": -1 + }, + { + "type": "int", + "name": "playback_process_mode", + "setter": "set_process_callback", + "getter": "get_process_callback", + "index": -1 + }, + { + "type": "float", + "name": "playback_default_blend_time", + "setter": "set_default_blend_time", + "getter": "get_default_blend_time", + "index": -1 + }, + { + "type": "bool", + "name": "playback_active", + "setter": "set_active", + "getter": "is_active", + "index": -1 + }, + { + "type": "float", + "name": "playback_speed", + "setter": "set_speed_scale", + "getter": "get_speed_scale", + "index": -1 + }, + { + "type": "int", + "name": "method_call_mode", + "setter": "set_method_call_mode", + "getter": "get_method_call_mode", + "index": -1 + } + ] + }, + { + "name": "AnimationRootNode", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AnimationNode", + "api_type": "core" + }, + { + "name": "AnimationTrackEditPlugin", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "editor" + }, + { + "name": "AnimationTree", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core", + "enums": [ + { + "name": "AnimationProcessCallback", + "values": [ + { + "name": "ANIMATION_PROCESS_PHYSICS", + "value": 0 + }, + { + "name": "ANIMATION_PROCESS_IDLE", + "value": 1 + }, + { + "name": "ANIMATION_PROCESS_MANUAL", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "is_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_tree_root", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "root", + "type": "AnimationNode" + } + ] + }, + { + "name": "get_tree_root", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AnimationNode" + } + }, + { + "name": "set_process_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::AnimationTree.AnimationProcessCallback" + } + ] + }, + { + "name": "get_process_callback", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AnimationTree.AnimationProcessCallback" + } + }, + { + "name": "set_animation_player", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "root", + "type": "NodePath" + } + ] + }, + { + "name": "get_animation_player", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_root_motion_track", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_root_motion_track", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "get_root_motion_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "rename_parameter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "old_name", + "type": "String" + }, + { + "name": "new_name", + "type": "String" + } + ] + }, + { + "name": "advance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "delta", + "type": "float", + "meta": "float" + } + ] + } + ], + "properties": [ + { + "type": "AnimationRootNode", + "name": "tree_root", + "setter": "set_tree_root", + "getter": "get_tree_root", + "index": -1 + }, + { + "type": "NodePath", + "name": "anim_player", + "setter": "set_animation_player", + "getter": "get_animation_player", + "index": -1 + }, + { + "type": "bool", + "name": "active", + "setter": "set_active", + "getter": "is_active", + "index": -1 + }, + { + "type": "int", + "name": "process_callback", + "setter": "set_process_callback", + "getter": "get_process_callback", + "index": -1 + }, + { + "type": "NodePath", + "name": "root_motion_track", + "setter": "set_root_motion_track", + "getter": "get_root_motion_track", + "index": -1 + } + ] + }, + { + "name": "Area2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "CollisionObject2D", + "api_type": "core", + "enums": [ + { + "name": "SpaceOverride", + "values": [ + { + "name": "SPACE_OVERRIDE_DISABLED", + "value": 0 + }, + { + "name": "SPACE_OVERRIDE_COMBINE", + "value": 1 + }, + { + "name": "SPACE_OVERRIDE_COMBINE_REPLACE", + "value": 2 + }, + { + "name": "SPACE_OVERRIDE_REPLACE", + "value": 3 + }, + { + "name": "SPACE_OVERRIDE_REPLACE_COMBINE", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "set_space_override_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "space_override_mode", + "type": "enum::Area2D.SpaceOverride" + } + ] + }, + { + "name": "get_space_override_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Area2D.SpaceOverride" + } + }, + { + "name": "set_gravity_is_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_gravity_a_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_gravity_distance_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_gravity_distance_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_gravity_vector", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vector", + "type": "Vector2" + } + ] + }, + { + "name": "get_gravity_vector", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_gravity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gravity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_gravity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_linear_damp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "linear_damp", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_linear_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_angular_damp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angular_damp", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_angular_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_priority", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "priority", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_priority", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_monitoring", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_monitoring", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_monitorable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_monitorable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_overlapping_bodies", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_overlapping_areas", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "overlaps_body", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "overlaps_area", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "area", + "type": "Node" + } + ] + }, + { + "name": "set_audio_bus_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_audio_bus_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_audio_bus_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_overriding_audio_bus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "area_exited", + "arguments": [ + { + "name": "area", + "type": "Area2D" + } + ] + }, + { + "name": "area_shape_exited", + "arguments": [ + { + "name": "area_rid", + "type": "RID" + }, + { + "name": "area", + "type": "Area2D" + }, + { + "name": "area_shape", + "type": "int" + }, + { + "name": "local_shape", + "type": "int" + } + ] + }, + { + "name": "body_entered", + "arguments": [ + { + "name": "body", + "type": "Node2D" + } + ] + }, + { + "name": "body_shape_entered", + "arguments": [ + { + "name": "body_rid", + "type": "RID" + }, + { + "name": "body", + "type": "Node2D" + }, + { + "name": "body_shape", + "type": "int" + }, + { + "name": "local_shape", + "type": "int" + } + ] + }, + { + "name": "area_entered", + "arguments": [ + { + "name": "area", + "type": "Area2D" + } + ] + }, + { + "name": "area_shape_entered", + "arguments": [ + { + "name": "area_rid", + "type": "RID" + }, + { + "name": "area", + "type": "Area2D" + }, + { + "name": "area_shape", + "type": "int" + }, + { + "name": "local_shape", + "type": "int" + } + ] + }, + { + "name": "body_exited", + "arguments": [ + { + "name": "body", + "type": "Node2D" + } + ] + }, + { + "name": "body_shape_exited", + "arguments": [ + { + "name": "body_rid", + "type": "RID" + }, + { + "name": "body", + "type": "Node2D" + }, + { + "name": "body_shape", + "type": "int" + }, + { + "name": "local_shape", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "monitoring", + "setter": "set_monitoring", + "getter": "is_monitoring", + "index": -1 + }, + { + "type": "bool", + "name": "monitorable", + "setter": "set_monitorable", + "getter": "is_monitorable", + "index": -1 + }, + { + "type": "int", + "name": "priority", + "setter": "set_priority", + "getter": "get_priority", + "index": -1 + }, + { + "type": "int", + "name": "space_override", + "setter": "set_space_override_mode", + "getter": "get_space_override_mode", + "index": -1 + }, + { + "type": "bool", + "name": "gravity_point", + "setter": "set_gravity_is_point", + "getter": "is_gravity_a_point", + "index": -1 + }, + { + "type": "float", + "name": "gravity_distance_scale", + "setter": "set_gravity_distance_scale", + "getter": "get_gravity_distance_scale", + "index": -1 + }, + { + "type": "Vector2", + "name": "gravity_vec", + "setter": "set_gravity_vector", + "getter": "get_gravity_vector", + "index": -1 + }, + { + "type": "float", + "name": "gravity", + "setter": "set_gravity", + "getter": "get_gravity", + "index": -1 + }, + { + "type": "float", + "name": "linear_damp", + "setter": "set_linear_damp", + "getter": "get_linear_damp", + "index": -1 + }, + { + "type": "float", + "name": "angular_damp", + "setter": "set_angular_damp", + "getter": "get_angular_damp", + "index": -1 + }, + { + "type": "bool", + "name": "audio_bus_override", + "setter": "set_audio_bus_override", + "getter": "is_overriding_audio_bus", + "index": -1 + }, + { + "type": "StringName", + "name": "audio_bus_name", + "setter": "set_audio_bus_name", + "getter": "get_audio_bus_name", + "index": -1 + } + ] + }, + { + "name": "Area3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "CollisionObject3D", + "api_type": "core", + "enums": [ + { + "name": "SpaceOverride", + "values": [ + { + "name": "SPACE_OVERRIDE_DISABLED", + "value": 0 + }, + { + "name": "SPACE_OVERRIDE_COMBINE", + "value": 1 + }, + { + "name": "SPACE_OVERRIDE_COMBINE_REPLACE", + "value": 2 + }, + { + "name": "SPACE_OVERRIDE_REPLACE", + "value": 3 + }, + { + "name": "SPACE_OVERRIDE_REPLACE_COMBINE", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "set_space_override_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "enum::Area3D.SpaceOverride" + } + ] + }, + { + "name": "get_space_override_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Area3D.SpaceOverride" + } + }, + { + "name": "set_gravity_is_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_gravity_a_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_gravity_distance_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_gravity_distance_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_gravity_vector", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vector", + "type": "Vector3" + } + ] + }, + { + "name": "get_gravity_vector", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_gravity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gravity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_gravity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_angular_damp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angular_damp", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_angular_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_linear_damp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "linear_damp", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_linear_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_priority", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "priority", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_priority", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_monitorable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_monitorable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_monitoring", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_monitoring", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_overlapping_bodies", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_overlapping_areas", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "overlaps_body", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "overlaps_area", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "area", + "type": "Node" + } + ] + }, + { + "name": "set_audio_bus_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_overriding_audio_bus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_audio_bus_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_audio_bus_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_use_reverb_bus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_reverb_bus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_reverb_bus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_reverb_bus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_reverb_amount", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_reverb_amount", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_reverb_uniformity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_reverb_uniformity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "signals": [ + { + "name": "area_exited", + "arguments": [ + { + "name": "area", + "type": "Area3D" + } + ] + }, + { + "name": "area_shape_exited", + "arguments": [ + { + "name": "area_rid", + "type": "RID" + }, + { + "name": "area", + "type": "Area3D" + }, + { + "name": "area_shape", + "type": "int" + }, + { + "name": "local_shape", + "type": "int" + } + ] + }, + { + "name": "body_entered", + "arguments": [ + { + "name": "body", + "type": "Node3D" + } + ] + }, + { + "name": "body_shape_entered", + "arguments": [ + { + "name": "body_rid", + "type": "RID" + }, + { + "name": "body", + "type": "Node3D" + }, + { + "name": "body_shape", + "type": "int" + }, + { + "name": "local_shape", + "type": "int" + } + ] + }, + { + "name": "area_entered", + "arguments": [ + { + "name": "area", + "type": "Area3D" + } + ] + }, + { + "name": "area_shape_entered", + "arguments": [ + { + "name": "area_rid", + "type": "RID" + }, + { + "name": "area", + "type": "Area3D" + }, + { + "name": "area_shape", + "type": "int" + }, + { + "name": "local_shape", + "type": "int" + } + ] + }, + { + "name": "body_exited", + "arguments": [ + { + "name": "body", + "type": "Node3D" + } + ] + }, + { + "name": "body_shape_exited", + "arguments": [ + { + "name": "body_rid", + "type": "RID" + }, + { + "name": "body", + "type": "Node3D" + }, + { + "name": "body_shape", + "type": "int" + }, + { + "name": "local_shape", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "monitoring", + "setter": "set_monitoring", + "getter": "is_monitoring", + "index": -1 + }, + { + "type": "bool", + "name": "monitorable", + "setter": "set_monitorable", + "getter": "is_monitorable", + "index": -1 + }, + { + "type": "int", + "name": "priority", + "setter": "set_priority", + "getter": "get_priority", + "index": -1 + }, + { + "type": "int", + "name": "space_override", + "setter": "set_space_override_mode", + "getter": "get_space_override_mode", + "index": -1 + }, + { + "type": "bool", + "name": "gravity_point", + "setter": "set_gravity_is_point", + "getter": "is_gravity_a_point", + "index": -1 + }, + { + "type": "float", + "name": "gravity_distance_scale", + "setter": "set_gravity_distance_scale", + "getter": "get_gravity_distance_scale", + "index": -1 + }, + { + "type": "Vector3", + "name": "gravity_vec", + "setter": "set_gravity_vector", + "getter": "get_gravity_vector", + "index": -1 + }, + { + "type": "float", + "name": "gravity", + "setter": "set_gravity", + "getter": "get_gravity", + "index": -1 + }, + { + "type": "float", + "name": "linear_damp", + "setter": "set_linear_damp", + "getter": "get_linear_damp", + "index": -1 + }, + { + "type": "float", + "name": "angular_damp", + "setter": "set_angular_damp", + "getter": "get_angular_damp", + "index": -1 + }, + { + "type": "bool", + "name": "audio_bus_override", + "setter": "set_audio_bus_override", + "getter": "is_overriding_audio_bus", + "index": -1 + }, + { + "type": "StringName", + "name": "audio_bus_name", + "setter": "set_audio_bus_name", + "getter": "get_audio_bus_name", + "index": -1 + }, + { + "type": "bool", + "name": "reverb_bus_enable", + "setter": "set_use_reverb_bus", + "getter": "is_using_reverb_bus", + "index": -1 + }, + { + "type": "StringName", + "name": "reverb_bus_name", + "setter": "set_reverb_bus", + "getter": "get_reverb_bus", + "index": -1 + }, + { + "type": "float", + "name": "reverb_bus_amount", + "setter": "set_reverb_amount", + "getter": "get_reverb_amount", + "index": -1 + }, + { + "type": "float", + "name": "reverb_bus_uniformity", + "setter": "set_reverb_uniformity", + "getter": "get_reverb_uniformity", + "index": -1 + } + ] + }, + { + "name": "ArrayMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Mesh", + "api_type": "core", + "methods": [ + { + "name": "add_blend_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_blend_shape_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_blend_shape_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_blend_shape_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "clear_blend_shapes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_blend_shape_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Mesh.BlendShapeMode" + } + ] + }, + { + "name": "get_blend_shape_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Mesh.BlendShapeMode" + } + }, + { + "name": "add_surface_from_arrays", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 253535890, + "arguments": [ + { + "name": "primitive", + "type": "enum::Mesh.PrimitiveType" + }, + { + "name": "arrays", + "type": "Array" + }, + { + "name": "blend_shapes", + "type": "Array", + "default_value": "[]" + }, + { + "name": "lods", + "type": "Dictionary", + "default_value": "{\n}" + }, + { + "name": "compress_flags", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "clear_surfaces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "surface_update_vertex_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "offset", + "type": "int", + "meta": "int32" + }, + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "surface_update_attribute_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "offset", + "type": "int", + "meta": "int32" + }, + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "surface_update_skin_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "offset", + "type": "int", + "meta": "int32" + }, + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "surface_get_array_len", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "surface_get_array_index_len", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "surface_get_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "surface_get_primitive_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Mesh.PrimitiveType" + }, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "surface_find_by_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "surface_set_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "surface_get_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "regen_normal_maps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "lightmap_unwrap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "transform", + "type": "Transform3D" + }, + { + "name": "texel_size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_custom_aabb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "aabb", + "type": "AABB" + } + ] + }, + { + "name": "get_custom_aabb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AABB" + } + }, + { + "name": "set_shadow_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh", + "type": "ArrayMesh" + } + ] + }, + { + "name": "get_shadow_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "ArrayMesh" + } + } + ], + "properties": [ + { + "type": "int", + "name": "blend_shape_mode", + "setter": "set_blend_shape_mode", + "getter": "get_blend_shape_mode", + "index": -1 + }, + { + "type": "AABB", + "name": "custom_aabb", + "setter": "set_custom_aabb", + "getter": "get_custom_aabb", + "index": -1 + }, + { + "type": "ArrayMesh", + "name": "shadow_mesh", + "setter": "set_shadow_mesh", + "getter": "get_shadow_mesh", + "index": -1 + } + ] + }, + { + "name": "AspectRatioContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Container", + "api_type": "core", + "enums": [ + { + "name": "AlignMode", + "values": [ + { + "name": "ALIGN_BEGIN", + "value": 0 + }, + { + "name": "ALIGN_CENTER", + "value": 1 + }, + { + "name": "ALIGN_END", + "value": 2 + } + ] + }, + { + "name": "StretchMode", + "values": [ + { + "name": "STRETCH_WIDTH_CONTROLS_HEIGHT", + "value": 0 + }, + { + "name": "STRETCH_HEIGHT_CONTROLS_WIDTH", + "value": 1 + }, + { + "name": "STRETCH_FIT", + "value": 2 + }, + { + "name": "STRETCH_COVER", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_stretch_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "stretch_mode", + "type": "enum::AspectRatioContainer.StretchMode" + } + ] + }, + { + "name": "get_stretch_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AspectRatioContainer.StretchMode" + } + }, + { + "name": "set_alignment_horizontal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "alignment_horizontal", + "type": "enum::AspectRatioContainer.AlignMode" + } + ] + }, + { + "name": "get_alignment_horizontal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AspectRatioContainer.AlignMode" + } + }, + { + "name": "set_alignment_vertical", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "alignment_vertical", + "type": "enum::AspectRatioContainer.AlignMode" + } + ] + }, + { + "name": "get_alignment_vertical", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AspectRatioContainer.AlignMode" + } + } + ], + "properties": [ + { + "type": "float", + "name": "ratio", + "setter": "set_ratio", + "getter": "get_ratio", + "index": -1 + }, + { + "type": "int", + "name": "stretch_mode", + "setter": "set_stretch_mode", + "getter": "get_stretch_mode", + "index": -1 + }, + { + "type": "int", + "name": "alignment_horizontal", + "setter": "set_alignment_horizontal", + "getter": "get_alignment_horizontal", + "index": -1 + }, + { + "type": "int", + "name": "alignment_vertical", + "setter": "set_alignment_vertical", + "getter": "get_alignment_vertical", + "index": -1 + } + ] + }, + { + "name": "AtlasTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "methods": [ + { + "name": "set_atlas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "atlas", + "type": "Texture2D" + } + ] + }, + { + "name": "get_atlas", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "region", + "type": "Rect2" + } + ] + }, + { + "name": "get_region", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "set_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "margin", + "type": "Rect2" + } + ] + }, + { + "name": "get_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "set_filter_clip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "has_filter_clip", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "atlas", + "setter": "set_atlas", + "getter": "get_atlas", + "index": -1 + }, + { + "type": "Rect2", + "name": "region", + "setter": "set_region", + "getter": "get_region", + "index": -1 + }, + { + "type": "Rect2", + "name": "margin", + "setter": "set_margin", + "getter": "get_margin", + "index": -1 + }, + { + "type": "bool", + "name": "filter_clip", + "setter": "set_filter_clip", + "getter": "has_filter_clip", + "index": -1 + } + ] + }, + { + "name": "AudioBusLayout", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core" + }, + { + "name": "AudioEffect", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core" + }, + { + "name": "AudioEffectAmplify", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "set_volume_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "volume", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_volume_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "volume_db", + "setter": "set_volume_db", + "getter": "get_volume_db", + "index": -1 + } + ] + }, + { + "name": "AudioEffectBandLimitFilter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffectFilter", + "api_type": "core" + }, + { + "name": "AudioEffectBandPassFilter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffectFilter", + "api_type": "core" + }, + { + "name": "AudioEffectCapture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "can_get_buffer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "frames", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedVector2Array" + }, + "arguments": [ + { + "name": "frames", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_buffer_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "buffer_length_seconds", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_buffer_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_frames_available", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_discarded_frames", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int64" + } + }, + { + "name": "get_buffer_length_frames", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_pushed_frames", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int64" + } + } + ], + "properties": [ + { + "type": "float", + "name": "buffer_length", + "setter": "set_buffer_length", + "getter": "get_buffer_length", + "index": -1 + } + ] + }, + { + "name": "AudioEffectChorus", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "set_voice_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "voices", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_voice_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_voice_delay_ms", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voice_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "delay_ms", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_voice_delay_ms", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "voice_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_voice_rate_hz", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voice_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "rate_hz", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_voice_rate_hz", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "voice_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_voice_depth_ms", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voice_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "depth_ms", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_voice_depth_ms", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "voice_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_voice_level_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voice_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "level_db", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_voice_level_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "voice_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_voice_cutoff_hz", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voice_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "cutoff_hz", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_voice_cutoff_hz", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "voice_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_voice_pan", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voice_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "pan", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_voice_pan", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "voice_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_wet", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_wet", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_dry", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_dry", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "int", + "name": "voice_count", + "setter": "set_voice_count", + "getter": "get_voice_count", + "index": -1 + }, + { + "type": "float", + "name": "dry", + "setter": "set_dry", + "getter": "get_dry", + "index": -1 + }, + { + "type": "float", + "name": "wet", + "setter": "set_wet", + "getter": "get_wet", + "index": -1 + }, + { + "type": "float", + "name": "voice/1/delay_ms", + "setter": "set_voice_delay_ms", + "getter": "get_voice_delay_ms", + "index": 0 + }, + { + "type": "float", + "name": "voice/1/rate_hz", + "setter": "set_voice_rate_hz", + "getter": "get_voice_rate_hz", + "index": 0 + }, + { + "type": "float", + "name": "voice/1/depth_ms", + "setter": "set_voice_depth_ms", + "getter": "get_voice_depth_ms", + "index": 0 + }, + { + "type": "float", + "name": "voice/1/level_db", + "setter": "set_voice_level_db", + "getter": "get_voice_level_db", + "index": 0 + }, + { + "type": "float", + "name": "voice/1/cutoff_hz", + "setter": "set_voice_cutoff_hz", + "getter": "get_voice_cutoff_hz", + "index": 0 + }, + { + "type": "float", + "name": "voice/1/pan", + "setter": "set_voice_pan", + "getter": "get_voice_pan", + "index": 0 + }, + { + "type": "float", + "name": "voice/2/delay_ms", + "setter": "set_voice_delay_ms", + "getter": "get_voice_delay_ms", + "index": 1 + }, + { + "type": "float", + "name": "voice/2/rate_hz", + "setter": "set_voice_rate_hz", + "getter": "get_voice_rate_hz", + "index": 1 + }, + { + "type": "float", + "name": "voice/2/depth_ms", + "setter": "set_voice_depth_ms", + "getter": "get_voice_depth_ms", + "index": 1 + }, + { + "type": "float", + "name": "voice/2/level_db", + "setter": "set_voice_level_db", + "getter": "get_voice_level_db", + "index": 1 + }, + { + "type": "float", + "name": "voice/2/cutoff_hz", + "setter": "set_voice_cutoff_hz", + "getter": "get_voice_cutoff_hz", + "index": 1 + }, + { + "type": "float", + "name": "voice/2/pan", + "setter": "set_voice_pan", + "getter": "get_voice_pan", + "index": 1 + }, + { + "type": "float", + "name": "voice/3/delay_ms", + "setter": "set_voice_delay_ms", + "getter": "get_voice_delay_ms", + "index": 2 + }, + { + "type": "float", + "name": "voice/3/rate_hz", + "setter": "set_voice_rate_hz", + "getter": "get_voice_rate_hz", + "index": 2 + }, + { + "type": "float", + "name": "voice/3/depth_ms", + "setter": "set_voice_depth_ms", + "getter": "get_voice_depth_ms", + "index": 2 + }, + { + "type": "float", + "name": "voice/3/level_db", + "setter": "set_voice_level_db", + "getter": "get_voice_level_db", + "index": 2 + }, + { + "type": "float", + "name": "voice/3/cutoff_hz", + "setter": "set_voice_cutoff_hz", + "getter": "get_voice_cutoff_hz", + "index": 2 + }, + { + "type": "float", + "name": "voice/3/pan", + "setter": "set_voice_pan", + "getter": "get_voice_pan", + "index": 2 + }, + { + "type": "float", + "name": "voice/4/delay_ms", + "setter": "set_voice_delay_ms", + "getter": "get_voice_delay_ms", + "index": 3 + }, + { + "type": "float", + "name": "voice/4/rate_hz", + "setter": "set_voice_rate_hz", + "getter": "get_voice_rate_hz", + "index": 3 + }, + { + "type": "float", + "name": "voice/4/depth_ms", + "setter": "set_voice_depth_ms", + "getter": "get_voice_depth_ms", + "index": 3 + }, + { + "type": "float", + "name": "voice/4/level_db", + "setter": "set_voice_level_db", + "getter": "get_voice_level_db", + "index": 3 + }, + { + "type": "float", + "name": "voice/4/cutoff_hz", + "setter": "set_voice_cutoff_hz", + "getter": "get_voice_cutoff_hz", + "index": 3 + }, + { + "type": "float", + "name": "voice/4/pan", + "setter": "set_voice_pan", + "getter": "get_voice_pan", + "index": 3 + } + ] + }, + { + "name": "AudioEffectCompressor", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "set_threshold", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "threshold", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_threshold", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_gain", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gain", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_gain", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_attack_us", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "attack_us", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_attack_us", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_release_ms", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "release_ms", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_release_ms", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_mix", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mix", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mix", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sidechain", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sidechain", + "type": "StringName" + } + ] + }, + { + "name": "get_sidechain", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + } + ], + "properties": [ + { + "type": "float", + "name": "threshold", + "setter": "set_threshold", + "getter": "get_threshold", + "index": -1 + }, + { + "type": "float", + "name": "ratio", + "setter": "set_ratio", + "getter": "get_ratio", + "index": -1 + }, + { + "type": "float", + "name": "gain", + "setter": "set_gain", + "getter": "get_gain", + "index": -1 + }, + { + "type": "float", + "name": "attack_us", + "setter": "set_attack_us", + "getter": "get_attack_us", + "index": -1 + }, + { + "type": "float", + "name": "release_ms", + "setter": "set_release_ms", + "getter": "get_release_ms", + "index": -1 + }, + { + "type": "float", + "name": "mix", + "setter": "set_mix", + "getter": "get_mix", + "index": -1 + }, + { + "type": "StringName", + "name": "sidechain", + "setter": "set_sidechain", + "getter": "get_sidechain", + "index": -1 + } + ] + }, + { + "name": "AudioEffectDelay", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "set_dry", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_dry", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_tap1_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "bool" + } + ] + }, + { + "name": "is_tap1_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_tap1_delay_ms", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tap1_delay_ms", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_tap1_level_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tap1_level_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_tap1_pan", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tap1_pan", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_tap2_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "bool" + } + ] + }, + { + "name": "is_tap2_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_tap2_delay_ms", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tap2_delay_ms", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_tap2_level_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tap2_level_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_tap2_pan", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tap2_pan", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_feedback_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "bool" + } + ] + }, + { + "name": "is_feedback_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_feedback_delay_ms", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_feedback_delay_ms", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_feedback_level_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_feedback_level_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_feedback_lowpass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_feedback_lowpass", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "dry", + "setter": "set_dry", + "getter": "get_dry", + "index": -1 + }, + { + "type": "bool", + "name": "tap1/active", + "setter": "set_tap1_active", + "getter": "is_tap1_active", + "index": -1 + }, + { + "type": "float", + "name": "tap1/delay_ms", + "setter": "set_tap1_delay_ms", + "getter": "get_tap1_delay_ms", + "index": -1 + }, + { + "type": "float", + "name": "tap1/level_db", + "setter": "set_tap1_level_db", + "getter": "get_tap1_level_db", + "index": -1 + }, + { + "type": "float", + "name": "tap1/pan", + "setter": "set_tap1_pan", + "getter": "get_tap1_pan", + "index": -1 + }, + { + "type": "bool", + "name": "tap2/active", + "setter": "set_tap2_active", + "getter": "is_tap2_active", + "index": -1 + }, + { + "type": "float", + "name": "tap2/delay_ms", + "setter": "set_tap2_delay_ms", + "getter": "get_tap2_delay_ms", + "index": -1 + }, + { + "type": "float", + "name": "tap2/level_db", + "setter": "set_tap2_level_db", + "getter": "get_tap2_level_db", + "index": -1 + }, + { + "type": "float", + "name": "tap2/pan", + "setter": "set_tap2_pan", + "getter": "get_tap2_pan", + "index": -1 + }, + { + "type": "bool", + "name": "feedback/active", + "setter": "set_feedback_active", + "getter": "is_feedback_active", + "index": -1 + }, + { + "type": "float", + "name": "feedback/delay_ms", + "setter": "set_feedback_delay_ms", + "getter": "get_feedback_delay_ms", + "index": -1 + }, + { + "type": "float", + "name": "feedback/level_db", + "setter": "set_feedback_level_db", + "getter": "get_feedback_level_db", + "index": -1 + }, + { + "type": "float", + "name": "feedback/lowpass", + "setter": "set_feedback_lowpass", + "getter": "get_feedback_lowpass", + "index": -1 + } + ] + }, + { + "name": "AudioEffectDistortion", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "enums": [ + { + "name": "Mode", + "values": [ + { + "name": "MODE_CLIP", + "value": 0 + }, + { + "name": "MODE_ATAN", + "value": 1 + }, + { + "name": "MODE_LOFI", + "value": 2 + }, + { + "name": "MODE_OVERDRIVE", + "value": 3 + }, + { + "name": "MODE_WAVESHAPE", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::AudioEffectDistortion.Mode" + } + ] + }, + { + "name": "get_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AudioEffectDistortion.Mode" + } + }, + { + "name": "set_pre_gain", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pre_gain", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pre_gain", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_keep_hf_hz", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "keep_hf_hz", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_keep_hf_hz", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_drive", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "drive", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_drive", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_post_gain", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "post_gain", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_post_gain", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "int", + "name": "mode", + "setter": "set_mode", + "getter": "get_mode", + "index": -1 + }, + { + "type": "float", + "name": "pre_gain", + "setter": "set_pre_gain", + "getter": "get_pre_gain", + "index": -1 + }, + { + "type": "float", + "name": "keep_hf_hz", + "setter": "set_keep_hf_hz", + "getter": "get_keep_hf_hz", + "index": -1 + }, + { + "type": "float", + "name": "drive", + "setter": "set_drive", + "getter": "get_drive", + "index": -1 + }, + { + "type": "float", + "name": "post_gain", + "setter": "set_post_gain", + "getter": "get_post_gain", + "index": -1 + } + ] + }, + { + "name": "AudioEffectEQ", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "set_band_gain_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "band_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "volume_db", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_band_gain_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "band_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_band_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ] + }, + { + "name": "AudioEffectEQ10", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffectEQ", + "api_type": "core" + }, + { + "name": "AudioEffectEQ21", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffectEQ", + "api_type": "core" + }, + { + "name": "AudioEffectEQ6", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffectEQ", + "api_type": "core" + }, + { + "name": "AudioEffectFilter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "enums": [ + { + "name": "FilterDB", + "values": [ + { + "name": "FILTER_6DB", + "value": 0 + }, + { + "name": "FILTER_12DB", + "value": 1 + }, + { + "name": "FILTER_18DB", + "value": 2 + }, + { + "name": "FILTER_24DB", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_cutoff", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "freq", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_cutoff", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_resonance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_resonance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_gain", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_gain", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "enum::AudioEffectFilter.FilterDB" + } + ] + }, + { + "name": "get_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AudioEffectFilter.FilterDB" + } + } + ], + "properties": [ + { + "type": "float", + "name": "cutoff_hz", + "setter": "set_cutoff", + "getter": "get_cutoff", + "index": -1 + }, + { + "type": "float", + "name": "resonance", + "setter": "set_resonance", + "getter": "get_resonance", + "index": -1 + }, + { + "type": "float", + "name": "gain", + "setter": "set_gain", + "getter": "get_gain", + "index": -1 + }, + { + "type": "int", + "name": "db", + "setter": "set_db", + "getter": "get_db", + "index": -1 + } + ] + }, + { + "name": "AudioEffectHighPassFilter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffectFilter", + "api_type": "core" + }, + { + "name": "AudioEffectHighShelfFilter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffectFilter", + "api_type": "core" + }, + { + "name": "AudioEffectInstance", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core" + }, + { + "name": "AudioEffectLimiter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "set_ceiling_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ceiling", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ceiling_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_threshold_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "threshold", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_threshold_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_soft_clip_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "soft_clip", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_soft_clip_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_soft_clip_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "soft_clip", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_soft_clip_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "ceiling_db", + "setter": "set_ceiling_db", + "getter": "get_ceiling_db", + "index": -1 + }, + { + "type": "float", + "name": "threshold_db", + "setter": "set_threshold_db", + "getter": "get_threshold_db", + "index": -1 + }, + { + "type": "float", + "name": "soft_clip_db", + "setter": "set_soft_clip_db", + "getter": "get_soft_clip_db", + "index": -1 + }, + { + "type": "float", + "name": "soft_clip_ratio", + "setter": "set_soft_clip_ratio", + "getter": "get_soft_clip_ratio", + "index": -1 + } + ] + }, + { + "name": "AudioEffectLowPassFilter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffectFilter", + "api_type": "core" + }, + { + "name": "AudioEffectLowShelfFilter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffectFilter", + "api_type": "core" + }, + { + "name": "AudioEffectNotchFilter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffectFilter", + "api_type": "core" + }, + { + "name": "AudioEffectPanner", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "set_pan", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "cpanume", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pan", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "pan", + "setter": "set_pan", + "getter": "get_pan", + "index": -1 + } + ] + }, + { + "name": "AudioEffectPhaser", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "set_range_min_hz", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hz", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_range_min_hz", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_range_max_hz", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hz", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_range_max_hz", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_rate_hz", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hz", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_rate_hz", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_feedback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fbk", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_feedback", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_depth", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "depth", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_depth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "range_min_hz", + "setter": "set_range_min_hz", + "getter": "get_range_min_hz", + "index": -1 + }, + { + "type": "float", + "name": "range_max_hz", + "setter": "set_range_max_hz", + "getter": "get_range_max_hz", + "index": -1 + }, + { + "type": "float", + "name": "rate_hz", + "setter": "set_rate_hz", + "getter": "get_rate_hz", + "index": -1 + }, + { + "type": "float", + "name": "feedback", + "setter": "set_feedback", + "getter": "get_feedback", + "index": -1 + }, + { + "type": "float", + "name": "depth", + "setter": "set_depth", + "getter": "get_depth", + "index": -1 + } + ] + }, + { + "name": "AudioEffectPitchShift", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "enums": [ + { + "name": "FFTSize", + "values": [ + { + "name": "FFT_SIZE_256", + "value": 0 + }, + { + "name": "FFT_SIZE_512", + "value": 1 + }, + { + "name": "FFT_SIZE_1024", + "value": 2 + }, + { + "name": "FFT_SIZE_2048", + "value": 3 + }, + { + "name": "FFT_SIZE_4096", + "value": 4 + }, + { + "name": "FFT_SIZE_MAX", + "value": 5 + } + ] + } + ], + "methods": [ + { + "name": "set_pitch_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rate", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pitch_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_oversampling", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_oversampling", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_fft_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "enum::AudioEffectPitchShift.FFTSize" + } + ] + }, + { + "name": "get_fft_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AudioEffectPitchShift.FFTSize" + } + } + ], + "properties": [ + { + "type": "float", + "name": "pitch_scale", + "setter": "set_pitch_scale", + "getter": "get_pitch_scale", + "index": -1 + }, + { + "type": "float", + "name": "oversampling", + "setter": "set_oversampling", + "getter": "get_oversampling", + "index": -1 + }, + { + "type": "int", + "name": "fft_size", + "setter": "set_fft_size", + "getter": "get_fft_size", + "index": -1 + } + ] + }, + { + "name": "AudioEffectRecord", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "set_recording_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "record", + "type": "bool" + } + ] + }, + { + "name": "is_recording_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_format", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "format", + "type": "enum::AudioStreamSample.Format" + } + ] + }, + { + "name": "get_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AudioStreamSample.Format" + } + }, + { + "name": "get_recording", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AudioStreamSample" + } + } + ], + "properties": [ + { + "type": "int", + "name": "format", + "setter": "set_format", + "getter": "get_format", + "index": -1 + } + ] + }, + { + "name": "AudioEffectReverb", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "set_predelay_msec", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "msec", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_predelay_msec", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_predelay_feedback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "feedback", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_predelay_feedback", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_room_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_room_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_damping", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_damping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_spread", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_spread", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_dry", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_dry", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_wet", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_wet", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_hpf", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_hpf", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "predelay_msec", + "setter": "set_predelay_msec", + "getter": "get_predelay_msec", + "index": -1 + }, + { + "type": "float", + "name": "predelay_feedback", + "setter": "set_predelay_feedback", + "getter": "get_predelay_feedback", + "index": -1 + }, + { + "type": "float", + "name": "room_size", + "setter": "set_room_size", + "getter": "get_room_size", + "index": -1 + }, + { + "type": "float", + "name": "damping", + "setter": "set_damping", + "getter": "get_damping", + "index": -1 + }, + { + "type": "float", + "name": "spread", + "setter": "set_spread", + "getter": "get_spread", + "index": -1 + }, + { + "type": "float", + "name": "hipass", + "setter": "set_hpf", + "getter": "get_hpf", + "index": -1 + }, + { + "type": "float", + "name": "dry", + "setter": "set_dry", + "getter": "get_dry", + "index": -1 + }, + { + "type": "float", + "name": "wet", + "setter": "set_wet", + "getter": "get_wet", + "index": -1 + } + ] + }, + { + "name": "AudioEffectSpectrumAnalyzer", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "enums": [ + { + "name": "FFTSize", + "values": [ + { + "name": "FFT_SIZE_256", + "value": 0 + }, + { + "name": "FFT_SIZE_512", + "value": 1 + }, + { + "name": "FFT_SIZE_1024", + "value": 2 + }, + { + "name": "FFT_SIZE_2048", + "value": 3 + }, + { + "name": "FFT_SIZE_4096", + "value": 4 + }, + { + "name": "FFT_SIZE_MAX", + "value": 5 + } + ] + } + ], + "methods": [ + { + "name": "set_buffer_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "seconds", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_buffer_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_tap_back_pos", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "seconds", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tap_back_pos", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fft_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "enum::AudioEffectSpectrumAnalyzer.FFTSize" + } + ] + }, + { + "name": "get_fft_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AudioEffectSpectrumAnalyzer.FFTSize" + } + } + ], + "properties": [ + { + "type": "float", + "name": "buffer_length", + "setter": "set_buffer_length", + "getter": "get_buffer_length", + "index": -1 + }, + { + "type": "float", + "name": "tap_back_pos", + "setter": "set_tap_back_pos", + "getter": "get_tap_back_pos", + "index": -1 + }, + { + "type": "int", + "name": "fft_size", + "setter": "set_fft_size", + "getter": "get_fft_size", + "index": -1 + } + ] + }, + { + "name": "AudioEffectSpectrumAnalyzerInstance", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "AudioEffectInstance", + "api_type": "core", + "enums": [ + { + "name": "MagnitudeMode", + "values": [ + { + "name": "MAGNITUDE_AVERAGE", + "value": 0 + }, + { + "name": "MAGNITUDE_MAX", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "get_magnitude_for_frequency_range", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 174785387, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "from_hz", + "type": "float", + "meta": "float" + }, + { + "name": "to_hz", + "type": "float", + "meta": "float" + }, + { + "name": "mode", + "type": "enum::AudioEffectSpectrumAnalyzerInstance.MagnitudeMode", + "default_value": "1" + } + ] + } + ] + }, + { + "name": "AudioEffectStereoEnhance", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "set_pan_pullout", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pan_pullout", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_time_pullout", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_time_pullout", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_surround", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_surround", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "pan_pullout", + "setter": "set_pan_pullout", + "getter": "get_pan_pullout", + "index": -1 + }, + { + "type": "float", + "name": "time_pullout_ms", + "setter": "set_time_pullout", + "getter": "get_time_pullout", + "index": -1 + }, + { + "type": "float", + "name": "surround", + "setter": "set_surround", + "getter": "get_surround", + "index": -1 + } + ] + }, + { + "name": "AudioServer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "SpeakerMode", + "values": [ + { + "name": "SPEAKER_MODE_STEREO", + "value": 0 + }, + { + "name": "SPEAKER_SURROUND_31", + "value": 1 + }, + { + "name": "SPEAKER_SURROUND_51", + "value": 2 + }, + { + "name": "SPEAKER_SURROUND_71", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_bus_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bus_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "remove_bus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_bus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133277030, + "arguments": [ + { + "name": "at_position", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "move_bus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "to_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bus_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_bus_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bus_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "bus_name", + "type": "StringName" + } + ] + }, + { + "name": "get_bus_channels", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bus_volume_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "volume_db", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bus_volume_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bus_send", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "send", + "type": "StringName" + } + ] + }, + { + "name": "get_bus_send", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bus_solo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_bus_solo", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bus_mute", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_bus_mute", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bus_bypass_effects", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_bus_bypassing_effects", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_bus_effect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "effect", + "type": "AudioEffect" + }, + { + "name": "at_position", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "remove_bus_effect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "effect_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bus_effect_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bus_effect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "AudioEffect" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "effect_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bus_effect_instance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "AudioEffectInstance" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "effect_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "channel", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "swap_bus_effects", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "effect_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "by_effect_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bus_effect_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "effect_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_bus_effect_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "effect_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bus_peak_volume_left_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "channel", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bus_peak_volume_right_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "bus_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "channel", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_global_rate_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_global_rate_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "lock", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "unlock", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_speaker_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AudioServer.SpeakerMode" + } + }, + { + "name": "get_mix_rate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_device_list", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_device", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "set_device", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "device", + "type": "String" + } + ] + }, + { + "name": "get_time_to_next_mix", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "get_time_since_last_mix", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "get_output_latency", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "capture_get_device_list", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "capture_get_device", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "capture_set_device", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_bus_layout", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bus_layout", + "type": "AudioBusLayout" + } + ] + }, + { + "name": "generate_bus_layout", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AudioBusLayout" + } + } + ], + "signals": [ + { + "name": "bus_layout_changed" + } + ], + "properties": [ + { + "type": "int", + "name": "bus_count", + "setter": "set_bus_count", + "getter": "get_bus_count", + "index": -1 + }, + { + "type": "String", + "name": "device", + "setter": "set_device", + "getter": "get_device", + "index": -1 + }, + { + "type": "float", + "name": "global_rate_scale", + "setter": "set_global_rate_scale", + "getter": "get_global_rate_scale", + "index": -1 + } + ] + }, + { + "name": "AudioStream", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ] + }, + { + "name": "AudioStreamGenerator", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioStream", + "api_type": "core", + "methods": [ + { + "name": "set_mix_rate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hz", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mix_rate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_buffer_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "seconds", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_buffer_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "mix_rate", + "setter": "set_mix_rate", + "getter": "get_mix_rate", + "index": -1 + }, + { + "type": "float", + "name": "buffer_length", + "setter": "set_buffer_length", + "getter": "get_buffer_length", + "index": -1 + } + ] + }, + { + "name": "AudioStreamGeneratorPlayback", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "AudioStreamPlaybackResampled", + "api_type": "core", + "methods": [ + { + "name": "push_frame", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "frame", + "type": "Vector2" + } + ] + }, + { + "name": "can_push_buffer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "push_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "frames", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_frames_available", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_skips", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "clear_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ] + }, + { + "name": "AudioStreamMP3", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioStream", + "api_type": "core", + "methods": [ + { + "name": "set_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "get_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedByteArray" + } + }, + { + "name": "set_loop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "has_loop", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_loop_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "seconds", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_loop_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "PackedByteArray", + "name": "data", + "setter": "set_data", + "getter": "get_data", + "index": -1 + }, + { + "type": "bool", + "name": "loop", + "setter": "set_loop", + "getter": "has_loop", + "index": -1 + }, + { + "type": "float", + "name": "loop_offset", + "setter": "set_loop_offset", + "getter": "get_loop_offset", + "index": -1 + } + ] + }, + { + "name": "AudioStreamMicrophone", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioStream", + "api_type": "core" + }, + { + "name": "AudioStreamOGGVorbis", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioStream", + "api_type": "core", + "methods": [ + { + "name": "set_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "get_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedByteArray" + } + }, + { + "name": "set_loop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "has_loop", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_loop_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "seconds", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_loop_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "PackedByteArray", + "name": "data", + "setter": "set_data", + "getter": "get_data", + "index": -1 + }, + { + "type": "bool", + "name": "loop", + "setter": "set_loop", + "getter": "has_loop", + "index": -1 + }, + { + "type": "float", + "name": "loop_offset", + "setter": "set_loop_offset", + "getter": "get_loop_offset", + "index": -1 + } + ] + }, + { + "name": "AudioStreamPlayback", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core" + }, + { + "name": "AudioStreamPlaybackResampled", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "AudioStreamPlayback", + "api_type": "core" + }, + { + "name": "AudioStreamPlayer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core", + "enums": [ + { + "name": "MixTarget", + "values": [ + { + "name": "MIX_TARGET_STEREO", + "value": 0 + }, + { + "name": "MIX_TARGET_SURROUND", + "value": 1 + }, + { + "name": "MIX_TARGET_CENTER", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_stream", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "stream", + "type": "AudioStream" + } + ] + }, + { + "name": "get_stream", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AudioStream" + } + }, + { + "name": "set_volume_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "volume_db", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_volume_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_pitch_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pitch_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pitch_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "play", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2744538615, + "arguments": [ + { + "name": "from_position", + "type": "float", + "meta": "float", + "default_value": "0.0" + } + ] + }, + { + "name": "seek", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "to_position", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_playing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_playback_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_bus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bus", + "type": "StringName" + } + ] + }, + { + "name": "get_bus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_autoplay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_autoplay_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_mix_target", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mix_target", + "type": "enum::AudioStreamPlayer.MixTarget" + } + ] + }, + { + "name": "get_mix_target", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AudioStreamPlayer.MixTarget" + } + }, + { + "name": "set_stream_paused", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pause", + "type": "bool" + } + ] + }, + { + "name": "get_stream_paused", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_stream_playback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "AudioStreamPlayback" + } + } + ], + "signals": [ + { + "name": "finished" + } + ], + "properties": [ + { + "type": "AudioStream", + "name": "stream", + "setter": "set_stream", + "getter": "get_stream", + "index": -1 + }, + { + "type": "float", + "name": "volume_db", + "setter": "set_volume_db", + "getter": "get_volume_db", + "index": -1 + }, + { + "type": "float", + "name": "pitch_scale", + "setter": "set_pitch_scale", + "getter": "get_pitch_scale", + "index": -1 + }, + { + "type": "bool", + "name": "playing", + "setter": "_set_playing", + "getter": "is_playing", + "index": -1 + }, + { + "type": "bool", + "name": "autoplay", + "setter": "set_autoplay", + "getter": "is_autoplay_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "stream_paused", + "setter": "set_stream_paused", + "getter": "get_stream_paused", + "index": -1 + }, + { + "type": "int", + "name": "mix_target", + "setter": "set_mix_target", + "getter": "get_mix_target", + "index": -1 + }, + { + "type": "StringName", + "name": "bus", + "setter": "set_bus", + "getter": "get_bus", + "index": -1 + } + ] + }, + { + "name": "AudioStreamPlayer2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_stream", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "stream", + "type": "AudioStream" + } + ] + }, + { + "name": "get_stream", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AudioStream" + } + }, + { + "name": "set_volume_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "volume_db", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_volume_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_pitch_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pitch_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pitch_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "play", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2744538615, + "arguments": [ + { + "name": "from_position", + "type": "float", + "meta": "float", + "default_value": "0.0" + } + ] + }, + { + "name": "seek", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "to_position", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_playing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_playback_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_bus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bus", + "type": "StringName" + } + ] + }, + { + "name": "get_bus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_autoplay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_autoplay_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_max_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pixels", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_max_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_attenuation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_attenuation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_area_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_area_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_stream_paused", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pause", + "type": "bool" + } + ] + }, + { + "name": "get_stream_paused", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_stream_playback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "AudioStreamPlayback" + } + } + ], + "signals": [ + { + "name": "finished" + } + ], + "properties": [ + { + "type": "AudioStream", + "name": "stream", + "setter": "set_stream", + "getter": "get_stream", + "index": -1 + }, + { + "type": "float", + "name": "volume_db", + "setter": "set_volume_db", + "getter": "get_volume_db", + "index": -1 + }, + { + "type": "float", + "name": "pitch_scale", + "setter": "set_pitch_scale", + "getter": "get_pitch_scale", + "index": -1 + }, + { + "type": "bool", + "name": "playing", + "setter": "_set_playing", + "getter": "is_playing", + "index": -1 + }, + { + "type": "bool", + "name": "autoplay", + "setter": "set_autoplay", + "getter": "is_autoplay_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "stream_paused", + "setter": "set_stream_paused", + "getter": "get_stream_paused", + "index": -1 + }, + { + "type": "float", + "name": "max_distance", + "setter": "set_max_distance", + "getter": "get_max_distance", + "index": -1 + }, + { + "type": "float", + "name": "attenuation", + "setter": "set_attenuation", + "getter": "get_attenuation", + "index": -1 + }, + { + "type": "StringName", + "name": "bus", + "setter": "set_bus", + "getter": "get_bus", + "index": -1 + }, + { + "type": "int", + "name": "area_mask", + "setter": "set_area_mask", + "getter": "get_area_mask", + "index": -1 + } + ] + }, + { + "name": "AudioStreamPlayer3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "enums": [ + { + "name": "AttenuationModel", + "values": [ + { + "name": "ATTENUATION_INVERSE_DISTANCE", + "value": 0 + }, + { + "name": "ATTENUATION_INVERSE_SQUARE_DISTANCE", + "value": 1 + }, + { + "name": "ATTENUATION_LOGARITHMIC", + "value": 2 + }, + { + "name": "ATTENUATION_DISABLED", + "value": 3 + } + ] + }, + { + "name": "OutOfRangeMode", + "values": [ + { + "name": "OUT_OF_RANGE_MIX", + "value": 0 + }, + { + "name": "OUT_OF_RANGE_PAUSE", + "value": 1 + } + ] + }, + { + "name": "DopplerTracking", + "values": [ + { + "name": "DOPPLER_TRACKING_DISABLED", + "value": 0 + }, + { + "name": "DOPPLER_TRACKING_IDLE_STEP", + "value": 1 + }, + { + "name": "DOPPLER_TRACKING_PHYSICS_STEP", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_stream", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "stream", + "type": "AudioStream" + } + ] + }, + { + "name": "get_stream", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AudioStream" + } + }, + { + "name": "set_unit_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "unit_db", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_unit_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_unit_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "unit_size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_unit_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_db", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_max_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_pitch_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pitch_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pitch_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "play", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2744538615, + "arguments": [ + { + "name": "from_position", + "type": "float", + "meta": "float", + "default_value": "0.0" + } + ] + }, + { + "name": "seek", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "to_position", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_playing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_playback_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_bus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bus", + "type": "StringName" + } + ] + }, + { + "name": "get_bus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_autoplay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_autoplay_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_max_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "metres", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_max_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_area_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_area_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_emission_angle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "degrees", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_angle", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_emission_angle_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_emission_angle_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_emission_angle_filter_attenuation_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "db", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_angle_filter_attenuation_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_attenuation_filter_cutoff_hz", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "degrees", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_attenuation_filter_cutoff_hz", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_attenuation_filter_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "db", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_attenuation_filter_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_attenuation_model", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "model", + "type": "enum::AudioStreamPlayer3D.AttenuationModel" + } + ] + }, + { + "name": "get_attenuation_model", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AudioStreamPlayer3D.AttenuationModel" + } + }, + { + "name": "set_out_of_range_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::AudioStreamPlayer3D.OutOfRangeMode" + } + ] + }, + { + "name": "get_out_of_range_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AudioStreamPlayer3D.OutOfRangeMode" + } + }, + { + "name": "set_doppler_tracking", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::AudioStreamPlayer3D.DopplerTracking" + } + ] + }, + { + "name": "get_doppler_tracking", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AudioStreamPlayer3D.DopplerTracking" + } + }, + { + "name": "set_stream_paused", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pause", + "type": "bool" + } + ] + }, + { + "name": "get_stream_paused", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_stream_playback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "AudioStreamPlayback" + } + } + ], + "signals": [ + { + "name": "finished" + } + ], + "properties": [ + { + "type": "AudioStream", + "name": "stream", + "setter": "set_stream", + "getter": "get_stream", + "index": -1 + }, + { + "type": "int", + "name": "attenuation_model", + "setter": "set_attenuation_model", + "getter": "get_attenuation_model", + "index": -1 + }, + { + "type": "float", + "name": "unit_db", + "setter": "set_unit_db", + "getter": "get_unit_db", + "index": -1 + }, + { + "type": "float", + "name": "unit_size", + "setter": "set_unit_size", + "getter": "get_unit_size", + "index": -1 + }, + { + "type": "float", + "name": "max_db", + "setter": "set_max_db", + "getter": "get_max_db", + "index": -1 + }, + { + "type": "float", + "name": "pitch_scale", + "setter": "set_pitch_scale", + "getter": "get_pitch_scale", + "index": -1 + }, + { + "type": "bool", + "name": "playing", + "setter": "_set_playing", + "getter": "is_playing", + "index": -1 + }, + { + "type": "bool", + "name": "autoplay", + "setter": "set_autoplay", + "getter": "is_autoplay_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "stream_paused", + "setter": "set_stream_paused", + "getter": "get_stream_paused", + "index": -1 + }, + { + "type": "float", + "name": "max_distance", + "setter": "set_max_distance", + "getter": "get_max_distance", + "index": -1 + }, + { + "type": "int", + "name": "out_of_range_mode", + "setter": "set_out_of_range_mode", + "getter": "get_out_of_range_mode", + "index": -1 + }, + { + "type": "StringName", + "name": "bus", + "setter": "set_bus", + "getter": "get_bus", + "index": -1 + }, + { + "type": "int", + "name": "area_mask", + "setter": "set_area_mask", + "getter": "get_area_mask", + "index": -1 + }, + { + "type": "bool", + "name": "emission_angle_enabled", + "setter": "set_emission_angle_enabled", + "getter": "is_emission_angle_enabled", + "index": -1 + }, + { + "type": "float", + "name": "emission_angle_degrees", + "setter": "set_emission_angle", + "getter": "get_emission_angle", + "index": -1 + }, + { + "type": "float", + "name": "emission_angle_filter_attenuation_db", + "setter": "set_emission_angle_filter_attenuation_db", + "getter": "get_emission_angle_filter_attenuation_db", + "index": -1 + }, + { + "type": "float", + "name": "attenuation_filter_cutoff_hz", + "setter": "set_attenuation_filter_cutoff_hz", + "getter": "get_attenuation_filter_cutoff_hz", + "index": -1 + }, + { + "type": "float", + "name": "attenuation_filter_db", + "setter": "set_attenuation_filter_db", + "getter": "get_attenuation_filter_db", + "index": -1 + }, + { + "type": "int", + "name": "doppler_tracking", + "setter": "set_doppler_tracking", + "getter": "get_doppler_tracking", + "index": -1 + } + ] + }, + { + "name": "AudioStreamRandomPitch", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioStream", + "api_type": "core", + "methods": [ + { + "name": "set_audio_stream", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "stream", + "type": "AudioStream" + } + ] + }, + { + "name": "get_audio_stream", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AudioStream" + } + }, + { + "name": "set_random_pitch", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_random_pitch", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "AudioStream", + "name": "audio_stream", + "setter": "set_audio_stream", + "getter": "get_audio_stream", + "index": -1 + }, + { + "type": "float", + "name": "random_pitch", + "setter": "set_random_pitch", + "getter": "get_random_pitch", + "index": -1 + } + ] + }, + { + "name": "AudioStreamSample", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioStream", + "api_type": "core", + "enums": [ + { + "name": "LoopMode", + "values": [ + { + "name": "LOOP_DISABLED", + "value": 0 + }, + { + "name": "LOOP_FORWARD", + "value": 1 + }, + { + "name": "LOOP_PING_PONG", + "value": 2 + }, + { + "name": "LOOP_BACKWARD", + "value": 3 + } + ] + }, + { + "name": "Format", + "values": [ + { + "name": "FORMAT_8_BITS", + "value": 0 + }, + { + "name": "FORMAT_16_BITS", + "value": 1 + }, + { + "name": "FORMAT_IMA_ADPCM", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "get_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedByteArray" + } + }, + { + "name": "set_format", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "format", + "type": "enum::AudioStreamSample.Format" + } + ] + }, + { + "name": "get_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AudioStreamSample.Format" + } + }, + { + "name": "set_loop_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "loop_mode", + "type": "enum::AudioStreamSample.LoopMode" + } + ] + }, + { + "name": "get_loop_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::AudioStreamSample.LoopMode" + } + }, + { + "name": "set_loop_begin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "loop_begin", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_loop_begin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_loop_end", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "loop_end", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_loop_end", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_mix_rate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mix_rate", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_mix_rate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_stereo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "stereo", + "type": "bool" + } + ] + }, + { + "name": "is_stereo", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "save_to_wav", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + } + ], + "properties": [ + { + "type": "PackedByteArray", + "name": "data", + "setter": "set_data", + "getter": "get_data", + "index": -1 + }, + { + "type": "int", + "name": "format", + "setter": "set_format", + "getter": "get_format", + "index": -1 + }, + { + "type": "int", + "name": "loop_mode", + "setter": "set_loop_mode", + "getter": "get_loop_mode", + "index": -1 + }, + { + "type": "int", + "name": "loop_begin", + "setter": "set_loop_begin", + "getter": "get_loop_begin", + "index": -1 + }, + { + "type": "int", + "name": "loop_end", + "setter": "set_loop_end", + "getter": "get_loop_end", + "index": -1 + }, + { + "type": "int", + "name": "mix_rate", + "setter": "set_mix_rate", + "getter": "get_mix_rate", + "index": -1 + }, + { + "type": "bool", + "name": "stereo", + "setter": "set_stereo", + "getter": "is_stereo", + "index": -1 + } + ] + }, + { + "name": "BackBufferCopy", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "enums": [ + { + "name": "CopyMode", + "values": [ + { + "name": "COPY_MODE_DISABLED", + "value": 0 + }, + { + "name": "COPY_MODE_RECT", + "value": 1 + }, + { + "name": "COPY_MODE_VIEWPORT", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rect", + "type": "Rect2" + } + ] + }, + { + "name": "get_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "set_copy_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "copy_mode", + "type": "enum::BackBufferCopy.CopyMode" + } + ] + }, + { + "name": "get_copy_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BackBufferCopy.CopyMode" + } + } + ], + "properties": [ + { + "type": "int", + "name": "copy_mode", + "setter": "set_copy_mode", + "getter": "get_copy_mode", + "index": -1 + }, + { + "type": "Rect2", + "name": "rect", + "setter": "set_rect", + "getter": "get_rect", + "index": -1 + } + ] + }, + { + "name": "BaseButton", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Control", + "api_type": "core", + "enums": [ + { + "name": "ActionMode", + "values": [ + { + "name": "ACTION_MODE_BUTTON_PRESS", + "value": 0 + }, + { + "name": "ACTION_MODE_BUTTON_RELEASE", + "value": 1 + } + ] + }, + { + "name": "DrawMode", + "values": [ + { + "name": "DRAW_NORMAL", + "value": 0 + }, + { + "name": "DRAW_PRESSED", + "value": 1 + }, + { + "name": "DRAW_HOVER", + "value": 2 + }, + { + "name": "DRAW_DISABLED", + "value": 3 + }, + { + "name": "DRAW_HOVER_PRESSED", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_toggled", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "button_pressed", + "type": "bool" + } + ] + }, + { + "name": "set_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + }, + { + "name": "is_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_pressed_no_signal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + }, + { + "name": "is_hovered", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_toggle_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_toggle_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_shortcut_in_tooltip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_shortcut_in_tooltip_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "is_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_action_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::BaseButton.ActionMode" + } + ] + }, + { + "name": "get_action_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseButton.ActionMode" + } + }, + { + "name": "set_button_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_button_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_draw_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseButton.DrawMode" + } + }, + { + "name": "set_keep_pressed_outside", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_keep_pressed_outside", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_shortcut", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shortcut", + "type": "Shortcut" + } + ] + }, + { + "name": "get_shortcut", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Shortcut" + } + }, + { + "name": "set_button_group", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "button_group", + "type": "ButtonGroup" + } + ] + }, + { + "name": "get_button_group", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "ButtonGroup" + } + }, + { + "name": "set_shortcut_context", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "get_shortcut_context", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Node" + } + } + ], + "signals": [ + { + "name": "button_down" + }, + { + "name": "toggled", + "arguments": [ + { + "name": "button_pressed", + "type": "bool" + } + ] + }, + { + "name": "pressed" + }, + { + "name": "button_up" + } + ], + "properties": [ + { + "type": "bool", + "name": "disabled", + "setter": "set_disabled", + "getter": "is_disabled", + "index": -1 + }, + { + "type": "bool", + "name": "toggle_mode", + "setter": "set_toggle_mode", + "getter": "is_toggle_mode", + "index": -1 + }, + { + "type": "bool", + "name": "shortcut_in_tooltip", + "setter": "set_shortcut_in_tooltip", + "getter": "is_shortcut_in_tooltip_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "pressed", + "setter": "set_pressed", + "getter": "is_pressed", + "index": -1 + }, + { + "type": "int", + "name": "action_mode", + "setter": "set_action_mode", + "getter": "get_action_mode", + "index": -1 + }, + { + "type": "int", + "name": "button_mask", + "setter": "set_button_mask", + "getter": "get_button_mask", + "index": -1 + }, + { + "type": "bool", + "name": "keep_pressed_outside", + "setter": "set_keep_pressed_outside", + "getter": "is_keep_pressed_outside", + "index": -1 + }, + { + "type": "Shortcut", + "name": "shortcut", + "setter": "set_shortcut", + "getter": "get_shortcut", + "index": -1 + }, + { + "type": "ButtonGroup", + "name": "button_group", + "setter": "set_button_group", + "getter": "get_button_group", + "index": -1 + }, + { + "type": "Node", + "name": "shortcut_context", + "setter": "set_shortcut_context", + "getter": "get_shortcut_context", + "index": -1 + } + ] + }, + { + "name": "BaseMaterial3D", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Material", + "api_type": "core", + "enums": [ + { + "name": "EmissionOperator", + "values": [ + { + "name": "EMISSION_OP_ADD", + "value": 0 + }, + { + "name": "EMISSION_OP_MULTIPLY", + "value": 1 + } + ] + }, + { + "name": "DiffuseMode", + "values": [ + { + "name": "DIFFUSE_BURLEY", + "value": 0 + }, + { + "name": "DIFFUSE_LAMBERT", + "value": 1 + }, + { + "name": "DIFFUSE_LAMBERT_WRAP", + "value": 2 + }, + { + "name": "DIFFUSE_TOON", + "value": 3 + } + ] + }, + { + "name": "ShadingMode", + "values": [ + { + "name": "SHADING_MODE_UNSHADED", + "value": 0 + }, + { + "name": "SHADING_MODE_PER_PIXEL", + "value": 1 + }, + { + "name": "SHADING_MODE_PER_VERTEX", + "value": 2 + }, + { + "name": "SHADING_MODE_MAX", + "value": 3 + } + ] + }, + { + "name": "SpecularMode", + "values": [ + { + "name": "SPECULAR_SCHLICK_GGX", + "value": 0 + }, + { + "name": "SPECULAR_BLINN", + "value": 1 + }, + { + "name": "SPECULAR_PHONG", + "value": 2 + }, + { + "name": "SPECULAR_TOON", + "value": 3 + }, + { + "name": "SPECULAR_DISABLED", + "value": 4 + } + ] + }, + { + "name": "Feature", + "values": [ + { + "name": "FEATURE_EMISSION", + "value": 0 + }, + { + "name": "FEATURE_NORMAL_MAPPING", + "value": 1 + }, + { + "name": "FEATURE_RIM", + "value": 2 + }, + { + "name": "FEATURE_CLEARCOAT", + "value": 3 + }, + { + "name": "FEATURE_ANISOTROPY", + "value": 4 + }, + { + "name": "FEATURE_AMBIENT_OCCLUSION", + "value": 5 + }, + { + "name": "FEATURE_HEIGHT_MAPPING", + "value": 6 + }, + { + "name": "FEATURE_SUBSURFACE_SCATTERING", + "value": 7 + }, + { + "name": "FEATURE_SUBSURFACE_TRANSMITTANCE", + "value": 8 + }, + { + "name": "FEATURE_BACKLIGHT", + "value": 9 + }, + { + "name": "FEATURE_REFRACTION", + "value": 10 + }, + { + "name": "FEATURE_DETAIL", + "value": 11 + }, + { + "name": "FEATURE_MAX", + "value": 12 + } + ] + }, + { + "name": "Flags", + "values": [ + { + "name": "FLAG_DISABLE_DEPTH_TEST", + "value": 0 + }, + { + "name": "FLAG_ALBEDO_FROM_VERTEX_COLOR", + "value": 1 + }, + { + "name": "FLAG_SRGB_VERTEX_COLOR", + "value": 2 + }, + { + "name": "FLAG_USE_POINT_SIZE", + "value": 3 + }, + { + "name": "FLAG_FIXED_SIZE", + "value": 4 + }, + { + "name": "FLAG_BILLBOARD_KEEP_SCALE", + "value": 5 + }, + { + "name": "FLAG_UV1_USE_TRIPLANAR", + "value": 6 + }, + { + "name": "FLAG_UV2_USE_TRIPLANAR", + "value": 7 + }, + { + "name": "FLAG_UV1_USE_WORLD_TRIPLANAR", + "value": 8 + }, + { + "name": "FLAG_UV2_USE_WORLD_TRIPLANAR", + "value": 9 + }, + { + "name": "FLAG_AO_ON_UV2", + "value": 10 + }, + { + "name": "FLAG_EMISSION_ON_UV2", + "value": 11 + }, + { + "name": "FLAG_ALBEDO_TEXTURE_FORCE_SRGB", + "value": 12 + }, + { + "name": "FLAG_DONT_RECEIVE_SHADOWS", + "value": 13 + }, + { + "name": "FLAG_DISABLE_AMBIENT_LIGHT", + "value": 14 + }, + { + "name": "FLAG_USE_SHADOW_TO_OPACITY", + "value": 15 + }, + { + "name": "FLAG_USE_TEXTURE_REPEAT", + "value": 16 + }, + { + "name": "FLAG_INVERT_HEIGHTMAP", + "value": 17 + }, + { + "name": "FLAG_SUBSURFACE_MODE_SKIN", + "value": 18 + }, + { + "name": "FLAG_PARTICLE_TRAILS_MODE", + "value": 19 + }, + { + "name": "FLAG_MAX", + "value": 20 + } + ] + }, + { + "name": "CullMode", + "values": [ + { + "name": "CULL_BACK", + "value": 0 + }, + { + "name": "CULL_FRONT", + "value": 1 + }, + { + "name": "CULL_DISABLED", + "value": 2 + } + ] + }, + { + "name": "DetailUV", + "values": [ + { + "name": "DETAIL_UV_1", + "value": 0 + }, + { + "name": "DETAIL_UV_2", + "value": 1 + } + ] + }, + { + "name": "TextureFilter", + "values": [ + { + "name": "TEXTURE_FILTER_NEAREST", + "value": 0 + }, + { + "name": "TEXTURE_FILTER_LINEAR", + "value": 1 + }, + { + "name": "TEXTURE_FILTER_NEAREST_WITH_MIPMAPS", + "value": 2 + }, + { + "name": "TEXTURE_FILTER_LINEAR_WITH_MIPMAPS", + "value": 3 + }, + { + "name": "TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC", + "value": 4 + }, + { + "name": "TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC", + "value": 5 + }, + { + "name": "TEXTURE_FILTER_MAX", + "value": 6 + } + ] + }, + { + "name": "DistanceFadeMode", + "values": [ + { + "name": "DISTANCE_FADE_DISABLED", + "value": 0 + }, + { + "name": "DISTANCE_FADE_PIXEL_ALPHA", + "value": 1 + }, + { + "name": "DISTANCE_FADE_PIXEL_DITHER", + "value": 2 + }, + { + "name": "DISTANCE_FADE_OBJECT_DITHER", + "value": 3 + } + ] + }, + { + "name": "BillboardMode", + "values": [ + { + "name": "BILLBOARD_DISABLED", + "value": 0 + }, + { + "name": "BILLBOARD_ENABLED", + "value": 1 + }, + { + "name": "BILLBOARD_FIXED_Y", + "value": 2 + }, + { + "name": "BILLBOARD_PARTICLES", + "value": 3 + } + ] + }, + { + "name": "DepthDrawMode", + "values": [ + { + "name": "DEPTH_DRAW_OPAQUE_ONLY", + "value": 0 + }, + { + "name": "DEPTH_DRAW_ALWAYS", + "value": 1 + }, + { + "name": "DEPTH_DRAW_DISABLED", + "value": 2 + } + ] + }, + { + "name": "TextureChannel", + "values": [ + { + "name": "TEXTURE_CHANNEL_RED", + "value": 0 + }, + { + "name": "TEXTURE_CHANNEL_GREEN", + "value": 1 + }, + { + "name": "TEXTURE_CHANNEL_BLUE", + "value": 2 + }, + { + "name": "TEXTURE_CHANNEL_ALPHA", + "value": 3 + }, + { + "name": "TEXTURE_CHANNEL_GRAYSCALE", + "value": 4 + } + ] + }, + { + "name": "AlphaAntiAliasing", + "values": [ + { + "name": "ALPHA_ANTIALIASING_OFF", + "value": 0 + }, + { + "name": "ALPHA_ANTIALIASING_ALPHA_TO_COVERAGE", + "value": 1 + }, + { + "name": "ALPHA_ANTIALIASING_ALPHA_TO_COVERAGE_AND_TO_ONE", + "value": 2 + } + ] + }, + { + "name": "BlendMode", + "values": [ + { + "name": "BLEND_MODE_MIX", + "value": 0 + }, + { + "name": "BLEND_MODE_ADD", + "value": 1 + }, + { + "name": "BLEND_MODE_SUB", + "value": 2 + }, + { + "name": "BLEND_MODE_MUL", + "value": 3 + } + ] + }, + { + "name": "Transparency", + "values": [ + { + "name": "TRANSPARENCY_DISABLED", + "value": 0 + }, + { + "name": "TRANSPARENCY_ALPHA", + "value": 1 + }, + { + "name": "TRANSPARENCY_ALPHA_SCISSOR", + "value": 2 + }, + { + "name": "TRANSPARENCY_ALPHA_HASH", + "value": 3 + }, + { + "name": "TRANSPARENCY_ALPHA_DEPTH_PRE_PASS", + "value": 4 + }, + { + "name": "TRANSPARENCY_MAX", + "value": 5 + } + ] + }, + { + "name": "TextureParam", + "values": [ + { + "name": "TEXTURE_ALBEDO", + "value": 0 + }, + { + "name": "TEXTURE_METALLIC", + "value": 1 + }, + { + "name": "TEXTURE_ROUGHNESS", + "value": 2 + }, + { + "name": "TEXTURE_EMISSION", + "value": 3 + }, + { + "name": "TEXTURE_NORMAL", + "value": 4 + }, + { + "name": "TEXTURE_RIM", + "value": 5 + }, + { + "name": "TEXTURE_CLEARCOAT", + "value": 6 + }, + { + "name": "TEXTURE_FLOWMAP", + "value": 7 + }, + { + "name": "TEXTURE_AMBIENT_OCCLUSION", + "value": 8 + }, + { + "name": "TEXTURE_HEIGHTMAP", + "value": 9 + }, + { + "name": "TEXTURE_SUBSURFACE_SCATTERING", + "value": 10 + }, + { + "name": "TEXTURE_SUBSURFACE_TRANSMITTANCE", + "value": 11 + }, + { + "name": "TEXTURE_BACKLIGHT", + "value": 12 + }, + { + "name": "TEXTURE_REFRACTION", + "value": 13 + }, + { + "name": "TEXTURE_DETAIL_MASK", + "value": 14 + }, + { + "name": "TEXTURE_DETAIL_ALBEDO", + "value": 15 + }, + { + "name": "TEXTURE_DETAIL_NORMAL", + "value": 16 + }, + { + "name": "TEXTURE_ORM", + "value": 17 + }, + { + "name": "TEXTURE_MAX", + "value": 18 + } + ] + } + ], + "methods": [ + { + "name": "set_albedo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "albedo", + "type": "Color" + } + ] + }, + { + "name": "get_albedo", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_transparency", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "transparency", + "type": "enum::BaseMaterial3D.Transparency" + } + ] + }, + { + "name": "get_transparency", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.Transparency" + } + }, + { + "name": "set_alpha_antialiasing", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "alpha_aa", + "type": "enum::BaseMaterial3D.AlphaAntiAliasing" + } + ] + }, + { + "name": "get_alpha_antialiasing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.AlphaAntiAliasing" + } + }, + { + "name": "set_alpha_antialiasing_edge", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "edge", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_alpha_antialiasing_edge", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_shading_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shading_mode", + "type": "enum::BaseMaterial3D.ShadingMode" + } + ] + }, + { + "name": "get_shading_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.ShadingMode" + } + }, + { + "name": "set_specular", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "specular", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_specular", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_metallic", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "metallic", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_metallic", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_roughness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "roughness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_roughness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_emission", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "emission", + "type": "Color" + } + ] + }, + { + "name": "get_emission", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_emission_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "emission_energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_normal_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "normal_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_normal_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_rim", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rim", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_rim", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_rim_tint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rim_tint", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_rim_tint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_clearcoat", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "clearcoat", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_clearcoat", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_clearcoat_gloss", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "clearcoat_gloss", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_clearcoat_gloss", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_anisotropy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "anisotropy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_anisotropy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_heightmap_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "heightmap_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_heightmap_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_subsurface_scattering_strength", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "strength", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_subsurface_scattering_strength", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_transmittance_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_transmittance_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_transmittance_depth", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "depth", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_transmittance_depth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_transmittance_boost", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "boost", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_transmittance_boost", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_backlight", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "backlight", + "type": "Color" + } + ] + }, + { + "name": "get_backlight", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_refraction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "refraction", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_refraction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_point_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "point_size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_point_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_detail_uv", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "detail_uv", + "type": "enum::BaseMaterial3D.DetailUV" + } + ] + }, + { + "name": "get_detail_uv", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.DetailUV" + } + }, + { + "name": "set_blend_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "blend_mode", + "type": "enum::BaseMaterial3D.BlendMode" + } + ] + }, + { + "name": "get_blend_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.BlendMode" + } + }, + { + "name": "set_depth_draw_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "depth_draw_mode", + "type": "enum::BaseMaterial3D.DepthDrawMode" + } + ] + }, + { + "name": "get_depth_draw_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.DepthDrawMode" + } + }, + { + "name": "set_cull_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "cull_mode", + "type": "enum::BaseMaterial3D.CullMode" + } + ] + }, + { + "name": "get_cull_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.CullMode" + } + }, + { + "name": "set_diffuse_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "diffuse_mode", + "type": "enum::BaseMaterial3D.DiffuseMode" + } + ] + }, + { + "name": "get_diffuse_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.DiffuseMode" + } + }, + { + "name": "set_specular_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "specular_mode", + "type": "enum::BaseMaterial3D.SpecularMode" + } + ] + }, + { + "name": "get_specular_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.SpecularMode" + } + }, + { + "name": "set_flag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "flag", + "type": "enum::BaseMaterial3D.Flags" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_flag", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "flag", + "type": "enum::BaseMaterial3D.Flags" + } + ] + }, + { + "name": "set_texture_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::BaseMaterial3D.TextureFilter" + } + ] + }, + { + "name": "get_texture_filter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.TextureFilter" + } + }, + { + "name": "set_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "feature", + "type": "enum::BaseMaterial3D.Feature" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "feature", + "type": "enum::BaseMaterial3D.Feature" + } + ] + }, + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::BaseMaterial3D.TextureParam" + }, + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "param", + "type": "enum::BaseMaterial3D.TextureParam" + } + ] + }, + { + "name": "set_detail_blend_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "detail_blend_mode", + "type": "enum::BaseMaterial3D.BlendMode" + } + ] + }, + { + "name": "get_detail_blend_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.BlendMode" + } + }, + { + "name": "set_uv1_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "Vector3" + } + ] + }, + { + "name": "get_uv1_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_uv1_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector3" + } + ] + }, + { + "name": "get_uv1_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_uv1_triplanar_blend_sharpness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sharpness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_uv1_triplanar_blend_sharpness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_uv2_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "Vector3" + } + ] + }, + { + "name": "get_uv2_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_uv2_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector3" + } + ] + }, + { + "name": "get_uv2_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_uv2_triplanar_blend_sharpness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sharpness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_uv2_triplanar_blend_sharpness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_billboard_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::BaseMaterial3D.BillboardMode" + } + ] + }, + { + "name": "get_billboard_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.BillboardMode" + } + }, + { + "name": "set_particles_anim_h_frames", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "frames", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_particles_anim_h_frames", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_particles_anim_v_frames", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "frames", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_particles_anim_v_frames", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_particles_anim_loop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "loop", + "type": "bool" + } + ] + }, + { + "name": "get_particles_anim_loop", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_heightmap_deep_parallax", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_heightmap_deep_parallax_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_heightmap_deep_parallax_min_layers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_heightmap_deep_parallax_min_layers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_heightmap_deep_parallax_max_layers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_heightmap_deep_parallax_max_layers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_heightmap_deep_parallax_flip_tangent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flip", + "type": "bool" + } + ] + }, + { + "name": "get_heightmap_deep_parallax_flip_tangent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_heightmap_deep_parallax_flip_binormal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flip", + "type": "bool" + } + ] + }, + { + "name": "get_heightmap_deep_parallax_flip_binormal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_grow", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_grow", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_emission_operator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "operator", + "type": "enum::BaseMaterial3D.EmissionOperator" + } + ] + }, + { + "name": "get_emission_operator", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.EmissionOperator" + } + }, + { + "name": "set_ao_light_affect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ao_light_affect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_alpha_scissor_threshold", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "threshold", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_alpha_scissor_threshold", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_alpha_hash_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "threshold", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_alpha_hash_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_grow_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_grow_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_metallic_texture_channel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "channel", + "type": "enum::BaseMaterial3D.TextureChannel" + } + ] + }, + { + "name": "get_metallic_texture_channel", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.TextureChannel" + } + }, + { + "name": "set_roughness_texture_channel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "channel", + "type": "enum::BaseMaterial3D.TextureChannel" + } + ] + }, + { + "name": "get_roughness_texture_channel", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.TextureChannel" + } + }, + { + "name": "set_ao_texture_channel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "channel", + "type": "enum::BaseMaterial3D.TextureChannel" + } + ] + }, + { + "name": "get_ao_texture_channel", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.TextureChannel" + } + }, + { + "name": "set_refraction_texture_channel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "channel", + "type": "enum::BaseMaterial3D.TextureChannel" + } + ] + }, + { + "name": "get_refraction_texture_channel", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.TextureChannel" + } + }, + { + "name": "set_proximity_fade", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_proximity_fade_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_proximity_fade_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_proximity_fade_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_distance_fade", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::BaseMaterial3D.DistanceFadeMode" + } + ] + }, + { + "name": "get_distance_fade", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.DistanceFadeMode" + } + }, + { + "name": "set_distance_fade_max_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_distance_fade_max_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_distance_fade_min_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_distance_fade_min_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "int", + "name": "transparency", + "setter": "set_transparency", + "getter": "get_transparency", + "index": -1 + }, + { + "type": "float", + "name": "alpha_scissor_threshold", + "setter": "set_alpha_scissor_threshold", + "getter": "get_alpha_scissor_threshold", + "index": -1 + }, + { + "type": "float", + "name": "alpha_hash_scale", + "setter": "set_alpha_hash_scale", + "getter": "get_alpha_hash_scale", + "index": -1 + }, + { + "type": "int", + "name": "alpha_antialiasing_mode", + "setter": "set_alpha_antialiasing", + "getter": "get_alpha_antialiasing", + "index": -1 + }, + { + "type": "float", + "name": "alpha_antialiasing_edge", + "setter": "set_alpha_antialiasing_edge", + "getter": "get_alpha_antialiasing_edge", + "index": -1 + }, + { + "type": "int", + "name": "blend_mode", + "setter": "set_blend_mode", + "getter": "get_blend_mode", + "index": -1 + }, + { + "type": "int", + "name": "cull_mode", + "setter": "set_cull_mode", + "getter": "get_cull_mode", + "index": -1 + }, + { + "type": "int", + "name": "depth_draw_mode", + "setter": "set_depth_draw_mode", + "getter": "get_depth_draw_mode", + "index": -1 + }, + { + "type": "bool", + "name": "no_depth_test", + "setter": "set_flag", + "getter": "get_flag", + "index": 0 + }, + { + "type": "int", + "name": "shading_mode", + "setter": "set_shading_mode", + "getter": "get_shading_mode", + "index": -1 + }, + { + "type": "int", + "name": "diffuse_mode", + "setter": "set_diffuse_mode", + "getter": "get_diffuse_mode", + "index": -1 + }, + { + "type": "int", + "name": "specular_mode", + "setter": "set_specular_mode", + "getter": "get_specular_mode", + "index": -1 + }, + { + "type": "bool", + "name": "disable_ambient_light", + "setter": "set_flag", + "getter": "get_flag", + "index": 14 + }, + { + "type": "bool", + "name": "vertex_color_use_as_albedo", + "setter": "set_flag", + "getter": "get_flag", + "index": 1 + }, + { + "type": "bool", + "name": "vertex_color_is_srgb", + "setter": "set_flag", + "getter": "get_flag", + "index": 2 + }, + { + "type": "Color", + "name": "albedo_color", + "setter": "set_albedo", + "getter": "get_albedo", + "index": -1 + }, + { + "type": "Texture2D", + "name": "albedo_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 0 + }, + { + "type": "bool", + "name": "albedo_tex_force_srgb", + "setter": "set_flag", + "getter": "get_flag", + "index": 12 + }, + { + "type": "Texture2D", + "name": "orm_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 17 + }, + { + "type": "float", + "name": "metallic", + "setter": "set_metallic", + "getter": "get_metallic", + "index": -1 + }, + { + "type": "float", + "name": "metallic_specular", + "setter": "set_specular", + "getter": "get_specular", + "index": -1 + }, + { + "type": "Texture2D", + "name": "metallic_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 1 + }, + { + "type": "int", + "name": "metallic_texture_channel", + "setter": "set_metallic_texture_channel", + "getter": "get_metallic_texture_channel", + "index": -1 + }, + { + "type": "float", + "name": "roughness", + "setter": "set_roughness", + "getter": "get_roughness", + "index": -1 + }, + { + "type": "Texture2D", + "name": "roughness_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 2 + }, + { + "type": "int", + "name": "roughness_texture_channel", + "setter": "set_roughness_texture_channel", + "getter": "get_roughness_texture_channel", + "index": -1 + }, + { + "type": "bool", + "name": "emission_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 0 + }, + { + "type": "Color", + "name": "emission", + "setter": "set_emission", + "getter": "get_emission", + "index": -1 + }, + { + "type": "float", + "name": "emission_energy", + "setter": "set_emission_energy", + "getter": "get_emission_energy", + "index": -1 + }, + { + "type": "int", + "name": "emission_operator", + "setter": "set_emission_operator", + "getter": "get_emission_operator", + "index": -1 + }, + { + "type": "bool", + "name": "emission_on_uv2", + "setter": "set_flag", + "getter": "get_flag", + "index": 11 + }, + { + "type": "Texture2D", + "name": "emission_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 3 + }, + { + "type": "bool", + "name": "normal_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 1 + }, + { + "type": "float", + "name": "normal_scale", + "setter": "set_normal_scale", + "getter": "get_normal_scale", + "index": -1 + }, + { + "type": "Texture2D", + "name": "normal_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 4 + }, + { + "type": "bool", + "name": "rim_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 2 + }, + { + "type": "float", + "name": "rim", + "setter": "set_rim", + "getter": "get_rim", + "index": -1 + }, + { + "type": "float", + "name": "rim_tint", + "setter": "set_rim_tint", + "getter": "get_rim_tint", + "index": -1 + }, + { + "type": "Texture2D", + "name": "rim_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 5 + }, + { + "type": "bool", + "name": "clearcoat_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 3 + }, + { + "type": "float", + "name": "clearcoat", + "setter": "set_clearcoat", + "getter": "get_clearcoat", + "index": -1 + }, + { + "type": "float", + "name": "clearcoat_gloss", + "setter": "set_clearcoat_gloss", + "getter": "get_clearcoat_gloss", + "index": -1 + }, + { + "type": "Texture2D", + "name": "clearcoat_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 6 + }, + { + "type": "bool", + "name": "anisotropy_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 4 + }, + { + "type": "float", + "name": "anisotropy", + "setter": "set_anisotropy", + "getter": "get_anisotropy", + "index": -1 + }, + { + "type": "Texture2D", + "name": "anisotropy_flowmap", + "setter": "set_texture", + "getter": "get_texture", + "index": 7 + }, + { + "type": "bool", + "name": "ao_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 5 + }, + { + "type": "float", + "name": "ao_light_affect", + "setter": "set_ao_light_affect", + "getter": "get_ao_light_affect", + "index": -1 + }, + { + "type": "Texture2D", + "name": "ao_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 8 + }, + { + "type": "bool", + "name": "ao_on_uv2", + "setter": "set_flag", + "getter": "get_flag", + "index": 10 + }, + { + "type": "int", + "name": "ao_texture_channel", + "setter": "set_ao_texture_channel", + "getter": "get_ao_texture_channel", + "index": -1 + }, + { + "type": "bool", + "name": "heightmap_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 6 + }, + { + "type": "float", + "name": "heightmap_scale", + "setter": "set_heightmap_scale", + "getter": "get_heightmap_scale", + "index": -1 + }, + { + "type": "bool", + "name": "heightmap_deep_parallax", + "setter": "set_heightmap_deep_parallax", + "getter": "is_heightmap_deep_parallax_enabled", + "index": -1 + }, + { + "type": "int", + "name": "heightmap_min_layers", + "setter": "set_heightmap_deep_parallax_min_layers", + "getter": "get_heightmap_deep_parallax_min_layers", + "index": -1 + }, + { + "type": "int", + "name": "heightmap_max_layers", + "setter": "set_heightmap_deep_parallax_max_layers", + "getter": "get_heightmap_deep_parallax_max_layers", + "index": -1 + }, + { + "type": "bool", + "name": "heightmap_flip_tangent", + "setter": "set_heightmap_deep_parallax_flip_tangent", + "getter": "get_heightmap_deep_parallax_flip_tangent", + "index": -1 + }, + { + "type": "bool", + "name": "heightmap_flip_binormal", + "setter": "set_heightmap_deep_parallax_flip_binormal", + "getter": "get_heightmap_deep_parallax_flip_binormal", + "index": -1 + }, + { + "type": "Texture2D", + "name": "heightmap_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 9 + }, + { + "type": "bool", + "name": "heightmap_flip_texture", + "setter": "set_flag", + "getter": "get_flag", + "index": 17 + }, + { + "type": "bool", + "name": "subsurf_scatter_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 7 + }, + { + "type": "float", + "name": "subsurf_scatter_strength", + "setter": "set_subsurface_scattering_strength", + "getter": "get_subsurface_scattering_strength", + "index": -1 + }, + { + "type": "bool", + "name": "subsurf_scatter_skin_mode", + "setter": "set_flag", + "getter": "get_flag", + "index": 18 + }, + { + "type": "Texture2D", + "name": "subsurf_scatter_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 10 + }, + { + "type": "bool", + "name": "subsurf_scatter_transmittance_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 8 + }, + { + "type": "Color", + "name": "subsurf_scatter_transmittance_color", + "setter": "set_transmittance_color", + "getter": "get_transmittance_color", + "index": -1 + }, + { + "type": "Texture2D", + "name": "subsurf_scatter_transmittance_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 11 + }, + { + "type": "float", + "name": "subsurf_scatter_transmittance_depth", + "setter": "set_transmittance_depth", + "getter": "get_transmittance_depth", + "index": -1 + }, + { + "type": "float", + "name": "subsurf_scatter_transmittance_boost", + "setter": "set_transmittance_boost", + "getter": "get_transmittance_boost", + "index": -1 + }, + { + "type": "bool", + "name": "backlight_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 9 + }, + { + "type": "Color", + "name": "backlight", + "setter": "set_backlight", + "getter": "get_backlight", + "index": -1 + }, + { + "type": "Texture2D", + "name": "backlight_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 12 + }, + { + "type": "bool", + "name": "refraction_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 10 + }, + { + "type": "float", + "name": "refraction_scale", + "setter": "set_refraction", + "getter": "get_refraction", + "index": -1 + }, + { + "type": "Texture2D", + "name": "refraction_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 13 + }, + { + "type": "int", + "name": "refraction_texture_channel", + "setter": "set_refraction_texture_channel", + "getter": "get_refraction_texture_channel", + "index": -1 + }, + { + "type": "bool", + "name": "detail_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 11 + }, + { + "type": "Texture2D", + "name": "detail_mask", + "setter": "set_texture", + "getter": "get_texture", + "index": 14 + }, + { + "type": "int", + "name": "detail_blend_mode", + "setter": "set_detail_blend_mode", + "getter": "get_detail_blend_mode", + "index": -1 + }, + { + "type": "int", + "name": "detail_uv_layer", + "setter": "set_detail_uv", + "getter": "get_detail_uv", + "index": -1 + }, + { + "type": "Texture2D", + "name": "detail_albedo", + "setter": "set_texture", + "getter": "get_texture", + "index": 15 + }, + { + "type": "Texture2D", + "name": "detail_normal", + "setter": "set_texture", + "getter": "get_texture", + "index": 16 + }, + { + "type": "Vector3", + "name": "uv1_scale", + "setter": "set_uv1_scale", + "getter": "get_uv1_scale", + "index": -1 + }, + { + "type": "Vector3", + "name": "uv1_offset", + "setter": "set_uv1_offset", + "getter": "get_uv1_offset", + "index": -1 + }, + { + "type": "bool", + "name": "uv1_triplanar", + "setter": "set_flag", + "getter": "get_flag", + "index": 6 + }, + { + "type": "float", + "name": "uv1_triplanar_sharpness", + "setter": "set_uv1_triplanar_blend_sharpness", + "getter": "get_uv1_triplanar_blend_sharpness", + "index": -1 + }, + { + "type": "bool", + "name": "uv1_world_triplanar", + "setter": "set_flag", + "getter": "get_flag", + "index": 8 + }, + { + "type": "Vector3", + "name": "uv2_scale", + "setter": "set_uv2_scale", + "getter": "get_uv2_scale", + "index": -1 + }, + { + "type": "Vector3", + "name": "uv2_offset", + "setter": "set_uv2_offset", + "getter": "get_uv2_offset", + "index": -1 + }, + { + "type": "bool", + "name": "uv2_triplanar", + "setter": "set_flag", + "getter": "get_flag", + "index": 7 + }, + { + "type": "float", + "name": "uv2_triplanar_sharpness", + "setter": "set_uv2_triplanar_blend_sharpness", + "getter": "get_uv2_triplanar_blend_sharpness", + "index": -1 + }, + { + "type": "bool", + "name": "uv2_world_triplanar", + "setter": "set_flag", + "getter": "get_flag", + "index": 9 + }, + { + "type": "int", + "name": "texture_filter", + "setter": "set_texture_filter", + "getter": "get_texture_filter", + "index": -1 + }, + { + "type": "bool", + "name": "texture_repeat", + "setter": "set_flag", + "getter": "get_flag", + "index": 16 + }, + { + "type": "bool", + "name": "disable_receive_shadows", + "setter": "set_flag", + "getter": "get_flag", + "index": 13 + }, + { + "type": "bool", + "name": "shadow_to_opacity", + "setter": "set_flag", + "getter": "get_flag", + "index": 15 + }, + { + "type": "int", + "name": "billboard_mode", + "setter": "set_billboard_mode", + "getter": "get_billboard_mode", + "index": -1 + }, + { + "type": "bool", + "name": "billboard_keep_scale", + "setter": "set_flag", + "getter": "get_flag", + "index": 5 + }, + { + "type": "int", + "name": "particles_anim_h_frames", + "setter": "set_particles_anim_h_frames", + "getter": "get_particles_anim_h_frames", + "index": -1 + }, + { + "type": "int", + "name": "particles_anim_v_frames", + "setter": "set_particles_anim_v_frames", + "getter": "get_particles_anim_v_frames", + "index": -1 + }, + { + "type": "bool", + "name": "particles_anim_loop", + "setter": "set_particles_anim_loop", + "getter": "get_particles_anim_loop", + "index": -1 + }, + { + "type": "bool", + "name": "grow", + "setter": "set_grow_enabled", + "getter": "is_grow_enabled", + "index": -1 + }, + { + "type": "float", + "name": "grow_amount", + "setter": "set_grow", + "getter": "get_grow", + "index": -1 + }, + { + "type": "bool", + "name": "fixed_size", + "setter": "set_flag", + "getter": "get_flag", + "index": 4 + }, + { + "type": "bool", + "name": "use_point_size", + "setter": "set_flag", + "getter": "get_flag", + "index": 3 + }, + { + "type": "float", + "name": "point_size", + "setter": "set_point_size", + "getter": "get_point_size", + "index": -1 + }, + { + "type": "bool", + "name": "use_particle_trails", + "setter": "set_flag", + "getter": "get_flag", + "index": 19 + }, + { + "type": "bool", + "name": "proximity_fade_enable", + "setter": "set_proximity_fade", + "getter": "is_proximity_fade_enabled", + "index": -1 + }, + { + "type": "float", + "name": "proximity_fade_distance", + "setter": "set_proximity_fade_distance", + "getter": "get_proximity_fade_distance", + "index": -1 + }, + { + "type": "int", + "name": "distance_fade_mode", + "setter": "set_distance_fade", + "getter": "get_distance_fade", + "index": -1 + }, + { + "type": "float", + "name": "distance_fade_min_distance", + "setter": "set_distance_fade_min_distance", + "getter": "get_distance_fade_min_distance", + "index": -1 + }, + { + "type": "float", + "name": "distance_fade_max_distance", + "setter": "set_distance_fade_max_distance", + "getter": "get_distance_fade_max_distance", + "index": -1 + } + ] + }, + { + "name": "BitMap", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "create_from_image_alpha", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "image", + "type": "Image" + }, + { + "name": "threshold", + "type": "float", + "meta": "float", + "default_value": "0.1" + } + ] + }, + { + "name": "set_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "bit", + "type": "bool" + } + ] + }, + { + "name": "get_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "set_bit_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "bit", + "type": "bool" + } + ] + }, + { + "name": "get_true_bit_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "grow_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "pixels", + "type": "int", + "meta": "int32" + }, + { + "name": "rect", + "type": "Rect2" + } + ] + }, + { + "name": "opaque_to_polygons", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "epsilon", + "type": "float", + "meta": "float", + "default_value": "2.0" + } + ] + } + ], + "properties": [ + { + "type": "Dictionary", + "name": "data", + "setter": "_set_data", + "getter": "_get_data", + "index": -1 + } + ] + }, + { + "name": "Bone2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_rest", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rest", + "type": "Transform2D" + } + ] + }, + { + "name": "get_rest", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "apply_rest", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_skeleton_rest", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "get_index_in_skeleton", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_default_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "default_length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_default_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_autocalculate_length_and_angle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "auto_calculate", + "type": "bool" + } + ] + }, + { + "name": "get_autocalculate_length_and_angle", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_bone_angle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angle", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bone_angle", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "Transform2D", + "name": "rest", + "setter": "set_rest", + "getter": "get_rest", + "index": -1 + } + ] + }, + { + "name": "BoneAttachment3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_bone_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bone_name", + "type": "String" + } + ] + }, + { + "name": "get_bone_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "StringName", + "name": "bone_name", + "setter": "set_bone_name", + "getter": "get_bone_name", + "index": -1 + } + ] + }, + { + "name": "BoxContainer", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Container", + "api_type": "core", + "enums": [ + { + "name": "AlignMode", + "values": [ + { + "name": "ALIGN_BEGIN", + "value": 0 + }, + { + "name": "ALIGN_CENTER", + "value": 1 + }, + { + "name": "ALIGN_END", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "add_spacer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Control" + }, + "arguments": [ + { + "name": "begin", + "type": "bool" + } + ] + }, + { + "name": "get_alignment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BoxContainer.AlignMode" + } + }, + { + "name": "set_alignment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "alignment", + "type": "enum::BoxContainer.AlignMode" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "alignment", + "setter": "set_alignment", + "getter": "get_alignment", + "index": -1 + } + ] + }, + { + "name": "BoxMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PrimitiveMesh", + "api_type": "core", + "methods": [ + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector3" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_subdivide_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "subdivide", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_subdivide_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_subdivide_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "divisions", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_subdivide_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_subdivide_depth", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "divisions", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_subdivide_depth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "Vector3", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + }, + { + "type": "int", + "name": "subdivide_width", + "setter": "set_subdivide_width", + "getter": "get_subdivide_width", + "index": -1 + }, + { + "type": "int", + "name": "subdivide_height", + "setter": "set_subdivide_height", + "getter": "get_subdivide_height", + "index": -1 + }, + { + "type": "int", + "name": "subdivide_depth", + "setter": "set_subdivide_depth", + "getter": "get_subdivide_depth", + "index": -1 + } + ] + }, + { + "name": "BoxShape3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape3D", + "api_type": "core", + "methods": [ + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector3" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + } + ], + "properties": [ + { + "type": "Vector3", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + } + ] + }, + { + "name": "Button", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "BaseButton", + "api_type": "core", + "enums": [ + { + "name": "TextAlign", + "values": [ + { + "name": "ALIGN_LEFT", + "value": 0 + }, + { + "name": "ALIGN_CENTER", + "value": 1 + }, + { + "name": "ALIGN_RIGHT", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_text_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "get_text_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.TextDirection" + } + }, + { + "name": "set_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_opentype_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_button_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_button_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_flat", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_flat", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_clip_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_clip_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_text_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "align", + "type": "enum::Button.TextAlign" + } + ] + }, + { + "name": "get_text_align", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Button.TextAlign" + } + }, + { + "name": "set_icon_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "icon_align", + "type": "enum::Button.TextAlign" + } + ] + }, + { + "name": "get_icon_align", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Button.TextAlign" + } + }, + { + "name": "set_expand_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "bool" + } + ] + }, + { + "name": "is_expand_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "String", + "name": "text", + "setter": "set_text", + "getter": "get_text", + "index": -1 + }, + { + "type": "int", + "name": "text_direction", + "setter": "set_text_direction", + "getter": "get_text_direction", + "index": -1 + }, + { + "type": "String", + "name": "language", + "setter": "set_language", + "getter": "get_language", + "index": -1 + }, + { + "type": "Texture2D", + "name": "icon", + "setter": "set_button_icon", + "getter": "get_button_icon", + "index": -1 + }, + { + "type": "bool", + "name": "flat", + "setter": "set_flat", + "getter": "is_flat", + "index": -1 + }, + { + "type": "bool", + "name": "clip_text", + "setter": "set_clip_text", + "getter": "get_clip_text", + "index": -1 + }, + { + "type": "int", + "name": "align", + "setter": "set_text_align", + "getter": "get_text_align", + "index": -1 + }, + { + "type": "int", + "name": "icon_align", + "setter": "set_icon_align", + "getter": "get_icon_align", + "index": -1 + }, + { + "type": "bool", + "name": "expand_icon", + "setter": "set_expand_icon", + "getter": "is_expand_icon", + "index": -1 + } + ] + }, + { + "name": "ButtonGroup", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_pressed_button", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "BaseButton" + } + }, + { + "name": "get_buttons", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + } + ], + "signals": [ + { + "name": "pressed", + "arguments": [ + { + "name": "button", + "type": "Object" + } + ] + } + ] + }, + { + "name": "CPUParticles2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "enums": [ + { + "name": "EmissionShape", + "values": [ + { + "name": "EMISSION_SHAPE_POINT", + "value": 0 + }, + { + "name": "EMISSION_SHAPE_SPHERE", + "value": 1 + }, + { + "name": "EMISSION_SHAPE_RECTANGLE", + "value": 2 + }, + { + "name": "EMISSION_SHAPE_POINTS", + "value": 3 + }, + { + "name": "EMISSION_SHAPE_DIRECTED_POINTS", + "value": 4 + }, + { + "name": "EMISSION_SHAPE_MAX", + "value": 5 + } + ] + }, + { + "name": "ParticleFlags", + "values": [ + { + "name": "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY", + "value": 0 + }, + { + "name": "PARTICLE_FLAG_ROTATE_Y", + "value": 1 + }, + { + "name": "PARTICLE_FLAG_DISABLE_Z", + "value": 2 + }, + { + "name": "PARTICLE_FLAG_MAX", + "value": 3 + } + ] + }, + { + "name": "Parameter", + "values": [ + { + "name": "PARAM_INITIAL_LINEAR_VELOCITY", + "value": 0 + }, + { + "name": "PARAM_ANGULAR_VELOCITY", + "value": 1 + }, + { + "name": "PARAM_ORBIT_VELOCITY", + "value": 2 + }, + { + "name": "PARAM_LINEAR_ACCEL", + "value": 3 + }, + { + "name": "PARAM_RADIAL_ACCEL", + "value": 4 + }, + { + "name": "PARAM_TANGENTIAL_ACCEL", + "value": 5 + }, + { + "name": "PARAM_DAMPING", + "value": 6 + }, + { + "name": "PARAM_ANGLE", + "value": 7 + }, + { + "name": "PARAM_SCALE", + "value": 8 + }, + { + "name": "PARAM_HUE_VARIATION", + "value": 9 + }, + { + "name": "PARAM_ANIM_SPEED", + "value": 10 + }, + { + "name": "PARAM_ANIM_OFFSET", + "value": 11 + }, + { + "name": "PARAM_MAX", + "value": 12 + } + ] + }, + { + "name": "DrawOrder", + "values": [ + { + "name": "DRAW_ORDER_INDEX", + "value": 0 + }, + { + "name": "DRAW_ORDER_LIFETIME", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_emitting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "emitting", + "type": "bool" + } + ] + }, + { + "name": "set_amount", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_lifetime", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "secs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_one_shot", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_pre_process_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "secs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_explosiveness_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_randomness_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_lifetime_randomness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "random", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_use_local_coordinates", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_fixed_fps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fps", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_fractional_delta", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_speed_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "is_emitting", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_amount", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_lifetime", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_one_shot", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_pre_process_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_explosiveness_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_randomness_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_lifetime_randomness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_use_local_coordinates", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_fixed_fps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_fractional_delta", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_speed_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_draw_order", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "order", + "type": "enum::CPUParticles2D.DrawOrder" + } + ] + }, + { + "name": "get_draw_order", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CPUParticles2D.DrawOrder" + } + }, + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "restart", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "Vector2" + } + ] + }, + { + "name": "get_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_spread", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "degrees", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_spread", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::CPUParticles2D.Parameter" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::CPUParticles2D.Parameter" + } + ] + }, + { + "name": "set_param_randomness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::CPUParticles2D.Parameter" + }, + { + "name": "randomness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param_randomness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::CPUParticles2D.Parameter" + } + ] + }, + { + "name": "set_param_curve", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::CPUParticles2D.Parameter" + }, + { + "name": "curve", + "type": "Curve" + } + ] + }, + { + "name": "get_param_curve", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Curve" + }, + "arguments": [ + { + "name": "param", + "type": "enum::CPUParticles2D.Parameter" + } + ] + }, + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_color_ramp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ramp", + "type": "Gradient" + } + ] + }, + { + "name": "get_color_ramp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Gradient" + } + }, + { + "name": "set_particle_flag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particle_flag", + "type": "enum::CPUParticles2D.ParticleFlags" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_particle_flag", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "particle_flag", + "type": "enum::CPUParticles2D.ParticleFlags" + } + ] + }, + { + "name": "set_emission_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "enum::CPUParticles2D.EmissionShape" + } + ] + }, + { + "name": "get_emission_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CPUParticles2D.EmissionShape" + } + }, + { + "name": "set_emission_sphere_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_sphere_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_emission_rect_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "extents", + "type": "Vector2" + } + ] + }, + { + "name": "get_emission_rect_extents", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_emission_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "array", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_emission_points", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + }, + { + "name": "set_emission_normals", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "array", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_emission_normals", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + }, + { + "name": "set_emission_colors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "array", + "type": "PackedColorArray" + } + ] + }, + { + "name": "get_emission_colors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedColorArray" + } + }, + { + "name": "get_gravity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_gravity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "accel_vec", + "type": "Vector2" + } + ] + }, + { + "name": "convert_from_particles", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "particles", + "type": "Node" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "emitting", + "setter": "set_emitting", + "getter": "is_emitting", + "index": -1 + }, + { + "type": "int", + "name": "amount", + "setter": "set_amount", + "getter": "get_amount", + "index": -1 + }, + { + "type": "float", + "name": "lifetime", + "setter": "set_lifetime", + "getter": "get_lifetime", + "index": -1 + }, + { + "type": "bool", + "name": "one_shot", + "setter": "set_one_shot", + "getter": "get_one_shot", + "index": -1 + }, + { + "type": "float", + "name": "preprocess", + "setter": "set_pre_process_time", + "getter": "get_pre_process_time", + "index": -1 + }, + { + "type": "float", + "name": "speed_scale", + "setter": "set_speed_scale", + "getter": "get_speed_scale", + "index": -1 + }, + { + "type": "float", + "name": "explosiveness", + "setter": "set_explosiveness_ratio", + "getter": "get_explosiveness_ratio", + "index": -1 + }, + { + "type": "float", + "name": "randomness", + "setter": "set_randomness_ratio", + "getter": "get_randomness_ratio", + "index": -1 + }, + { + "type": "float", + "name": "lifetime_randomness", + "setter": "set_lifetime_randomness", + "getter": "get_lifetime_randomness", + "index": -1 + }, + { + "type": "int", + "name": "fixed_fps", + "setter": "set_fixed_fps", + "getter": "get_fixed_fps", + "index": -1 + }, + { + "type": "bool", + "name": "fract_delta", + "setter": "set_fractional_delta", + "getter": "get_fractional_delta", + "index": -1 + }, + { + "type": "bool", + "name": "local_coords", + "setter": "set_use_local_coordinates", + "getter": "get_use_local_coordinates", + "index": -1 + }, + { + "type": "int", + "name": "draw_order", + "setter": "set_draw_order", + "getter": "get_draw_order", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "int", + "name": "emission_shape", + "setter": "set_emission_shape", + "getter": "get_emission_shape", + "index": -1 + }, + { + "type": "float", + "name": "emission_sphere_radius", + "setter": "set_emission_sphere_radius", + "getter": "get_emission_sphere_radius", + "index": -1 + }, + { + "type": "Vector2", + "name": "emission_rect_extents", + "setter": "set_emission_rect_extents", + "getter": "get_emission_rect_extents", + "index": -1 + }, + { + "type": "PackedVector2Array", + "name": "emission_points", + "setter": "set_emission_points", + "getter": "get_emission_points", + "index": -1 + }, + { + "type": "PackedVector2Array", + "name": "emission_normals", + "setter": "set_emission_normals", + "getter": "get_emission_normals", + "index": -1 + }, + { + "type": "PackedColorArray", + "name": "emission_colors", + "setter": "set_emission_colors", + "getter": "get_emission_colors", + "index": -1 + }, + { + "type": "bool", + "name": "particle_flag_align_y", + "setter": "set_particle_flag", + "getter": "get_particle_flag", + "index": 0 + }, + { + "type": "Vector2", + "name": "direction", + "setter": "set_direction", + "getter": "get_direction", + "index": -1 + }, + { + "type": "float", + "name": "spread", + "setter": "set_spread", + "getter": "get_spread", + "index": -1 + }, + { + "type": "Vector2", + "name": "gravity", + "setter": "set_gravity", + "getter": "get_gravity", + "index": -1 + }, + { + "type": "float", + "name": "initial_velocity", + "setter": "set_param", + "getter": "get_param", + "index": 0 + }, + { + "type": "float", + "name": "initial_velocity_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 0 + }, + { + "type": "float", + "name": "angular_velocity", + "setter": "set_param", + "getter": "get_param", + "index": 1 + }, + { + "type": "float", + "name": "angular_velocity_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 1 + }, + { + "type": "Curve", + "name": "angular_velocity_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 1 + }, + { + "type": "float", + "name": "orbit_velocity", + "setter": "set_param", + "getter": "get_param", + "index": 2 + }, + { + "type": "float", + "name": "orbit_velocity_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 2 + }, + { + "type": "Curve", + "name": "orbit_velocity_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 2 + }, + { + "type": "float", + "name": "linear_accel", + "setter": "set_param", + "getter": "get_param", + "index": 3 + }, + { + "type": "float", + "name": "linear_accel_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 3 + }, + { + "type": "Curve", + "name": "linear_accel_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 3 + }, + { + "type": "float", + "name": "radial_accel", + "setter": "set_param", + "getter": "get_param", + "index": 4 + }, + { + "type": "float", + "name": "radial_accel_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 4 + }, + { + "type": "Curve", + "name": "radial_accel_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 4 + }, + { + "type": "float", + "name": "tangential_accel", + "setter": "set_param", + "getter": "get_param", + "index": 5 + }, + { + "type": "float", + "name": "tangential_accel_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 5 + }, + { + "type": "Curve", + "name": "tangential_accel_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 5 + }, + { + "type": "float", + "name": "damping", + "setter": "set_param", + "getter": "get_param", + "index": 6 + }, + { + "type": "float", + "name": "damping_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 6 + }, + { + "type": "Curve", + "name": "damping_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 6 + }, + { + "type": "float", + "name": "angle", + "setter": "set_param", + "getter": "get_param", + "index": 7 + }, + { + "type": "float", + "name": "angle_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 7 + }, + { + "type": "Curve", + "name": "angle_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 7 + }, + { + "type": "float", + "name": "scale_amount", + "setter": "set_param", + "getter": "get_param", + "index": 8 + }, + { + "type": "float", + "name": "scale_amount_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 8 + }, + { + "type": "Curve", + "name": "scale_amount_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 8 + }, + { + "type": "Color", + "name": "color", + "setter": "set_color", + "getter": "get_color", + "index": -1 + }, + { + "type": "Gradient", + "name": "color_ramp", + "setter": "set_color_ramp", + "getter": "get_color_ramp", + "index": -1 + }, + { + "type": "float", + "name": "hue_variation", + "setter": "set_param", + "getter": "get_param", + "index": 9 + }, + { + "type": "float", + "name": "hue_variation_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 9 + }, + { + "type": "Curve", + "name": "hue_variation_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 9 + }, + { + "type": "float", + "name": "anim_speed", + "setter": "set_param", + "getter": "get_param", + "index": 10 + }, + { + "type": "float", + "name": "anim_speed_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 10 + }, + { + "type": "Curve", + "name": "anim_speed_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 10 + }, + { + "type": "float", + "name": "anim_offset", + "setter": "set_param", + "getter": "get_param", + "index": 11 + }, + { + "type": "float", + "name": "anim_offset_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 11 + }, + { + "type": "Curve", + "name": "anim_offset_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 11 + } + ] + }, + { + "name": "CPUParticles3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GeometryInstance3D", + "api_type": "core", + "enums": [ + { + "name": "EmissionShape", + "values": [ + { + "name": "EMISSION_SHAPE_POINT", + "value": 0 + }, + { + "name": "EMISSION_SHAPE_SPHERE", + "value": 1 + }, + { + "name": "EMISSION_SHAPE_BOX", + "value": 2 + }, + { + "name": "EMISSION_SHAPE_POINTS", + "value": 3 + }, + { + "name": "EMISSION_SHAPE_DIRECTED_POINTS", + "value": 4 + }, + { + "name": "EMISSION_SHAPE_RING", + "value": 5 + }, + { + "name": "EMISSION_SHAPE_MAX", + "value": 6 + } + ] + }, + { + "name": "ParticleFlags", + "values": [ + { + "name": "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY", + "value": 0 + }, + { + "name": "PARTICLE_FLAG_ROTATE_Y", + "value": 1 + }, + { + "name": "PARTICLE_FLAG_DISABLE_Z", + "value": 2 + }, + { + "name": "PARTICLE_FLAG_MAX", + "value": 3 + } + ] + }, + { + "name": "Parameter", + "values": [ + { + "name": "PARAM_INITIAL_LINEAR_VELOCITY", + "value": 0 + }, + { + "name": "PARAM_ANGULAR_VELOCITY", + "value": 1 + }, + { + "name": "PARAM_ORBIT_VELOCITY", + "value": 2 + }, + { + "name": "PARAM_LINEAR_ACCEL", + "value": 3 + }, + { + "name": "PARAM_RADIAL_ACCEL", + "value": 4 + }, + { + "name": "PARAM_TANGENTIAL_ACCEL", + "value": 5 + }, + { + "name": "PARAM_DAMPING", + "value": 6 + }, + { + "name": "PARAM_ANGLE", + "value": 7 + }, + { + "name": "PARAM_SCALE", + "value": 8 + }, + { + "name": "PARAM_HUE_VARIATION", + "value": 9 + }, + { + "name": "PARAM_ANIM_SPEED", + "value": 10 + }, + { + "name": "PARAM_ANIM_OFFSET", + "value": 11 + }, + { + "name": "PARAM_MAX", + "value": 12 + } + ] + }, + { + "name": "DrawOrder", + "values": [ + { + "name": "DRAW_ORDER_INDEX", + "value": 0 + }, + { + "name": "DRAW_ORDER_LIFETIME", + "value": 1 + }, + { + "name": "DRAW_ORDER_VIEW_DEPTH", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_emitting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "emitting", + "type": "bool" + } + ] + }, + { + "name": "set_amount", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_lifetime", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "secs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_one_shot", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_pre_process_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "secs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_explosiveness_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_randomness_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_lifetime_randomness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "random", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_use_local_coordinates", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_fixed_fps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fps", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_fractional_delta", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_speed_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "is_emitting", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_amount", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_lifetime", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_one_shot", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_pre_process_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_explosiveness_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_randomness_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_lifetime_randomness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_use_local_coordinates", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_fixed_fps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_fractional_delta", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_speed_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_draw_order", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "order", + "type": "enum::CPUParticles3D.DrawOrder" + } + ] + }, + { + "name": "get_draw_order", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CPUParticles3D.DrawOrder" + } + }, + { + "name": "set_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh", + "type": "Mesh" + } + ] + }, + { + "name": "get_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Mesh" + } + }, + { + "name": "restart", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "Vector3" + } + ] + }, + { + "name": "get_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_spread", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "degrees", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_spread", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_flatness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_flatness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::CPUParticles3D.Parameter" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::CPUParticles3D.Parameter" + } + ] + }, + { + "name": "set_param_randomness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::CPUParticles3D.Parameter" + }, + { + "name": "randomness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param_randomness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::CPUParticles3D.Parameter" + } + ] + }, + { + "name": "set_param_curve", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::CPUParticles3D.Parameter" + }, + { + "name": "curve", + "type": "Curve" + } + ] + }, + { + "name": "get_param_curve", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Curve" + }, + "arguments": [ + { + "name": "param", + "type": "enum::CPUParticles3D.Parameter" + } + ] + }, + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_color_ramp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ramp", + "type": "Gradient" + } + ] + }, + { + "name": "get_color_ramp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Gradient" + } + }, + { + "name": "set_particle_flag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particle_flag", + "type": "enum::CPUParticles3D.ParticleFlags" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_particle_flag", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "particle_flag", + "type": "enum::CPUParticles3D.ParticleFlags" + } + ] + }, + { + "name": "set_emission_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "enum::CPUParticles3D.EmissionShape" + } + ] + }, + { + "name": "get_emission_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CPUParticles3D.EmissionShape" + } + }, + { + "name": "set_emission_sphere_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_sphere_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_emission_box_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "get_emission_box_extents", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_emission_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "array", + "type": "PackedVector3Array" + } + ] + }, + { + "name": "get_emission_points", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector3Array" + } + }, + { + "name": "set_emission_normals", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "array", + "type": "PackedVector3Array" + } + ] + }, + { + "name": "get_emission_normals", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector3Array" + } + }, + { + "name": "set_emission_colors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "array", + "type": "PackedColorArray" + } + ] + }, + { + "name": "get_emission_colors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedColorArray" + } + }, + { + "name": "set_emission_ring_axis", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "axis", + "type": "Vector3" + } + ] + }, + { + "name": "get_emission_ring_axis", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_emission_ring_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_ring_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_emission_ring_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_ring_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_emission_ring_inner_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "inner_radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_ring_inner_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_gravity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_gravity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "accel_vec", + "type": "Vector3" + } + ] + }, + { + "name": "convert_from_particles", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "particles", + "type": "Node" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "emitting", + "setter": "set_emitting", + "getter": "is_emitting", + "index": -1 + }, + { + "type": "int", + "name": "amount", + "setter": "set_amount", + "getter": "get_amount", + "index": -1 + }, + { + "type": "float", + "name": "lifetime", + "setter": "set_lifetime", + "getter": "get_lifetime", + "index": -1 + }, + { + "type": "bool", + "name": "one_shot", + "setter": "set_one_shot", + "getter": "get_one_shot", + "index": -1 + }, + { + "type": "float", + "name": "preprocess", + "setter": "set_pre_process_time", + "getter": "get_pre_process_time", + "index": -1 + }, + { + "type": "float", + "name": "speed_scale", + "setter": "set_speed_scale", + "getter": "get_speed_scale", + "index": -1 + }, + { + "type": "float", + "name": "explosiveness", + "setter": "set_explosiveness_ratio", + "getter": "get_explosiveness_ratio", + "index": -1 + }, + { + "type": "float", + "name": "randomness", + "setter": "set_randomness_ratio", + "getter": "get_randomness_ratio", + "index": -1 + }, + { + "type": "float", + "name": "lifetime_randomness", + "setter": "set_lifetime_randomness", + "getter": "get_lifetime_randomness", + "index": -1 + }, + { + "type": "int", + "name": "fixed_fps", + "setter": "set_fixed_fps", + "getter": "get_fixed_fps", + "index": -1 + }, + { + "type": "bool", + "name": "fract_delta", + "setter": "set_fractional_delta", + "getter": "get_fractional_delta", + "index": -1 + }, + { + "type": "bool", + "name": "local_coords", + "setter": "set_use_local_coordinates", + "getter": "get_use_local_coordinates", + "index": -1 + }, + { + "type": "int", + "name": "draw_order", + "setter": "set_draw_order", + "getter": "get_draw_order", + "index": -1 + }, + { + "type": "Mesh", + "name": "mesh", + "setter": "set_mesh", + "getter": "get_mesh", + "index": -1 + }, + { + "type": "int", + "name": "emission_shape", + "setter": "set_emission_shape", + "getter": "get_emission_shape", + "index": -1 + }, + { + "type": "float", + "name": "emission_sphere_radius", + "setter": "set_emission_sphere_radius", + "getter": "get_emission_sphere_radius", + "index": -1 + }, + { + "type": "Vector3", + "name": "emission_box_extents", + "setter": "set_emission_box_extents", + "getter": "get_emission_box_extents", + "index": -1 + }, + { + "type": "PackedVector3Array", + "name": "emission_points", + "setter": "set_emission_points", + "getter": "get_emission_points", + "index": -1 + }, + { + "type": "PackedVector3Array", + "name": "emission_normals", + "setter": "set_emission_normals", + "getter": "get_emission_normals", + "index": -1 + }, + { + "type": "PackedColorArray", + "name": "emission_colors", + "setter": "set_emission_colors", + "getter": "get_emission_colors", + "index": -1 + }, + { + "type": "Vector3", + "name": "emission_ring_axis", + "setter": "set_emission_ring_axis", + "getter": "get_emission_ring_axis", + "index": -1 + }, + { + "type": "float", + "name": "emission_ring_height", + "setter": "set_emission_ring_height", + "getter": "get_emission_ring_height", + "index": -1 + }, + { + "type": "float", + "name": "emission_ring_radius", + "setter": "set_emission_ring_radius", + "getter": "get_emission_ring_radius", + "index": -1 + }, + { + "type": "float", + "name": "emission_ring_inner_radius", + "setter": "set_emission_ring_inner_radius", + "getter": "get_emission_ring_inner_radius", + "index": -1 + }, + { + "type": "bool", + "name": "particle_flag_align_y", + "setter": "set_particle_flag", + "getter": "get_particle_flag", + "index": 0 + }, + { + "type": "bool", + "name": "particle_flag_rotate_y", + "setter": "set_particle_flag", + "getter": "get_particle_flag", + "index": 1 + }, + { + "type": "bool", + "name": "particle_flag_disable_z", + "setter": "set_particle_flag", + "getter": "get_particle_flag", + "index": 2 + }, + { + "type": "Vector3", + "name": "direction", + "setter": "set_direction", + "getter": "get_direction", + "index": -1 + }, + { + "type": "float", + "name": "spread", + "setter": "set_spread", + "getter": "get_spread", + "index": -1 + }, + { + "type": "float", + "name": "flatness", + "setter": "set_flatness", + "getter": "get_flatness", + "index": -1 + }, + { + "type": "Vector3", + "name": "gravity", + "setter": "set_gravity", + "getter": "get_gravity", + "index": -1 + }, + { + "type": "float", + "name": "initial_velocity", + "setter": "set_param", + "getter": "get_param", + "index": 0 + }, + { + "type": "float", + "name": "initial_velocity_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 0 + }, + { + "type": "float", + "name": "angular_velocity", + "setter": "set_param", + "getter": "get_param", + "index": 1 + }, + { + "type": "float", + "name": "angular_velocity_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 1 + }, + { + "type": "Curve", + "name": "angular_velocity_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 1 + }, + { + "type": "float", + "name": "orbit_velocity", + "setter": "set_param", + "getter": "get_param", + "index": 2 + }, + { + "type": "float", + "name": "orbit_velocity_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 2 + }, + { + "type": "Curve", + "name": "orbit_velocity_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 2 + }, + { + "type": "float", + "name": "linear_accel", + "setter": "set_param", + "getter": "get_param", + "index": 3 + }, + { + "type": "float", + "name": "linear_accel_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 3 + }, + { + "type": "Curve", + "name": "linear_accel_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 3 + }, + { + "type": "float", + "name": "radial_accel", + "setter": "set_param", + "getter": "get_param", + "index": 4 + }, + { + "type": "float", + "name": "radial_accel_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 4 + }, + { + "type": "Curve", + "name": "radial_accel_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 4 + }, + { + "type": "float", + "name": "tangential_accel", + "setter": "set_param", + "getter": "get_param", + "index": 5 + }, + { + "type": "float", + "name": "tangential_accel_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 5 + }, + { + "type": "Curve", + "name": "tangential_accel_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 5 + }, + { + "type": "float", + "name": "damping", + "setter": "set_param", + "getter": "get_param", + "index": 6 + }, + { + "type": "float", + "name": "damping_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 6 + }, + { + "type": "Curve", + "name": "damping_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 6 + }, + { + "type": "float", + "name": "angle", + "setter": "set_param", + "getter": "get_param", + "index": 7 + }, + { + "type": "float", + "name": "angle_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 7 + }, + { + "type": "Curve", + "name": "angle_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 7 + }, + { + "type": "float", + "name": "scale_amount", + "setter": "set_param", + "getter": "get_param", + "index": 8 + }, + { + "type": "float", + "name": "scale_amount_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 8 + }, + { + "type": "Curve", + "name": "scale_amount_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 8 + }, + { + "type": "Color", + "name": "color", + "setter": "set_color", + "getter": "get_color", + "index": -1 + }, + { + "type": "Gradient", + "name": "color_ramp", + "setter": "set_color_ramp", + "getter": "get_color_ramp", + "index": -1 + }, + { + "type": "float", + "name": "hue_variation", + "setter": "set_param", + "getter": "get_param", + "index": 9 + }, + { + "type": "float", + "name": "hue_variation_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 9 + }, + { + "type": "Curve", + "name": "hue_variation_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 9 + }, + { + "type": "float", + "name": "anim_speed", + "setter": "set_param", + "getter": "get_param", + "index": 10 + }, + { + "type": "float", + "name": "anim_speed_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 10 + }, + { + "type": "Curve", + "name": "anim_speed_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 10 + }, + { + "type": "float", + "name": "anim_offset", + "setter": "set_param", + "getter": "get_param", + "index": 11 + }, + { + "type": "float", + "name": "anim_offset_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 11 + }, + { + "type": "Curve", + "name": "anim_offset_curve", + "setter": "set_param_curve", + "getter": "get_param_curve", + "index": 11 + } + ] + }, + { + "name": "CSGBox3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "CSGPrimitive3D", + "api_type": "core", + "methods": [ + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector3" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + } + ], + "properties": [ + { + "type": "Vector3", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + }, + { + "type": "BaseMaterial3D,ShaderMaterial", + "name": "material", + "setter": "set_material", + "getter": "get_material", + "index": -1 + } + ] + }, + { + "name": "CSGCombiner3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "CSGShape3D", + "api_type": "core" + }, + { + "name": "CSGCylinder3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "CSGPrimitive3D", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sides", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sides", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_sides", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_cone", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "cone", + "type": "bool" + } + ] + }, + { + "name": "is_cone", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + }, + { + "name": "set_smooth_faces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "smooth_faces", + "type": "bool" + } + ] + }, + { + "name": "get_smooth_faces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + }, + { + "type": "float", + "name": "height", + "setter": "set_height", + "getter": "get_height", + "index": -1 + }, + { + "type": "int", + "name": "sides", + "setter": "set_sides", + "getter": "get_sides", + "index": -1 + }, + { + "type": "bool", + "name": "cone", + "setter": "set_cone", + "getter": "is_cone", + "index": -1 + }, + { + "type": "bool", + "name": "smooth_faces", + "setter": "set_smooth_faces", + "getter": "get_smooth_faces", + "index": -1 + }, + { + "type": "BaseMaterial3D,ShaderMaterial", + "name": "material", + "setter": "set_material", + "getter": "get_material", + "index": -1 + } + ] + }, + { + "name": "CSGMesh3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "CSGPrimitive3D", + "api_type": "core", + "methods": [ + { + "name": "set_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh", + "type": "Mesh" + } + ] + }, + { + "name": "get_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Mesh" + } + }, + { + "name": "set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + } + ], + "properties": [ + { + "type": "Mesh", + "name": "mesh", + "setter": "set_mesh", + "getter": "get_mesh", + "index": -1 + }, + { + "type": "BaseMaterial3D,ShaderMaterial", + "name": "material", + "setter": "set_material", + "getter": "get_material", + "index": -1 + } + ] + }, + { + "name": "CSGPolygon3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "CSGPrimitive3D", + "api_type": "core", + "enums": [ + { + "name": "PathRotation", + "values": [ + { + "name": "PATH_ROTATION_POLYGON", + "value": 0 + }, + { + "name": "PATH_ROTATION_PATH", + "value": 1 + }, + { + "name": "PATH_ROTATION_PATH_FOLLOW", + "value": 2 + } + ] + }, + { + "name": "Mode", + "values": [ + { + "name": "MODE_DEPTH", + "value": 0 + }, + { + "name": "MODE_SPIN", + "value": 1 + }, + { + "name": "MODE_PATH", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "polygon", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_polygon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + }, + { + "name": "set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::CSGPolygon3D.Mode" + } + ] + }, + { + "name": "get_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CSGPolygon3D.Mode" + } + }, + { + "name": "set_depth", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "depth", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_depth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_spin_degrees", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "degrees", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_spin_degrees", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_spin_sides", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "spin_sides", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_spin_sides", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_path_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_path_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_path_interval", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_interval", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_path_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::CSGPolygon3D.PathRotation" + } + ] + }, + { + "name": "get_path_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CSGPolygon3D.PathRotation" + } + }, + { + "name": "set_path_local", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_path_local", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_path_continuous_u", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_path_continuous_u", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_path_joined", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_path_joined", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + }, + { + "name": "set_smooth_faces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "smooth_faces", + "type": "bool" + } + ] + }, + { + "name": "get_smooth_faces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "PackedVector2Array", + "name": "polygon", + "setter": "set_polygon", + "getter": "get_polygon", + "index": -1 + }, + { + "type": "int", + "name": "mode", + "setter": "set_mode", + "getter": "get_mode", + "index": -1 + }, + { + "type": "float", + "name": "depth", + "setter": "set_depth", + "getter": "get_depth", + "index": -1 + }, + { + "type": "float", + "name": "spin_degrees", + "setter": "set_spin_degrees", + "getter": "get_spin_degrees", + "index": -1 + }, + { + "type": "int", + "name": "spin_sides", + "setter": "set_spin_sides", + "getter": "get_spin_sides", + "index": -1 + }, + { + "type": "NodePath", + "name": "path_node", + "setter": "set_path_node", + "getter": "get_path_node", + "index": -1 + }, + { + "type": "float", + "name": "path_interval", + "setter": "set_path_interval", + "getter": "get_path_interval", + "index": -1 + }, + { + "type": "int", + "name": "path_rotation", + "setter": "set_path_rotation", + "getter": "get_path_rotation", + "index": -1 + }, + { + "type": "bool", + "name": "path_local", + "setter": "set_path_local", + "getter": "is_path_local", + "index": -1 + }, + { + "type": "bool", + "name": "path_continuous_u", + "setter": "set_path_continuous_u", + "getter": "is_path_continuous_u", + "index": -1 + }, + { + "type": "bool", + "name": "path_joined", + "setter": "set_path_joined", + "getter": "is_path_joined", + "index": -1 + }, + { + "type": "bool", + "name": "smooth_faces", + "setter": "set_smooth_faces", + "getter": "get_smooth_faces", + "index": -1 + }, + { + "type": "BaseMaterial3D,ShaderMaterial", + "name": "material", + "setter": "set_material", + "getter": "get_material", + "index": -1 + } + ] + }, + { + "name": "CSGPrimitive3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "CSGShape3D", + "api_type": "core", + "methods": [ + { + "name": "set_invert_faces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "invert_faces", + "type": "bool" + } + ] + }, + { + "name": "is_inverting_faces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "invert_faces", + "setter": "set_invert_faces", + "getter": "is_inverting_faces", + "index": -1 + } + ] + }, + { + "name": "CSGShape3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "GeometryInstance3D", + "api_type": "core", + "enums": [ + { + "name": "Operation", + "values": [ + { + "name": "OPERATION_UNION", + "value": 0 + }, + { + "name": "OPERATION_INTERSECTION", + "value": 1 + }, + { + "name": "OPERATION_SUBTRACTION", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "is_root_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_operation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "operation", + "type": "enum::CSGShape3D.Operation" + } + ] + }, + { + "name": "get_operation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CSGShape3D.Operation" + } + }, + { + "name": "set_snap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "snap", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_snap", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_use_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "operation", + "type": "bool" + } + ] + }, + { + "name": "is_using_collision", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_collision_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_layer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_mask_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_mask_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_collision_layer_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_layer_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_calculate_tangents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_calculating_tangents", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_meshes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + } + ], + "properties": [ + { + "type": "int", + "name": "operation", + "setter": "set_operation", + "getter": "get_operation", + "index": -1 + }, + { + "type": "float", + "name": "snap", + "setter": "set_snap", + "getter": "get_snap", + "index": -1 + }, + { + "type": "bool", + "name": "calculate_tangents", + "setter": "set_calculate_tangents", + "getter": "is_calculating_tangents", + "index": -1 + }, + { + "type": "bool", + "name": "use_collision", + "setter": "set_use_collision", + "getter": "is_using_collision", + "index": -1 + }, + { + "type": "int", + "name": "collision_layer", + "setter": "set_collision_layer", + "getter": "get_collision_layer", + "index": -1 + }, + { + "type": "int", + "name": "collision_mask", + "setter": "set_collision_mask", + "getter": "get_collision_mask", + "index": -1 + } + ] + }, + { + "name": "CSGSphere3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "CSGPrimitive3D", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_radial_segments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radial_segments", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_radial_segments", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_rings", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rings", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_rings", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_smooth_faces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "smooth_faces", + "type": "bool" + } + ] + }, + { + "name": "get_smooth_faces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + }, + { + "type": "int", + "name": "radial_segments", + "setter": "set_radial_segments", + "getter": "get_radial_segments", + "index": -1 + }, + { + "type": "int", + "name": "rings", + "setter": "set_rings", + "getter": "get_rings", + "index": -1 + }, + { + "type": "bool", + "name": "smooth_faces", + "setter": "set_smooth_faces", + "getter": "get_smooth_faces", + "index": -1 + }, + { + "type": "BaseMaterial3D,ShaderMaterial", + "name": "material", + "setter": "set_material", + "getter": "get_material", + "index": -1 + } + ] + }, + { + "name": "CSGTorus3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "CSGPrimitive3D", + "api_type": "core", + "methods": [ + { + "name": "set_inner_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_inner_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_outer_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_outer_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sides", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sides", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_sides", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_ring_sides", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sides", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_ring_sides", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + }, + { + "name": "set_smooth_faces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "smooth_faces", + "type": "bool" + } + ] + }, + { + "name": "get_smooth_faces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "float", + "name": "inner_radius", + "setter": "set_inner_radius", + "getter": "get_inner_radius", + "index": -1 + }, + { + "type": "float", + "name": "outer_radius", + "setter": "set_outer_radius", + "getter": "get_outer_radius", + "index": -1 + }, + { + "type": "int", + "name": "sides", + "setter": "set_sides", + "getter": "get_sides", + "index": -1 + }, + { + "type": "int", + "name": "ring_sides", + "setter": "set_ring_sides", + "getter": "get_ring_sides", + "index": -1 + }, + { + "type": "bool", + "name": "smooth_faces", + "setter": "set_smooth_faces", + "getter": "get_smooth_faces", + "index": -1 + }, + { + "type": "BaseMaterial3D,ShaderMaterial", + "name": "material", + "setter": "set_material", + "getter": "get_material", + "index": -1 + } + ] + }, + { + "name": "CallbackTweener", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Tweener", + "api_type": "core", + "methods": [ + { + "name": "set_delay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "CallbackTweener" + }, + "arguments": [ + { + "name": "delay", + "type": "float", + "meta": "float" + } + ] + } + ] + }, + { + "name": "Camera2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "enums": [ + { + "name": "Camera2DProcessCallback", + "values": [ + { + "name": "CAMERA2D_PROCESS_PHYSICS", + "value": 0 + }, + { + "name": "CAMERA2D_PROCESS_IDLE", + "value": 1 + } + ] + }, + { + "name": "AnchorMode", + "values": [ + { + "name": "ANCHOR_MODE_FIXED_TOP_LEFT", + "value": 0 + }, + { + "name": "ANCHOR_MODE_DRAG_CENTER", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_anchor_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "anchor_mode", + "type": "enum::Camera2D.AnchorMode" + } + ] + }, + { + "name": "get_anchor_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Camera2D.AnchorMode" + } + }, + { + "name": "set_rotating", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rotating", + "type": "bool" + } + ] + }, + { + "name": "is_rotating", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_process_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Camera2D.Camera2DProcessCallback" + } + ] + }, + { + "name": "get_process_callback", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Camera2D.Camera2DProcessCallback" + } + }, + { + "name": "set_current", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "current", + "type": "bool" + } + ] + }, + { + "name": "is_current", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_limit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + }, + { + "name": "limit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_limit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + } + ] + }, + { + "name": "set_limit_smoothing_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "limit_smoothing_enabled", + "type": "bool" + } + ] + }, + { + "name": "is_limit_smoothing_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_drag_vertical_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_drag_vertical_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_drag_horizontal_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_drag_horizontal_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_drag_vertical_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_drag_vertical_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_drag_horizontal_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_drag_horizontal_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_drag_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + }, + { + "name": "drag_margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_drag_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + } + ] + }, + { + "name": "get_camera_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_camera_screen_center", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_zoom", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "zoom", + "type": "Vector2" + } + ] + }, + { + "name": "get_zoom", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_custom_viewport", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "viewport", + "type": "Node" + } + ] + }, + { + "name": "get_custom_viewport", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Node" + } + }, + { + "name": "set_follow_smoothing", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "follow_smoothing", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_follow_smoothing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_enable_follow_smoothing", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "follow_smoothing", + "type": "bool" + } + ] + }, + { + "name": "is_follow_smoothing_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "force_update_scroll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "reset_smoothing", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_screen_drawing_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "screen_drawing_enabled", + "type": "bool" + } + ] + }, + { + "name": "is_screen_drawing_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_limit_drawing_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "limit_drawing_enabled", + "type": "bool" + } + ] + }, + { + "name": "is_limit_drawing_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_margin_drawing_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "margin_drawing_enabled", + "type": "bool" + } + ] + }, + { + "name": "is_margin_drawing_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "offset", + "setter": "set_offset", + "getter": "get_offset", + "index": -1 + }, + { + "type": "int", + "name": "anchor_mode", + "setter": "set_anchor_mode", + "getter": "get_anchor_mode", + "index": -1 + }, + { + "type": "bool", + "name": "rotating", + "setter": "set_rotating", + "getter": "is_rotating", + "index": -1 + }, + { + "type": "bool", + "name": "current", + "setter": "set_current", + "getter": "is_current", + "index": -1 + }, + { + "type": "Vector2", + "name": "zoom", + "setter": "set_zoom", + "getter": "get_zoom", + "index": -1 + }, + { + "type": "Viewport", + "name": "custom_viewport", + "setter": "set_custom_viewport", + "getter": "get_custom_viewport", + "index": -1 + }, + { + "type": "int", + "name": "process_callback", + "setter": "set_process_callback", + "getter": "get_process_callback", + "index": -1 + }, + { + "type": "int", + "name": "limit_left", + "setter": "set_limit", + "getter": "get_limit", + "index": 0 + }, + { + "type": "int", + "name": "limit_top", + "setter": "set_limit", + "getter": "get_limit", + "index": 1 + }, + { + "type": "int", + "name": "limit_right", + "setter": "set_limit", + "getter": "get_limit", + "index": 2 + }, + { + "type": "int", + "name": "limit_bottom", + "setter": "set_limit", + "getter": "get_limit", + "index": 3 + }, + { + "type": "bool", + "name": "limit_smoothed", + "setter": "set_limit_smoothing_enabled", + "getter": "is_limit_smoothing_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "smoothing_enabled", + "setter": "set_enable_follow_smoothing", + "getter": "is_follow_smoothing_enabled", + "index": -1 + }, + { + "type": "float", + "name": "smoothing_speed", + "setter": "set_follow_smoothing", + "getter": "get_follow_smoothing", + "index": -1 + }, + { + "type": "bool", + "name": "drag_horizontal_enabled", + "setter": "set_drag_horizontal_enabled", + "getter": "is_drag_horizontal_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "drag_vertical_enabled", + "setter": "set_drag_vertical_enabled", + "getter": "is_drag_vertical_enabled", + "index": -1 + }, + { + "type": "float", + "name": "drag_horizontal_offset", + "setter": "set_drag_horizontal_offset", + "getter": "get_drag_horizontal_offset", + "index": -1 + }, + { + "type": "float", + "name": "drag_vertical_offset", + "setter": "set_drag_vertical_offset", + "getter": "get_drag_vertical_offset", + "index": -1 + }, + { + "type": "float", + "name": "drag_left_margin", + "setter": "set_drag_margin", + "getter": "get_drag_margin", + "index": 0 + }, + { + "type": "float", + "name": "drag_top_margin", + "setter": "set_drag_margin", + "getter": "get_drag_margin", + "index": 1 + }, + { + "type": "float", + "name": "drag_right_margin", + "setter": "set_drag_margin", + "getter": "get_drag_margin", + "index": 2 + }, + { + "type": "float", + "name": "drag_bottom_margin", + "setter": "set_drag_margin", + "getter": "get_drag_margin", + "index": 3 + }, + { + "type": "bool", + "name": "editor_draw_screen", + "setter": "set_screen_drawing_enabled", + "getter": "is_screen_drawing_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "editor_draw_limits", + "setter": "set_limit_drawing_enabled", + "getter": "is_limit_drawing_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "editor_draw_drag_margin", + "setter": "set_margin_drawing_enabled", + "getter": "is_margin_drawing_enabled", + "index": -1 + } + ] + }, + { + "name": "Camera3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "enums": [ + { + "name": "KeepAspect", + "values": [ + { + "name": "KEEP_WIDTH", + "value": 0 + }, + { + "name": "KEEP_HEIGHT", + "value": 1 + } + ] + }, + { + "name": "Projection", + "values": [ + { + "name": "PROJECTION_PERSPECTIVE", + "value": 0 + }, + { + "name": "PROJECTION_ORTHOGONAL", + "value": 1 + }, + { + "name": "PROJECTION_FRUSTUM", + "value": 2 + } + ] + }, + { + "name": "DopplerTracking", + "values": [ + { + "name": "DOPPLER_TRACKING_DISABLED", + "value": 0 + }, + { + "name": "DOPPLER_TRACKING_IDLE_STEP", + "value": 1 + }, + { + "name": "DOPPLER_TRACKING_PHYSICS_STEP", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "project_ray_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "screen_point", + "type": "Vector2" + } + ] + }, + { + "name": "project_local_ray_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "screen_point", + "type": "Vector2" + } + ] + }, + { + "name": "project_ray_origin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "screen_point", + "type": "Vector2" + } + ] + }, + { + "name": "unproject_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "world_point", + "type": "Vector3" + } + ] + }, + { + "name": "is_position_behind", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "world_point", + "type": "Vector3" + } + ] + }, + { + "name": "project_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "screen_point", + "type": "Vector2" + }, + { + "name": "z_depth", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_perspective", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "fov", + "type": "float", + "meta": "float" + }, + { + "name": "z_near", + "type": "float", + "meta": "float" + }, + { + "name": "z_far", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_orthogonal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "size", + "type": "float", + "meta": "float" + }, + { + "name": "z_near", + "type": "float", + "meta": "float" + }, + { + "name": "z_far", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_frustum", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "size", + "type": "float", + "meta": "float" + }, + { + "name": "offset", + "type": "Vector2" + }, + { + "name": "z_near", + "type": "float", + "meta": "float" + }, + { + "name": "z_far", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "make_current", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "clear_current", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133279208, + "arguments": [ + { + "name": "enable_next", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "set_current", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "bool" + } + ] + }, + { + "name": "is_current", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_camera_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "get_fov", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_frustum_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_far", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_near", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fov", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_frustum_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "Vector2" + } + ] + }, + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_far", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_near", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_projection", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Camera3D.Projection" + } + }, + { + "name": "set_projection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "enum::Camera3D.Projection" + } + ] + }, + { + "name": "set_h_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ofs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_h_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_v_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ofs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_v_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_cull_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_environment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "env", + "type": "Environment" + } + ] + }, + { + "name": "get_environment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Environment" + } + }, + { + "name": "set_effects", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "env", + "type": "CameraEffects" + } + ] + }, + { + "name": "get_effects", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "CameraEffects" + } + }, + { + "name": "set_keep_aspect_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Camera3D.KeepAspect" + } + ] + }, + { + "name": "get_keep_aspect_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Camera3D.KeepAspect" + } + }, + { + "name": "set_doppler_tracking", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Camera3D.DopplerTracking" + } + ] + }, + { + "name": "get_doppler_tracking", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Camera3D.DopplerTracking" + } + }, + { + "name": "get_frustum", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "is_position_in_frustum", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "world_point", + "type": "Vector3" + } + ] + }, + { + "name": "get_camera_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_cull_mask_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_cull_mask_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "keep_aspect", + "setter": "set_keep_aspect_mode", + "getter": "get_keep_aspect_mode", + "index": -1 + }, + { + "type": "int", + "name": "cull_mask", + "setter": "set_cull_mask", + "getter": "get_cull_mask", + "index": -1 + }, + { + "type": "Environment", + "name": "environment", + "setter": "set_environment", + "getter": "get_environment", + "index": -1 + }, + { + "type": "CameraEffects", + "name": "effects", + "setter": "set_effects", + "getter": "get_effects", + "index": -1 + }, + { + "type": "float", + "name": "h_offset", + "setter": "set_h_offset", + "getter": "get_h_offset", + "index": -1 + }, + { + "type": "float", + "name": "v_offset", + "setter": "set_v_offset", + "getter": "get_v_offset", + "index": -1 + }, + { + "type": "int", + "name": "doppler_tracking", + "setter": "set_doppler_tracking", + "getter": "get_doppler_tracking", + "index": -1 + }, + { + "type": "int", + "name": "projection", + "setter": "set_projection", + "getter": "get_projection", + "index": -1 + }, + { + "type": "bool", + "name": "current", + "setter": "set_current", + "getter": "is_current", + "index": -1 + }, + { + "type": "float", + "name": "fov", + "setter": "set_fov", + "getter": "get_fov", + "index": -1 + }, + { + "type": "float", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + }, + { + "type": "Vector2", + "name": "frustum_offset", + "setter": "set_frustum_offset", + "getter": "get_frustum_offset", + "index": -1 + }, + { + "type": "float", + "name": "near", + "setter": "set_near", + "getter": "get_near", + "index": -1 + }, + { + "type": "float", + "name": "far", + "setter": "set_far", + "getter": "get_far", + "index": -1 + } + ] + }, + { + "name": "CameraEffects", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_dof_blur_far_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_dof_blur_far_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_dof_blur_far_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_dof_blur_far_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_dof_blur_far_transition", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_dof_blur_far_transition", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_dof_blur_near_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_dof_blur_near_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_dof_blur_near_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_dof_blur_near_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_dof_blur_near_transition", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_dof_blur_near_transition", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_dof_blur_amount", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_dof_blur_amount", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_override_exposure_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_override_exposure_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_override_exposure", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "exposure", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_override_exposure", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "dof_blur_far_enabled", + "setter": "set_dof_blur_far_enabled", + "getter": "is_dof_blur_far_enabled", + "index": -1 + }, + { + "type": "float", + "name": "dof_blur_far_distance", + "setter": "set_dof_blur_far_distance", + "getter": "get_dof_blur_far_distance", + "index": -1 + }, + { + "type": "float", + "name": "dof_blur_far_transition", + "setter": "set_dof_blur_far_transition", + "getter": "get_dof_blur_far_transition", + "index": -1 + }, + { + "type": "bool", + "name": "dof_blur_near_enabled", + "setter": "set_dof_blur_near_enabled", + "getter": "is_dof_blur_near_enabled", + "index": -1 + }, + { + "type": "float", + "name": "dof_blur_near_distance", + "setter": "set_dof_blur_near_distance", + "getter": "get_dof_blur_near_distance", + "index": -1 + }, + { + "type": "float", + "name": "dof_blur_near_transition", + "setter": "set_dof_blur_near_transition", + "getter": "get_dof_blur_near_transition", + "index": -1 + }, + { + "type": "float", + "name": "dof_blur_amount", + "setter": "set_dof_blur_amount", + "getter": "get_dof_blur_amount", + "index": -1 + }, + { + "type": "bool", + "name": "override_exposure_enabled", + "setter": "set_override_exposure_enabled", + "getter": "is_override_exposure_enabled", + "index": -1 + }, + { + "type": "float", + "name": "override_exposure", + "setter": "set_override_exposure", + "getter": "get_override_exposure", + "index": -1 + } + ] + }, + { + "name": "CameraFeed", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core" + }, + { + "name": "CameraServer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "FeedImage", + "values": [ + { + "name": "FEED_RGBA_IMAGE", + "value": 0 + }, + { + "name": "FEED_YCBCR_IMAGE", + "value": 0 + }, + { + "name": "FEED_Y_IMAGE", + "value": 0 + }, + { + "name": "FEED_CBCR_IMAGE", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "get_feed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "CameraFeed" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_feed_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "feeds", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "add_feed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "feed", + "type": "CameraFeed" + } + ] + }, + { + "name": "remove_feed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "feed", + "type": "CameraFeed" + } + ] + } + ], + "signals": [ + { + "name": "camera_feed_removed", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "camera_feed_added", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + } + ] + }, + { + "name": "CameraTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "methods": [ + { + "name": "set_camera_feed_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "feed_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_camera_feed_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_which_feed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "which_feed", + "type": "enum::CameraServer.FeedImage" + } + ] + }, + { + "name": "get_which_feed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CameraServer.FeedImage" + } + }, + { + "name": "set_camera_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "get_camera_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "camera_feed_id", + "setter": "set_camera_feed_id", + "getter": "get_camera_feed_id", + "index": -1 + }, + { + "type": "int", + "name": "which_feed", + "setter": "set_which_feed", + "getter": "get_which_feed", + "index": -1 + }, + { + "type": "bool", + "name": "camera_is_active", + "setter": "set_camera_active", + "getter": "get_camera_active", + "index": -1 + } + ] + }, + { + "name": "CanvasGroup", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_fit_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fit_margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fit_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_clear_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "clear_margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_clear_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_use_mipmaps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "use_mipmaps", + "type": "bool" + } + ] + }, + { + "name": "is_using_mipmaps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "float", + "name": "fit_margin", + "setter": "set_fit_margin", + "getter": "get_fit_margin", + "index": -1 + }, + { + "type": "float", + "name": "clear_margin", + "setter": "set_clear_margin", + "getter": "get_clear_margin", + "index": -1 + }, + { + "type": "bool", + "name": "use_mipmaps", + "setter": "set_use_mipmaps", + "getter": "is_using_mipmaps", + "index": -1 + } + ] + }, + { + "name": "CanvasItem", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node", + "api_type": "core", + "constants": [ + { + "name": "NOTIFICATION_TRANSFORM_CHANGED", + "value": 2000 + }, + { + "name": "NOTIFICATION_DRAW", + "value": 30 + }, + { + "name": "NOTIFICATION_VISIBILITY_CHANGED", + "value": 31 + }, + { + "name": "NOTIFICATION_ENTER_CANVAS", + "value": 32 + }, + { + "name": "NOTIFICATION_EXIT_CANVAS", + "value": 33 + } + ], + "enums": [ + { + "name": "TextureFilter", + "values": [ + { + "name": "TEXTURE_FILTER_PARENT_NODE", + "value": 0 + }, + { + "name": "TEXTURE_FILTER_NEAREST", + "value": 1 + }, + { + "name": "TEXTURE_FILTER_LINEAR", + "value": 2 + }, + { + "name": "TEXTURE_FILTER_NEAREST_WITH_MIPMAPS", + "value": 3 + }, + { + "name": "TEXTURE_FILTER_LINEAR_WITH_MIPMAPS", + "value": 4 + }, + { + "name": "TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC", + "value": 5 + }, + { + "name": "TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC", + "value": 6 + }, + { + "name": "TEXTURE_FILTER_MAX", + "value": 7 + } + ] + }, + { + "name": "TextureRepeat", + "values": [ + { + "name": "TEXTURE_REPEAT_PARENT_NODE", + "value": 0 + }, + { + "name": "TEXTURE_REPEAT_DISABLED", + "value": 1 + }, + { + "name": "TEXTURE_REPEAT_ENABLED", + "value": 2 + }, + { + "name": "TEXTURE_REPEAT_MIRROR", + "value": 3 + }, + { + "name": "TEXTURE_REPEAT_MAX", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "_draw", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "get_canvas_item", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "visible", + "type": "bool" + } + ] + }, + { + "name": "is_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_visible_in_tree", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "show", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "hide", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_as_top_level", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_set_as_top_level", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_light_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "light_mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_light_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_modulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "modulate", + "type": "Color" + } + ] + }, + { + "name": "get_modulate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_self_modulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "self_modulate", + "type": "Color" + } + ] + }, + { + "name": "get_self_modulate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_draw_behind_parent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_draw_behind_parent_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "draw_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "from", + "type": "Vector2" + }, + { + "name": "to", + "type": "Vector2" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "draw_polyline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "points", + "type": "PackedVector2Array" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "1.0" + }, + { + "name": "antialiased", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "draw_polyline_colors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "points", + "type": "PackedVector2Array" + }, + { + "name": "colors", + "type": "PackedColorArray" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "1.0" + }, + { + "name": "antialiased", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "draw_arc", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 378344303, + "arguments": [ + { + "name": "center", + "type": "Vector2" + }, + { + "name": "radius", + "type": "float", + "meta": "float" + }, + { + "name": "start_angle", + "type": "float", + "meta": "float" + }, + { + "name": "end_angle", + "type": "float", + "meta": "float" + }, + { + "name": "point_count", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "1.0" + }, + { + "name": "antialiased", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "draw_multiline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "points", + "type": "PackedVector2Array" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "draw_multiline_colors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "points", + "type": "PackedVector2Array" + }, + { + "name": "colors", + "type": "PackedColorArray" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "draw_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "filled", + "type": "bool", + "default_value": "true" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "draw_circle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "radius", + "type": "float", + "meta": "float" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "draw_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + }, + { + "name": "position", + "type": "Vector2" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "draw_texture_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 260938124, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + }, + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "tile", + "type": "bool" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "transpose", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "draw_texture_rect_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1351626862, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + }, + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "src_rect", + "type": "Rect2" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "transpose", + "type": "bool", + "default_value": "false" + }, + { + "name": "clip_uv", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "draw_style_box", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "style_box", + "type": "StyleBox" + }, + { + "name": "rect", + "type": "Rect2" + } + ] + }, + { + "name": "draw_primitive", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 260938124, + "arguments": [ + { + "name": "points", + "type": "PackedVector2Array" + }, + { + "name": "colors", + "type": "PackedColorArray" + }, + { + "name": "uvs", + "type": "PackedVector2Array" + }, + { + "name": "texture", + "type": "Texture2D", + "default_value": "null" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "draw_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "points", + "type": "PackedVector2Array" + }, + { + "name": "colors", + "type": "PackedColorArray" + }, + { + "name": "uvs", + "type": "PackedVector2Array", + "default_value": "PackedVector2Array()" + }, + { + "name": "texture", + "type": "Texture2D", + "default_value": "null" + } + ] + }, + { + "name": "draw_colored_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "points", + "type": "PackedVector2Array" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "uvs", + "type": "PackedVector2Array", + "default_value": "PackedVector2Array()" + }, + { + "name": "texture", + "type": "Texture2D", + "default_value": "null" + } + ] + }, + { + "name": "draw_string", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 4097940366, + "arguments": [ + { + "name": "font", + "type": "Font" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "text", + "type": "String" + }, + { + "name": "align", + "type": "enum::HAlign", + "default_value": "0" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "outline_modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 0)" + }, + { + "name": "flags", + "type": "int", + "meta": "uint8", + "default_value": "3" + } + ] + }, + { + "name": "draw_multiline_string", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 4189496399, + "arguments": [ + { + "name": "font", + "type": "Font" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "text", + "type": "String" + }, + { + "name": "align", + "type": "enum::HAlign", + "default_value": "0" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "max_lines", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "outline_modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 0)" + }, + { + "name": "flags", + "type": "int", + "meta": "uint8", + "default_value": "51" + } + ] + }, + { + "name": "draw_char", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 2255212440, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "font", + "type": "Font" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "char", + "type": "String" + }, + { + "name": "next", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "outline_modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 0)" + } + ] + }, + { + "name": "draw_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "mesh", + "type": "Mesh" + }, + { + "name": "texture", + "type": "Texture2D" + }, + { + "name": "transform", + "type": "Transform2D", + "default_value": "Transform2D(1, 0, 0, 1, 0, 0)" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "draw_multimesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "multimesh", + "type": "MultiMesh" + }, + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "draw_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2793927834, + "arguments": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "rotation", + "type": "float", + "meta": "float", + "default_value": "0.0" + }, + { + "name": "scale", + "type": "Vector2", + "default_value": "Vector2(1, 1)" + } + ] + }, + { + "name": "draw_set_transform_matrix", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "xform", + "type": "Transform2D" + } + ] + }, + { + "name": "draw_animation_slice", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "animation_length", + "type": "float", + "meta": "double" + }, + { + "name": "slice_begin", + "type": "float", + "meta": "double" + }, + { + "name": "slice_end", + "type": "float", + "meta": "double" + }, + { + "name": "offset", + "type": "float", + "meta": "double", + "default_value": "0.0" + } + ] + }, + { + "name": "draw_end_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "get_global_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "get_global_transform_with_canvas", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "get_viewport_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "get_viewport_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "get_canvas_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "get_local_mouse_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_global_mouse_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_canvas", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_world_2d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "World2D" + } + }, + { + "name": "set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + }, + { + "name": "set_use_parent_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_use_parent_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_notify_local_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_local_transform_notification_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_notify_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_transform_notification_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "force_update_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "make_canvas_position_local", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "screen_point", + "type": "Vector2" + } + ] + }, + { + "name": "make_input_local", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "InputEvent" + }, + "arguments": [ + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "set_texture_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::CanvasItem.TextureFilter" + } + ] + }, + { + "name": "get_texture_filter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CanvasItem.TextureFilter" + } + }, + { + "name": "set_texture_repeat", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::CanvasItem.TextureRepeat" + } + ] + }, + { + "name": "get_texture_repeat", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CanvasItem.TextureRepeat" + } + }, + { + "name": "set_clip_children", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_clipping_children", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "hidden" + }, + { + "name": "item_rect_changed" + }, + { + "name": "draw" + }, + { + "name": "visibility_changed" + } + ], + "properties": [ + { + "type": "bool", + "name": "visible", + "setter": "set_visible", + "getter": "is_visible", + "index": -1 + }, + { + "type": "Color", + "name": "modulate", + "setter": "set_modulate", + "getter": "get_modulate", + "index": -1 + }, + { + "type": "Color", + "name": "self_modulate", + "setter": "set_self_modulate", + "getter": "get_self_modulate", + "index": -1 + }, + { + "type": "bool", + "name": "show_behind_parent", + "setter": "set_draw_behind_parent", + "getter": "is_draw_behind_parent_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "top_level", + "setter": "set_as_top_level", + "getter": "is_set_as_top_level", + "index": -1 + }, + { + "type": "bool", + "name": "show_on_top", + "setter": "_set_on_top", + "getter": "_is_on_top", + "index": -1 + }, + { + "type": "bool", + "name": "clip_children", + "setter": "set_clip_children", + "getter": "is_clipping_children", + "index": -1 + }, + { + "type": "int", + "name": "light_mask", + "setter": "set_light_mask", + "getter": "get_light_mask", + "index": -1 + }, + { + "type": "int", + "name": "texture_filter", + "setter": "set_texture_filter", + "getter": "get_texture_filter", + "index": -1 + }, + { + "type": "int", + "name": "texture_repeat", + "setter": "set_texture_repeat", + "getter": "get_texture_repeat", + "index": -1 + }, + { + "type": "CanvasItemMaterial,ShaderMaterial", + "name": "material", + "setter": "set_material", + "getter": "get_material", + "index": -1 + }, + { + "type": "bool", + "name": "use_parent_material", + "setter": "set_use_parent_material", + "getter": "get_use_parent_material", + "index": -1 + } + ] + }, + { + "name": "CanvasItemMaterial", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Material", + "api_type": "core", + "enums": [ + { + "name": "LightMode", + "values": [ + { + "name": "LIGHT_MODE_NORMAL", + "value": 0 + }, + { + "name": "LIGHT_MODE_UNSHADED", + "value": 1 + }, + { + "name": "LIGHT_MODE_LIGHT_ONLY", + "value": 2 + } + ] + }, + { + "name": "BlendMode", + "values": [ + { + "name": "BLEND_MODE_MIX", + "value": 0 + }, + { + "name": "BLEND_MODE_ADD", + "value": 1 + }, + { + "name": "BLEND_MODE_SUB", + "value": 2 + }, + { + "name": "BLEND_MODE_MUL", + "value": 3 + }, + { + "name": "BLEND_MODE_PREMULT_ALPHA", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "set_blend_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "blend_mode", + "type": "enum::CanvasItemMaterial.BlendMode" + } + ] + }, + { + "name": "get_blend_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CanvasItemMaterial.BlendMode" + } + }, + { + "name": "set_light_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "light_mode", + "type": "enum::CanvasItemMaterial.LightMode" + } + ] + }, + { + "name": "get_light_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CanvasItemMaterial.LightMode" + } + }, + { + "name": "set_particles_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "particles_anim", + "type": "bool" + } + ] + }, + { + "name": "get_particles_animation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_particles_anim_h_frames", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "frames", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_particles_anim_h_frames", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_particles_anim_v_frames", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "frames", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_particles_anim_v_frames", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_particles_anim_loop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "loop", + "type": "bool" + } + ] + }, + { + "name": "get_particles_anim_loop", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "blend_mode", + "setter": "set_blend_mode", + "getter": "get_blend_mode", + "index": -1 + }, + { + "type": "int", + "name": "light_mode", + "setter": "set_light_mode", + "getter": "get_light_mode", + "index": -1 + }, + { + "type": "bool", + "name": "particles_animation", + "setter": "set_particles_animation", + "getter": "get_particles_animation", + "index": -1 + }, + { + "type": "int", + "name": "particles_anim_h_frames", + "setter": "set_particles_anim_h_frames", + "getter": "get_particles_anim_h_frames", + "index": -1 + }, + { + "type": "int", + "name": "particles_anim_v_frames", + "setter": "set_particles_anim_v_frames", + "getter": "get_particles_anim_v_frames", + "index": -1 + }, + { + "type": "bool", + "name": "particles_anim_loop", + "setter": "set_particles_anim_loop", + "getter": "get_particles_anim_loop", + "index": -1 + } + ] + }, + { + "name": "CanvasLayer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core", + "methods": [ + { + "name": "set_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_layer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "set_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radians", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "Vector2" + } + ] + }, + { + "name": "get_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_follow_viewport", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_following_viewport", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_follow_viewport_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_follow_viewport_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_custom_viewport", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "viewport", + "type": "Node" + } + ] + }, + { + "name": "get_custom_viewport", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Node" + } + }, + { + "name": "get_canvas", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + } + ], + "properties": [ + { + "type": "int", + "name": "layer", + "setter": "set_layer", + "getter": "get_layer", + "index": -1 + }, + { + "type": "Vector2", + "name": "offset", + "setter": "set_offset", + "getter": "get_offset", + "index": -1 + }, + { + "type": "float", + "name": "rotation", + "setter": "set_rotation", + "getter": "get_rotation", + "index": -1 + }, + { + "type": "Vector2", + "name": "scale", + "setter": "set_scale", + "getter": "get_scale", + "index": -1 + }, + { + "type": "Transform2D", + "name": "transform", + "setter": "set_transform", + "getter": "get_transform", + "index": -1 + }, + { + "type": "Viewport", + "name": "custom_viewport", + "setter": "set_custom_viewport", + "getter": "get_custom_viewport", + "index": -1 + }, + { + "type": "bool", + "name": "follow_viewport_enable", + "setter": "set_follow_viewport", + "getter": "is_following_viewport", + "index": -1 + }, + { + "type": "float", + "name": "follow_viewport_scale", + "setter": "set_follow_viewport_scale", + "getter": "get_follow_viewport_scale", + "index": -1 + } + ] + }, + { + "name": "CanvasModulate", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + } + ], + "properties": [ + { + "type": "Color", + "name": "color", + "setter": "set_color", + "getter": "get_color", + "index": -1 + } + ] + }, + { + "name": "CanvasTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "methods": [ + { + "name": "set_diffuse_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_diffuse_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_normal_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_normal_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_specular_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_specular_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_specular_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_specular_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_specular_shininess", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shininess", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_specular_shininess", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_texture_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filter", + "type": "enum::CanvasItem.TextureFilter" + } + ] + }, + { + "name": "get_texture_filter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CanvasItem.TextureFilter" + } + }, + { + "name": "set_texture_repeat", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "repeat", + "type": "enum::CanvasItem.TextureRepeat" + } + ] + }, + { + "name": "get_texture_repeat", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CanvasItem.TextureRepeat" + } + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "diffuse_texture", + "setter": "set_diffuse_texture", + "getter": "get_diffuse_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "normal_texture", + "setter": "set_normal_texture", + "getter": "get_normal_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "specular_texture", + "setter": "set_specular_texture", + "getter": "get_specular_texture", + "index": -1 + }, + { + "type": "Color", + "name": "specular_color", + "setter": "set_specular_color", + "getter": "get_specular_color", + "index": -1 + }, + { + "type": "float", + "name": "specular_shininess", + "setter": "set_specular_shininess", + "getter": "get_specular_shininess", + "index": -1 + }, + { + "type": "int", + "name": "texture_filter", + "setter": "set_texture_filter", + "getter": "get_texture_filter", + "index": -1 + }, + { + "type": "int", + "name": "texture_repeat", + "setter": "set_texture_repeat", + "getter": "get_texture_repeat", + "index": -1 + } + ] + }, + { + "name": "CapsuleMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PrimitiveMesh", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_mid_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mid_height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mid_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_radial_segments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "segments", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_radial_segments", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_rings", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rings", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_rings", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + }, + { + "type": "float", + "name": "mid_height", + "setter": "set_mid_height", + "getter": "get_mid_height", + "index": -1 + }, + { + "type": "int", + "name": "radial_segments", + "setter": "set_radial_segments", + "getter": "get_radial_segments", + "index": -1 + }, + { + "type": "int", + "name": "rings", + "setter": "set_rings", + "getter": "get_rings", + "index": -1 + } + ] + }, + { + "name": "CapsuleShape2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape2D", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + }, + { + "type": "float", + "name": "height", + "setter": "set_height", + "getter": "get_height", + "index": -1 + } + ] + }, + { + "name": "CapsuleShape3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape3D", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + }, + { + "type": "float", + "name": "height", + "setter": "set_height", + "getter": "get_height", + "index": -1 + } + ] + }, + { + "name": "CenterContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Container", + "api_type": "core", + "methods": [ + { + "name": "set_use_top_left", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_top_left", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "use_top_left", + "setter": "set_use_top_left", + "getter": "is_using_top_left", + "index": -1 + } + ] + }, + { + "name": "CharFXTransform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "get_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "range", + "type": "Vector2i" + } + ] + }, + { + "name": "get_elapsed_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_elapsed_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "time", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "is_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_visibility", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "visibility", + "type": "bool" + } + ] + }, + { + "name": "is_outline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_outline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "outline", + "type": "bool" + } + ] + }, + { + "name": "get_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_environment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "set_environment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "environment", + "type": "Dictionary" + } + ] + }, + { + "name": "get_glyph_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_glyph_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "glyph_index", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_font", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_font", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + } + ], + "properties": [ + { + "type": "Vector2i", + "name": "range", + "setter": "set_range", + "getter": "get_range", + "index": -1 + }, + { + "type": "float", + "name": "elapsed_time", + "setter": "set_elapsed_time", + "getter": "get_elapsed_time", + "index": -1 + }, + { + "type": "bool", + "name": "visible", + "setter": "set_visibility", + "getter": "is_visible", + "index": -1 + }, + { + "type": "bool", + "name": "outline", + "setter": "set_outline", + "getter": "is_outline", + "index": -1 + }, + { + "type": "Vector2", + "name": "offset", + "setter": "set_offset", + "getter": "get_offset", + "index": -1 + }, + { + "type": "Color", + "name": "color", + "setter": "set_color", + "getter": "get_color", + "index": -1 + }, + { + "type": "Dictionary", + "name": "env", + "setter": "set_environment", + "getter": "get_environment", + "index": -1 + }, + { + "type": "int", + "name": "glyph_index", + "setter": "set_glyph_index", + "getter": "get_glyph_index", + "index": -1 + }, + { + "type": "RID", + "name": "font", + "setter": "set_font", + "getter": "get_font", + "index": -1 + } + ] + }, + { + "name": "CharacterBody2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "PhysicsBody2D", + "api_type": "core", + "methods": [ + { + "name": "move_and_slide", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_linear_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "linear_velocity", + "type": "Vector2" + } + ] + }, + { + "name": "get_linear_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_safe_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pixels", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_safe_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "is_stop_on_slope_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_stop_on_slope_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_infinite_inertia_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_infinite_inertia_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_max_slides", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_max_slides", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_slides", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_floor_max_angle", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_floor_max_angle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radians", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_snap", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_snap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "snap", + "type": "Vector2" + } + ] + }, + { + "name": "get_up_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_up_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "up_direction", + "type": "Vector2" + } + ] + }, + { + "name": "is_on_floor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_on_ceiling", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_on_wall", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_floor_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_floor_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_slide_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_slide_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "KinematicCollision2D" + }, + "arguments": [ + { + "name": "slide_idx", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "Vector2", + "name": "linear_velocity", + "setter": "set_linear_velocity", + "getter": "get_linear_velocity", + "index": -1 + }, + { + "type": "bool", + "name": "stop_on_slope", + "setter": "set_stop_on_slope_enabled", + "getter": "is_stop_on_slope_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "infinite_inertia", + "setter": "set_infinite_inertia_enabled", + "getter": "is_infinite_inertia_enabled", + "index": -1 + }, + { + "type": "int", + "name": "max_slides", + "setter": "set_max_slides", + "getter": "get_max_slides", + "index": -1 + }, + { + "type": "float", + "name": "floor_max_angle", + "setter": "set_floor_max_angle", + "getter": "get_floor_max_angle", + "index": -1 + }, + { + "type": "Vector2", + "name": "snap", + "setter": "set_snap", + "getter": "get_snap", + "index": -1 + }, + { + "type": "Vector2", + "name": "up_direction", + "setter": "set_up_direction", + "getter": "get_up_direction", + "index": -1 + }, + { + "type": "float", + "name": "collision/safe_margin", + "setter": "set_safe_margin", + "getter": "get_safe_margin", + "index": -1 + } + ] + }, + { + "name": "CharacterBody3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "PhysicsBody3D", + "api_type": "core", + "methods": [ + { + "name": "move_and_slide", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_linear_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "linear_velocity", + "type": "Vector3" + } + ] + }, + { + "name": "get_linear_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_safe_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pixels", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_safe_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "is_stop_on_slope_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_stop_on_slope_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_infinite_inertia_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_infinite_inertia_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_max_slides", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_max_slides", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_slides", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_floor_max_angle", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_floor_max_angle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radians", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_snap", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_snap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "snap", + "type": "Vector3" + } + ] + }, + { + "name": "get_up_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_up_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "up_direction", + "type": "Vector3" + } + ] + }, + { + "name": "is_on_floor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_on_ceiling", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_on_wall", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_floor_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_floor_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_slide_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_slide_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "KinematicCollision3D" + }, + "arguments": [ + { + "name": "slide_idx", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "Vector3", + "name": "linear_velocity", + "setter": "set_linear_velocity", + "getter": "get_linear_velocity", + "index": -1 + }, + { + "type": "bool", + "name": "stop_on_slope", + "setter": "set_stop_on_slope_enabled", + "getter": "is_stop_on_slope_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "infinite_inertia", + "setter": "set_infinite_inertia_enabled", + "getter": "is_infinite_inertia_enabled", + "index": -1 + }, + { + "type": "int", + "name": "max_slides", + "setter": "set_max_slides", + "getter": "get_max_slides", + "index": -1 + }, + { + "type": "float", + "name": "floor_max_angle", + "setter": "set_floor_max_angle", + "getter": "get_floor_max_angle", + "index": -1 + }, + { + "type": "Vector3", + "name": "snap", + "setter": "set_snap", + "getter": "get_snap", + "index": -1 + }, + { + "type": "Vector3", + "name": "up_direction", + "setter": "set_up_direction", + "getter": "get_up_direction", + "index": -1 + }, + { + "type": "float", + "name": "collision/safe_margin", + "setter": "set_safe_margin", + "getter": "get_safe_margin", + "index": -1 + } + ] + }, + { + "name": "CheckBox", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Button", + "api_type": "core" + }, + { + "name": "CheckButton", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Button", + "api_type": "core" + }, + { + "name": "CircleShape2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape2D", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + } + ] + }, + { + "name": "ClippedCamera3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Camera3D", + "api_type": "core", + "enums": [ + { + "name": "ClipProcessCallback", + "values": [ + { + "name": "CLIP_PROCESS_PHYSICS", + "value": 0 + }, + { + "name": "CLIP_PROCESS_IDLE", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_process_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "process_callback", + "type": "enum::ClippedCamera3D.ClipProcessCallback" + } + ] + }, + { + "name": "get_process_callback", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::ClippedCamera3D.ClipProcessCallback" + } + }, + { + "name": "set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_mask_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_mask_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_exception_rid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "add_exception", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Object" + } + ] + }, + { + "name": "remove_exception_rid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "remove_exception", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Object" + } + ] + }, + { + "name": "set_clip_to_areas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_clip_to_areas_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_clip_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_clip_to_bodies", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_clip_to_bodies_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "clear_exceptions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "properties": [ + { + "type": "float", + "name": "margin", + "setter": "set_margin", + "getter": "get_margin", + "index": -1 + }, + { + "type": "int", + "name": "process_callback", + "setter": "set_process_callback", + "getter": "get_process_callback", + "index": -1 + }, + { + "type": "int", + "name": "collision_mask", + "setter": "set_collision_mask", + "getter": "get_collision_mask", + "index": -1 + }, + { + "type": "bool", + "name": "clip_to_areas", + "setter": "set_clip_to_areas", + "getter": "is_clip_to_areas_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "clip_to_bodies", + "setter": "set_clip_to_bodies", + "getter": "is_clip_to_bodies_enabled", + "index": -1 + } + ] + }, + { + "name": "CodeEdit", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "TextEdit", + "api_type": "core", + "enums": [ + { + "name": "CodeCompletionKind", + "values": [ + { + "name": "KIND_CLASS", + "value": 0 + }, + { + "name": "KIND_FUNCTION", + "value": 1 + }, + { + "name": "KIND_SIGNAL", + "value": 2 + }, + { + "name": "KIND_VARIABLE", + "value": 3 + }, + { + "name": "KIND_MEMBER", + "value": 4 + }, + { + "name": "KIND_ENUM", + "value": 5 + }, + { + "name": "KIND_CONSTANT", + "value": 6 + }, + { + "name": "KIND_NODE_PATH", + "value": 7 + }, + { + "name": "KIND_FILE_PATH", + "value": 8 + }, + { + "name": "KIND_PLAIN_TEXT", + "value": 9 + } + ] + } + ], + "methods": [ + { + "name": "_confirm_code_completion", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "replace", + "type": "bool" + } + ] + }, + { + "name": "_request_code_completion", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "force", + "type": "bool" + } + ] + }, + { + "name": "_filter_code_completion_candidates", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "candidates", + "type": "Array" + } + ] + }, + { + "name": "set_indent_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_indent_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_indent_using_spaces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "use_spaces", + "type": "bool" + } + ] + }, + { + "name": "is_indent_using_spaces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_auto_indent_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_auto_indent_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_auto_indent_prefixes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "prefixes", + "type": "Array" + } + ] + }, + { + "name": "get_auto_indent_prefixes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "do_indent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "do_unindent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "indent_lines", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "unindent_lines", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_auto_brace_completion_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_auto_brace_completion_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_highlight_matching_braces_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_highlight_matching_braces_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "add_auto_brace_completion_pair", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "start_key", + "type": "String" + }, + { + "name": "end_key", + "type": "String" + } + ] + }, + { + "name": "set_auto_brace_completion_pairs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pairs", + "type": "Dictionary" + } + ] + }, + { + "name": "get_auto_brace_completion_pairs", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "has_auto_brace_completion_open_key", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "open_key", + "type": "String" + } + ] + }, + { + "name": "has_auto_brace_completion_close_key", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "close_key", + "type": "String" + } + ] + }, + { + "name": "get_auto_brace_completion_close_key", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "open_key", + "type": "String" + } + ] + }, + { + "name": "set_draw_breakpoints_gutter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_drawing_breakpoints_gutter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_draw_bookmarks_gutter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_drawing_bookmarks_gutter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_draw_executing_lines_gutter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_drawing_executing_lines_gutter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_line_as_breakpoint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "breakpointed", + "type": "bool" + } + ] + }, + { + "name": "is_line_breakpointed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_breakpointed_lines", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_breakpointed_lines", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_line_as_bookmarked", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "bookmarked", + "type": "bool" + } + ] + }, + { + "name": "is_line_bookmarked", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_bookmarked_lines", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_bookmarked_lines", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_line_as_executing", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "executing", + "type": "bool" + } + ] + }, + { + "name": "is_line_executing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_executing_lines", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_executing_lines", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_draw_line_numbers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_draw_line_numbers_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_line_numbers_zero_padded", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_line_numbers_zero_padded", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_draw_fold_gutter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_drawing_fold_gutter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_line_folding_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_line_folding_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "can_fold_line", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "fold_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "unfold_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "fold_all_lines", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "unfold_all_lines", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "toggle_foldable_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_line_folded", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_folded_lines", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "add_string_delimiter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "start_key", + "type": "String" + }, + { + "name": "end_key", + "type": "String" + }, + { + "name": "line_only", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "remove_string_delimiter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "start_key", + "type": "String" + } + ] + }, + { + "name": "has_string_delimiter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "start_key", + "type": "String" + } + ] + }, + { + "name": "set_string_delimiters", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "string_delimiters", + "type": "Array" + } + ] + }, + { + "name": "clear_string_delimiters", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_string_delimiters", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "is_in_string", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "column", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "add_comment_delimiter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "start_key", + "type": "String" + }, + { + "name": "end_key", + "type": "String" + }, + { + "name": "line_only", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "remove_comment_delimiter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "start_key", + "type": "String" + } + ] + }, + { + "name": "has_comment_delimiter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "start_key", + "type": "String" + } + ] + }, + { + "name": "set_comment_delimiters", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "comment_delimiters", + "type": "Array" + } + ] + }, + { + "name": "clear_comment_delimiters", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_comment_delimiters", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "is_in_comment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "column", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_delimiter_start_key", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "delimiter_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_delimiter_end_key", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "delimiter_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_delimiter_start_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_delimiter_end_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_code_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "code_hint", + "type": "String" + } + ] + }, + { + "name": "set_code_hint_draw_below", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "draw_below", + "type": "bool" + } + ] + }, + { + "name": "get_text_for_code_completion", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "request_code_completion", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "force", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "add_code_completion_option", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1351626862, + "arguments": [ + { + "name": "type", + "type": "enum::CodeEdit.CodeCompletionKind" + }, + { + "name": "display_text", + "type": "String" + }, + { + "name": "insert_text", + "type": "String" + }, + { + "name": "text_color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "icon", + "type": "Resource", + "default_value": "null" + }, + { + "name": "value", + "type": "Variant", + "default_value": "0" + } + ] + }, + { + "name": "update_code_completion_options", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "force", + "type": "bool" + } + ] + }, + { + "name": "get_code_completion_options", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_code_completion_option", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_code_completion_selected_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_code_completion_selected_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "confirm_code_completion", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "replace", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "cancel_code_completion", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_code_completion_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_code_completion_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_code_completion_prefixes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "prefixes", + "type": "Array" + } + ] + }, + { + "name": "get_code_comletion_prefixes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_line_length_guidelines", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "guideline_columns", + "type": "Array" + } + ] + }, + { + "name": "get_line_length_guidelines", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_symbol_lookup_on_click_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_symbol_lookup_on_click_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_text_for_symbol_lookup", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "set_symbol_lookup_word_as_valid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "valid", + "type": "bool" + } + ] + } + ], + "signals": [ + { + "name": "request_code_completion" + }, + { + "name": "breakpoint_toggled", + "arguments": [ + { + "name": "line", + "type": "int" + } + ] + }, + { + "name": "symbol_validate", + "arguments": [ + { + "name": "symbol", + "type": "String" + } + ] + }, + { + "name": "symbol_lookup", + "arguments": [ + { + "name": "symbol", + "type": "String" + }, + { + "name": "line", + "type": "int" + }, + { + "name": "column", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "symbol_lookup_on_click", + "setter": "set_symbol_lookup_on_click_enabled", + "getter": "is_symbol_lookup_on_click_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "line_folding", + "setter": "set_line_folding_enabled", + "getter": "is_line_folding_enabled", + "index": -1 + }, + { + "type": "PackedInt32Array", + "name": "line_length_guidelines", + "setter": "set_line_length_guidelines", + "getter": "get_line_length_guidelines", + "index": -1 + }, + { + "type": "bool", + "name": "gutters_draw_breakpoints_gutter", + "setter": "set_draw_breakpoints_gutter", + "getter": "is_drawing_breakpoints_gutter", + "index": -1 + }, + { + "type": "bool", + "name": "gutters_draw_bookmarks", + "setter": "set_draw_bookmarks_gutter", + "getter": "is_drawing_bookmarks_gutter", + "index": -1 + }, + { + "type": "bool", + "name": "gutters_draw_executing_lines", + "setter": "set_draw_executing_lines_gutter", + "getter": "is_drawing_executing_lines_gutter", + "index": -1 + }, + { + "type": "bool", + "name": "gutters_draw_line_numbers", + "setter": "set_draw_line_numbers", + "getter": "is_draw_line_numbers_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "gutters_zero_pad_line_numbers", + "setter": "set_line_numbers_zero_padded", + "getter": "is_line_numbers_zero_padded", + "index": -1 + }, + { + "type": "bool", + "name": "gutters_draw_fold_gutter", + "setter": "set_draw_fold_gutter", + "getter": "is_drawing_fold_gutter", + "index": -1 + }, + { + "type": "PackedStringArray", + "name": "delimiter_strings", + "setter": "set_string_delimiters", + "getter": "get_string_delimiters", + "index": -1 + }, + { + "type": "PackedStringArray", + "name": "delimiter_comments", + "setter": "set_comment_delimiters", + "getter": "get_comment_delimiters", + "index": -1 + }, + { + "type": "bool", + "name": "code_completion_enabled", + "setter": "set_code_completion_enabled", + "getter": "is_code_completion_enabled", + "index": -1 + }, + { + "type": "PackedStringArray", + "name": "code_completion_prefixes", + "setter": "set_code_completion_prefixes", + "getter": "get_code_comletion_prefixes", + "index": -1 + }, + { + "type": "int", + "name": "indent_size", + "setter": "set_indent_size", + "getter": "get_indent_size", + "index": -1 + }, + { + "type": "bool", + "name": "indent_use_spaces", + "setter": "set_indent_using_spaces", + "getter": "is_indent_using_spaces", + "index": -1 + }, + { + "type": "bool", + "name": "indent_automatic", + "setter": "set_auto_indent_enabled", + "getter": "is_auto_indent_enabled", + "index": -1 + }, + { + "type": "PackedStringArray", + "name": "indent_automatic_prefixes", + "setter": "set_auto_indent_prefixes", + "getter": "get_auto_indent_prefixes", + "index": -1 + }, + { + "type": "bool", + "name": "auto_brace_completion_enabled", + "setter": "set_auto_brace_completion_enabled", + "getter": "is_auto_brace_completion_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "auto_brace_completion_highlight_matching", + "setter": "set_highlight_matching_braces_enabled", + "getter": "is_highlight_matching_braces_enabled", + "index": -1 + }, + { + "type": "Dictionary", + "name": "auto_brace_completion_pairs", + "setter": "set_auto_brace_completion_pairs", + "getter": "get_auto_brace_completion_pairs", + "index": -1 + } + ] + }, + { + "name": "CodeHighlighter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "SyntaxHighlighter", + "api_type": "core", + "methods": [ + { + "name": "add_keyword_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "keyword", + "type": "String" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "remove_keyword_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "keyword", + "type": "String" + } + ] + }, + { + "name": "has_keyword_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "keyword", + "type": "String" + } + ] + }, + { + "name": "get_keyword_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "keyword", + "type": "String" + } + ] + }, + { + "name": "set_keyword_colors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "keywords", + "type": "Dictionary" + } + ] + }, + { + "name": "clear_keyword_colors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_keyword_colors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "add_member_keyword_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "member_keyword", + "type": "String" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "remove_member_keyword_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "member_keyword", + "type": "String" + } + ] + }, + { + "name": "has_member_keyword_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "member_keyword", + "type": "String" + } + ] + }, + { + "name": "get_member_keyword_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "member_keyword", + "type": "String" + } + ] + }, + { + "name": "set_member_keyword_colors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "member_keyword", + "type": "Dictionary" + } + ] + }, + { + "name": "clear_member_keyword_colors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_member_keyword_colors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "add_color_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "start_key", + "type": "String" + }, + { + "name": "end_key", + "type": "String" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "line_only", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "remove_color_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "start_key", + "type": "String" + } + ] + }, + { + "name": "has_color_region", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "start_key", + "type": "String" + } + ] + }, + { + "name": "set_color_regions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color_regions", + "type": "Dictionary" + } + ] + }, + { + "name": "clear_color_regions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_color_regions", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "set_function_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_function_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_number_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_number_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_symbol_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_symbol_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_member_variable_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_member_variable_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + } + ], + "properties": [ + { + "type": "Color", + "name": "number_color", + "setter": "set_number_color", + "getter": "get_number_color", + "index": -1 + }, + { + "type": "Color", + "name": "symbol_color", + "setter": "set_symbol_color", + "getter": "get_symbol_color", + "index": -1 + }, + { + "type": "Color", + "name": "function_color", + "setter": "set_function_color", + "getter": "get_function_color", + "index": -1 + }, + { + "type": "Color", + "name": "member_variable_color", + "setter": "set_member_variable_color", + "getter": "get_member_variable_color", + "index": -1 + }, + { + "type": "Dictionary", + "name": "keyword_colors", + "setter": "set_keyword_colors", + "getter": "get_keyword_colors", + "index": -1 + }, + { + "type": "Dictionary", + "name": "member_keyword_colors", + "setter": "set_member_keyword_colors", + "getter": "get_member_keyword_colors", + "index": -1 + }, + { + "type": "Dictionary", + "name": "color_regions", + "setter": "set_color_regions", + "getter": "get_color_regions", + "index": -1 + } + ] + }, + { + "name": "CollisionObject2D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node2D", + "api_type": "core", + "enums": [ + { + "name": "DisableMode", + "values": [ + { + "name": "DISABLE_MODE_REMOVE", + "value": 0 + }, + { + "name": "DISABLE_MODE_MAKE_STATIC", + "value": 1 + }, + { + "name": "DISABLE_MODE_KEEP_ACTIVE", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "_input_event", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "viewport", + "type": "Object" + }, + { + "name": "event", + "type": "InputEvent" + }, + { + "name": "shape_idx", + "type": "int" + } + ] + }, + { + "name": "get_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_collision_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_layer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_layer_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_layer_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_collision_mask_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_mask_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_disable_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::CollisionObject2D.DisableMode" + } + ] + }, + { + "name": "get_disable_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CollisionObject2D.DisableMode" + } + }, + { + "name": "set_pickable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_pickable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "create_shape_owner", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "owner", + "type": "Object" + } + ] + }, + { + "name": "remove_shape_owner", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_shape_owners", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "shape_owner_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "shape_owner_get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform2D" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shape_owner_get_owner", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Object" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shape_owner_set_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "is_shape_owner_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shape_owner_set_one_way_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_shape_owner_one_way_collision_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shape_owner_set_one_way_collision_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_shape_owner_one_way_collision_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shape_owner_add_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "shape", + "type": "Shape2D" + } + ] + }, + { + "name": "shape_owner_get_shape_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shape_owner_get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Shape2D" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "shape_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "shape_owner_get_shape_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "shape_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "shape_owner_remove_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "shape_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "shape_owner_clear_shapes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shape_find_owner", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "shape_index", + "type": "int", + "meta": "int32" + } + ] + } + ], + "signals": [ + { + "name": "mouse_shape_exited", + "arguments": [ + { + "name": "shape_idx", + "type": "int" + } + ] + }, + { + "name": "mouse_exited" + }, + { + "name": "mouse_shape_entered", + "arguments": [ + { + "name": "shape_idx", + "type": "int" + } + ] + }, + { + "name": "mouse_entered" + }, + { + "name": "input_event", + "arguments": [ + { + "name": "viewport", + "type": "Node" + }, + { + "name": "event", + "type": "InputEvent" + }, + { + "name": "shape_idx", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "disable_mode", + "setter": "set_disable_mode", + "getter": "get_disable_mode", + "index": -1 + }, + { + "type": "int", + "name": "collision_layer", + "setter": "set_collision_layer", + "getter": "get_collision_layer", + "index": -1 + }, + { + "type": "int", + "name": "collision_mask", + "setter": "set_collision_mask", + "getter": "get_collision_mask", + "index": -1 + }, + { + "type": "bool", + "name": "input_pickable", + "setter": "set_pickable", + "getter": "is_pickable", + "index": -1 + } + ] + }, + { + "name": "CollisionObject3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node3D", + "api_type": "core", + "enums": [ + { + "name": "DisableMode", + "values": [ + { + "name": "DISABLE_MODE_REMOVE", + "value": 0 + }, + { + "name": "DISABLE_MODE_MAKE_STATIC", + "value": 1 + }, + { + "name": "DISABLE_MODE_KEEP_ACTIVE", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "_input_event", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "camera", + "type": "Object" + }, + { + "name": "event", + "type": "InputEvent" + }, + { + "name": "position", + "type": "Vector3" + }, + { + "name": "normal", + "type": "Vector3" + }, + { + "name": "shape_idx", + "type": "int" + } + ] + }, + { + "name": "set_collision_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_layer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_layer_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_layer_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_collision_mask_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_mask_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_disable_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::CollisionObject3D.DisableMode" + } + ] + }, + { + "name": "get_disable_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CollisionObject3D.DisableMode" + } + }, + { + "name": "set_ray_pickable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ray_pickable", + "type": "bool" + } + ] + }, + { + "name": "is_ray_pickable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_capture_input_on_drag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_capture_input_on_drag", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "create_shape_owner", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "owner", + "type": "Object" + } + ] + }, + { + "name": "remove_shape_owner", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_shape_owners", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "shape_owner_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "shape_owner_get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shape_owner_get_owner", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Object" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shape_owner_set_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "is_shape_owner_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shape_owner_add_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "shape", + "type": "Shape3D" + } + ] + }, + { + "name": "shape_owner_get_shape_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shape_owner_get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Shape3D" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "shape_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "shape_owner_get_shape_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "shape_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "shape_owner_remove_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + }, + { + "name": "shape_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "shape_owner_clear_shapes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "owner_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shape_find_owner", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "shape_index", + "type": "int", + "meta": "int32" + } + ] + } + ], + "signals": [ + { + "name": "mouse_exited" + }, + { + "name": "mouse_entered" + }, + { + "name": "input_event", + "arguments": [ + { + "name": "camera", + "type": "Node" + }, + { + "name": "event", + "type": "InputEvent" + }, + { + "name": "position", + "type": "Vector3" + }, + { + "name": "normal", + "type": "Vector3" + }, + { + "name": "shape_idx", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "disable_mode", + "setter": "set_disable_mode", + "getter": "get_disable_mode", + "index": -1 + }, + { + "type": "int", + "name": "collision_layer", + "setter": "set_collision_layer", + "getter": "get_collision_layer", + "index": -1 + }, + { + "type": "int", + "name": "collision_mask", + "setter": "set_collision_mask", + "getter": "get_collision_mask", + "index": -1 + }, + { + "type": "bool", + "name": "input_ray_pickable", + "setter": "set_ray_pickable", + "getter": "is_ray_pickable", + "index": -1 + }, + { + "type": "bool", + "name": "input_capture_on_drag", + "setter": "set_capture_input_on_drag", + "getter": "get_capture_input_on_drag", + "index": -1 + } + ] + }, + { + "name": "CollisionPolygon2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "enums": [ + { + "name": "BuildMode", + "values": [ + { + "name": "BUILD_SOLIDS", + "value": 0 + }, + { + "name": "BUILD_SEGMENTS", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "polygon", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_polygon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + }, + { + "name": "set_build_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "build_mode", + "type": "enum::CollisionPolygon2D.BuildMode" + } + ] + }, + { + "name": "get_build_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CollisionPolygon2D.BuildMode" + } + }, + { + "name": "set_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "is_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_one_way_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_one_way_collision_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_one_way_collision_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_one_way_collision_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "int", + "name": "build_mode", + "setter": "set_build_mode", + "getter": "get_build_mode", + "index": -1 + }, + { + "type": "PackedVector2Array", + "name": "polygon", + "setter": "set_polygon", + "getter": "get_polygon", + "index": -1 + }, + { + "type": "bool", + "name": "disabled", + "setter": "set_disabled", + "getter": "is_disabled", + "index": -1 + }, + { + "type": "bool", + "name": "one_way_collision", + "setter": "set_one_way_collision", + "getter": "is_one_way_collision_enabled", + "index": -1 + }, + { + "type": "float", + "name": "one_way_collision_margin", + "setter": "set_one_way_collision_margin", + "getter": "get_one_way_collision_margin", + "index": -1 + } + ] + }, + { + "name": "CollisionPolygon3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_depth", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "depth", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_depth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "polygon", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_polygon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + }, + { + "name": "set_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "is_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "depth", + "setter": "set_depth", + "getter": "get_depth", + "index": -1 + }, + { + "type": "bool", + "name": "disabled", + "setter": "set_disabled", + "getter": "is_disabled", + "index": -1 + }, + { + "type": "PackedVector2Array", + "name": "polygon", + "setter": "set_polygon", + "getter": "get_polygon", + "index": -1 + }, + { + "type": "float", + "name": "margin", + "setter": "set_margin", + "getter": "get_margin", + "index": -1 + } + ] + }, + { + "name": "CollisionShape2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "Shape2D" + } + ] + }, + { + "name": "get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Shape2D" + } + }, + { + "name": "set_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "is_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_one_way_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_one_way_collision_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_one_way_collision_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_one_way_collision_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "Shape2D", + "name": "shape", + "setter": "set_shape", + "getter": "get_shape", + "index": -1 + }, + { + "type": "bool", + "name": "disabled", + "setter": "set_disabled", + "getter": "is_disabled", + "index": -1 + }, + { + "type": "bool", + "name": "one_way_collision", + "setter": "set_one_way_collision", + "getter": "is_one_way_collision_enabled", + "index": -1 + }, + { + "type": "float", + "name": "one_way_collision_margin", + "setter": "set_one_way_collision_margin", + "getter": "get_one_way_collision_margin", + "index": -1 + } + ] + }, + { + "name": "CollisionShape3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "resource_changed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "resource", + "type": "Resource" + } + ] + }, + { + "name": "set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "Shape3D" + } + ] + }, + { + "name": "get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Shape3D" + } + }, + { + "name": "set_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "make_convex_from_siblings", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "properties": [ + { + "type": "Shape3D", + "name": "shape", + "setter": "set_shape", + "getter": "get_shape", + "index": -1 + }, + { + "type": "bool", + "name": "disabled", + "setter": "set_disabled", + "getter": "is_disabled", + "index": -1 + } + ] + }, + { + "name": "ColorPicker", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "BoxContainer", + "api_type": "core", + "enums": [ + { + "name": "PickerShapeType", + "values": [ + { + "name": "SHAPE_HSV_RECTANGLE", + "value": 0 + }, + { + "name": "SHAPE_HSV_WHEEL", + "value": 1 + }, + { + "name": "SHAPE_VHS_CIRCLE", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_pick_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_pick_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_hsv_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "bool" + } + ] + }, + { + "name": "is_hsv_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_raw_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "bool" + } + ] + }, + { + "name": "is_raw_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_deferred_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "bool" + } + ] + }, + { + "name": "is_deferred_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_edit_alpha", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "show", + "type": "bool" + } + ] + }, + { + "name": "is_editing_alpha", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_presets_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "are_presets_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_presets_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "visible", + "type": "bool" + } + ] + }, + { + "name": "are_presets_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "add_preset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "erase_preset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_presets", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedColorArray" + } + }, + { + "name": "set_picker_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "picker", + "type": "enum::ColorPicker.PickerShapeType" + } + ] + }, + { + "name": "get_picker_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::ColorPicker.PickerShapeType" + } + } + ], + "signals": [ + { + "name": "preset_removed", + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "preset_added", + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "color_changed", + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + } + ], + "properties": [ + { + "type": "Color", + "name": "color", + "setter": "set_pick_color", + "getter": "get_pick_color", + "index": -1 + }, + { + "type": "bool", + "name": "edit_alpha", + "setter": "set_edit_alpha", + "getter": "is_editing_alpha", + "index": -1 + }, + { + "type": "bool", + "name": "hsv_mode", + "setter": "set_hsv_mode", + "getter": "is_hsv_mode", + "index": -1 + }, + { + "type": "bool", + "name": "raw_mode", + "setter": "set_raw_mode", + "getter": "is_raw_mode", + "index": -1 + }, + { + "type": "bool", + "name": "deferred_mode", + "setter": "set_deferred_mode", + "getter": "is_deferred_mode", + "index": -1 + }, + { + "type": "int", + "name": "picker_shape", + "setter": "set_picker_shape", + "getter": "get_picker_shape", + "index": -1 + }, + { + "type": "bool", + "name": "presets_enabled", + "setter": "set_presets_enabled", + "getter": "are_presets_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "presets_visible", + "setter": "set_presets_visible", + "getter": "are_presets_visible", + "index": -1 + } + ] + }, + { + "name": "ColorPickerButton", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Button", + "api_type": "core", + "methods": [ + { + "name": "set_pick_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_pick_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "get_picker", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "ColorPicker" + } + }, + { + "name": "get_popup", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PopupPanel" + } + }, + { + "name": "set_edit_alpha", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "show", + "type": "bool" + } + ] + }, + { + "name": "is_editing_alpha", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "picker_created" + }, + { + "name": "popup_closed" + }, + { + "name": "color_changed", + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + } + ], + "properties": [ + { + "type": "Color", + "name": "color", + "setter": "set_pick_color", + "getter": "get_pick_color", + "index": -1 + }, + { + "type": "bool", + "name": "edit_alpha", + "setter": "set_edit_alpha", + "getter": "is_editing_alpha", + "index": -1 + } + ] + }, + { + "name": "ColorRect", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "methods": [ + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + } + ], + "properties": [ + { + "type": "Color", + "name": "color", + "setter": "set_color", + "getter": "get_color", + "index": -1 + } + ] + }, + { + "name": "ConcavePolygonShape2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape2D", + "api_type": "core", + "methods": [ + { + "name": "set_segments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "segments", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_segments", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + } + ], + "properties": [ + { + "type": "PackedVector2Array", + "name": "segments", + "setter": "set_segments", + "getter": "get_segments", + "index": -1 + } + ] + }, + { + "name": "ConcavePolygonShape3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape3D", + "api_type": "core", + "methods": [ + { + "name": "set_faces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "faces", + "type": "PackedVector3Array" + } + ] + }, + { + "name": "get_faces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector3Array" + } + }, + { + "name": "set_backface_collision_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_backface_collision_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "PackedVector3Array", + "name": "data", + "setter": "set_faces", + "getter": "get_faces", + "index": -1 + }, + { + "type": "bool", + "name": "backface_collision", + "setter": "set_backface_collision_enabled", + "getter": "is_backface_collision_enabled", + "index": -1 + } + ] + }, + { + "name": "ConeTwistJoint3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Joint3D", + "api_type": "core", + "enums": [ + { + "name": "Param", + "values": [ + { + "name": "PARAM_SWING_SPAN", + "value": 0 + }, + { + "name": "PARAM_TWIST_SPAN", + "value": 1 + }, + { + "name": "PARAM_BIAS", + "value": 2 + }, + { + "name": "PARAM_SOFTNESS", + "value": 3 + }, + { + "name": "PARAM_RELAXATION", + "value": 4 + }, + { + "name": "PARAM_MAX", + "value": 5 + } + ] + } + ], + "methods": [ + { + "name": "set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::ConeTwistJoint3D.Param" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::ConeTwistJoint3D.Param" + } + ] + } + ], + "properties": [ + { + "type": "float", + "name": "swing_span", + "setter": "_set_swing_span", + "getter": "_get_swing_span", + "index": -1 + }, + { + "type": "float", + "name": "twist_span", + "setter": "_set_twist_span", + "getter": "_get_twist_span", + "index": -1 + }, + { + "type": "float", + "name": "bias", + "setter": "set_param", + "getter": "get_param", + "index": 2 + }, + { + "type": "float", + "name": "softness", + "setter": "set_param", + "getter": "get_param", + "index": 3 + }, + { + "type": "float", + "name": "relaxation", + "setter": "set_param", + "getter": "get_param", + "index": 4 + } + ] + }, + { + "name": "ConfigFile", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "section", + "type": "String" + }, + { + "name": "key", + "type": "String" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 174785387, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "section", + "type": "String" + }, + { + "name": "key", + "type": "String" + }, + { + "name": "default", + "type": "Variant", + "default_value": "null" + } + ] + }, + { + "name": "has_section", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "section", + "type": "String" + } + ] + }, + { + "name": "has_section_key", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "section", + "type": "String" + }, + { + "name": "key", + "type": "String" + } + ] + }, + { + "name": "get_sections", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "get_section_keys", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "section", + "type": "String" + } + ] + }, + { + "name": "erase_section", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "section", + "type": "String" + } + ] + }, + { + "name": "erase_section_key", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "section", + "type": "String" + }, + { + "name": "key", + "type": "String" + } + ] + }, + { + "name": "load", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "parse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "data", + "type": "String" + } + ] + }, + { + "name": "save", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "load_encrypted", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "key", + "type": "PackedByteArray" + } + ] + }, + { + "name": "load_encrypted_pass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "password", + "type": "String" + } + ] + }, + { + "name": "save_encrypted", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "key", + "type": "PackedByteArray" + } + ] + }, + { + "name": "save_encrypted_pass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "password", + "type": "String" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ] + }, + { + "name": "ConfirmationDialog", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "AcceptDialog", + "api_type": "core", + "methods": [ + { + "name": "get_cancel_button", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Button" + } + } + ] + }, + { + "name": "Container", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "constants": [ + { + "name": "NOTIFICATION_SORT_CHILDREN", + "value": 50 + } + ], + "methods": [ + { + "name": "queue_sort", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "fit_child_in_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "child", + "type": "Control" + }, + { + "name": "rect", + "type": "Rect2" + } + ] + } + ], + "signals": [ + { + "name": "sort_children" + } + ] + }, + { + "name": "Control", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "CanvasItem", + "api_type": "core", + "constants": [ + { + "name": "NOTIFICATION_RESIZED", + "value": 40 + }, + { + "name": "NOTIFICATION_MOUSE_ENTER", + "value": 41 + }, + { + "name": "NOTIFICATION_MOUSE_EXIT", + "value": 42 + }, + { + "name": "NOTIFICATION_FOCUS_ENTER", + "value": 43 + }, + { + "name": "NOTIFICATION_FOCUS_EXIT", + "value": 44 + }, + { + "name": "NOTIFICATION_THEME_CHANGED", + "value": 45 + }, + { + "name": "NOTIFICATION_SCROLL_BEGIN", + "value": 47 + }, + { + "name": "NOTIFICATION_SCROLL_END", + "value": 48 + }, + { + "name": "NOTIFICATION_LAYOUT_DIRECTION_CHANGED", + "value": 49 + } + ], + "enums": [ + { + "name": "Anchor", + "values": [ + { + "name": "ANCHOR_BEGIN", + "value": 0 + }, + { + "name": "ANCHOR_END", + "value": 1 + } + ] + }, + { + "name": "FocusMode", + "values": [ + { + "name": "FOCUS_NONE", + "value": 0 + }, + { + "name": "FOCUS_CLICK", + "value": 1 + }, + { + "name": "FOCUS_ALL", + "value": 2 + } + ] + }, + { + "name": "TextDirection", + "values": [ + { + "name": "TEXT_DIRECTION_INHERITED", + "value": 3 + }, + { + "name": "TEXT_DIRECTION_AUTO", + "value": 0 + }, + { + "name": "TEXT_DIRECTION_LTR", + "value": 1 + }, + { + "name": "TEXT_DIRECTION_RTL", + "value": 2 + } + ] + }, + { + "name": "LayoutPresetMode", + "values": [ + { + "name": "PRESET_MODE_MINSIZE", + "value": 0 + }, + { + "name": "PRESET_MODE_KEEP_WIDTH", + "value": 1 + }, + { + "name": "PRESET_MODE_KEEP_HEIGHT", + "value": 2 + }, + { + "name": "PRESET_MODE_KEEP_SIZE", + "value": 3 + } + ] + }, + { + "name": "StructuredTextParser", + "values": [ + { + "name": "STRUCTURED_TEXT_DEFAULT", + "value": 0 + }, + { + "name": "STRUCTURED_TEXT_URI", + "value": 1 + }, + { + "name": "STRUCTURED_TEXT_FILE", + "value": 2 + }, + { + "name": "STRUCTURED_TEXT_EMAIL", + "value": 3 + }, + { + "name": "STRUCTURED_TEXT_LIST", + "value": 4 + }, + { + "name": "STRUCTURED_TEXT_NONE", + "value": 5 + }, + { + "name": "STRUCTURED_TEXT_CUSTOM", + "value": 6 + } + ] + }, + { + "name": "LayoutDirection", + "values": [ + { + "name": "LAYOUT_DIRECTION_INHERITED", + "value": 0 + }, + { + "name": "LAYOUT_DIRECTION_LOCALE", + "value": 1 + }, + { + "name": "LAYOUT_DIRECTION_LTR", + "value": 2 + }, + { + "name": "LAYOUT_DIRECTION_RTL", + "value": 3 + } + ] + }, + { + "name": "MouseFilter", + "values": [ + { + "name": "MOUSE_FILTER_STOP", + "value": 0 + }, + { + "name": "MOUSE_FILTER_PASS", + "value": 1 + }, + { + "name": "MOUSE_FILTER_IGNORE", + "value": 2 + } + ] + }, + { + "name": "CursorShape", + "values": [ + { + "name": "CURSOR_ARROW", + "value": 0 + }, + { + "name": "CURSOR_IBEAM", + "value": 1 + }, + { + "name": "CURSOR_POINTING_HAND", + "value": 2 + }, + { + "name": "CURSOR_CROSS", + "value": 3 + }, + { + "name": "CURSOR_WAIT", + "value": 4 + }, + { + "name": "CURSOR_BUSY", + "value": 5 + }, + { + "name": "CURSOR_DRAG", + "value": 6 + }, + { + "name": "CURSOR_CAN_DROP", + "value": 7 + }, + { + "name": "CURSOR_FORBIDDEN", + "value": 8 + }, + { + "name": "CURSOR_VSIZE", + "value": 9 + }, + { + "name": "CURSOR_HSIZE", + "value": 10 + }, + { + "name": "CURSOR_BDIAGSIZE", + "value": 11 + }, + { + "name": "CURSOR_FDIAGSIZE", + "value": 12 + }, + { + "name": "CURSOR_MOVE", + "value": 13 + }, + { + "name": "CURSOR_VSPLIT", + "value": 14 + }, + { + "name": "CURSOR_HSPLIT", + "value": 15 + }, + { + "name": "CURSOR_HELP", + "value": 16 + } + ] + }, + { + "name": "GrowDirection", + "values": [ + { + "name": "GROW_DIRECTION_BEGIN", + "value": 0 + }, + { + "name": "GROW_DIRECTION_END", + "value": 1 + }, + { + "name": "GROW_DIRECTION_BOTH", + "value": 2 + } + ] + }, + { + "name": "SizeFlags", + "values": [ + { + "name": "SIZE_FILL", + "value": 1 + }, + { + "name": "SIZE_EXPAND", + "value": 2 + }, + { + "name": "SIZE_EXPAND_FILL", + "value": 3 + }, + { + "name": "SIZE_SHRINK_CENTER", + "value": 4 + }, + { + "name": "SIZE_SHRINK_END", + "value": 8 + } + ] + }, + { + "name": "LayoutPreset", + "values": [ + { + "name": "PRESET_TOP_LEFT", + "value": 0 + }, + { + "name": "PRESET_TOP_RIGHT", + "value": 1 + }, + { + "name": "PRESET_BOTTOM_LEFT", + "value": 2 + }, + { + "name": "PRESET_BOTTOM_RIGHT", + "value": 3 + }, + { + "name": "PRESET_CENTER_LEFT", + "value": 4 + }, + { + "name": "PRESET_CENTER_TOP", + "value": 5 + }, + { + "name": "PRESET_CENTER_RIGHT", + "value": 6 + }, + { + "name": "PRESET_CENTER_BOTTOM", + "value": 7 + }, + { + "name": "PRESET_CENTER", + "value": 8 + }, + { + "name": "PRESET_LEFT_WIDE", + "value": 9 + }, + { + "name": "PRESET_TOP_WIDE", + "value": 10 + }, + { + "name": "PRESET_RIGHT_WIDE", + "value": 11 + }, + { + "name": "PRESET_BOTTOM_WIDE", + "value": 12 + }, + { + "name": "PRESET_VCENTER_WIDE", + "value": 13 + }, + { + "name": "PRESET_HCENTER_WIDE", + "value": 14 + }, + { + "name": "PRESET_WIDE", + "value": 15 + } + ] + } + ], + "methods": [ + { + "name": "_structured_text_parser", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "args", + "type": "Array" + }, + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "_gui_input", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "_get_minimum_size", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "_get_drag_data", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "_can_drop_data", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "data", + "type": "void" + } + ] + }, + { + "name": "_drop_data", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "data", + "type": "void" + } + ] + }, + { + "name": "_make_custom_tooltip", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Control" + }, + "arguments": [ + { + "name": "for_text", + "type": "String" + } + ] + }, + { + "name": "_has_point", + "is_const": true, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "", + "type": "Vector2" + } + ] + }, + { + "name": "accept_event", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_minimum_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_combined_minimum_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_anchors_preset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "preset", + "type": "enum::Control.LayoutPreset" + }, + { + "name": "keep_offsets", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "set_offsets_preset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182667338, + "arguments": [ + { + "name": "preset", + "type": "enum::Control.LayoutPreset" + }, + { + "name": "resize_mode", + "type": "enum::Control.LayoutPresetMode", + "default_value": "0" + }, + { + "name": "margin", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "set_anchors_and_offsets_preset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182667338, + "arguments": [ + { + "name": "preset", + "type": "enum::Control.LayoutPreset" + }, + { + "name": "resize_mode", + "type": "enum::Control.LayoutPresetMode", + "default_value": "0" + }, + { + "name": "margin", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "set_anchor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "side", + "type": "enum::Side" + }, + { + "name": "anchor", + "type": "float", + "meta": "float" + }, + { + "name": "keep_offset", + "type": "bool", + "default_value": "false" + }, + { + "name": "push_opposite_anchor", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "get_anchor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "side", + "type": "enum::Side" + } + ] + }, + { + "name": "set_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "side", + "type": "enum::Side" + }, + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_anchor_and_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "side", + "type": "enum::Side" + }, + { + "name": "anchor", + "type": "float", + "meta": "float" + }, + { + "name": "offset", + "type": "float", + "meta": "float" + }, + { + "name": "push_opposite_anchor", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "set_begin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "set_end", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "set_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "keep_offsets", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "size", + "type": "Vector2" + }, + { + "name": "keep_offsets", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "set_custom_minimum_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "set_global_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "keep_offsets", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "set_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radians", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "Vector2" + } + ] + }, + { + "name": "set_pivot_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pivot_offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "offset", + "type": "enum::Side" + } + ] + }, + { + "name": "get_begin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_end", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_pivot_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_custom_minimum_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_parent_area_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_global_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "get_global_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "set_focus_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Control.FocusMode" + } + ] + }, + { + "name": "get_focus_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.FocusMode" + } + }, + { + "name": "has_focus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "grab_focus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "release_focus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "find_prev_valid_focus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Control" + } + }, + { + "name": "find_next_valid_focus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Control" + } + }, + { + "name": "get_focus_owner", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Control" + } + }, + { + "name": "set_h_size_flags", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flags", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_h_size_flags", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_stretch_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_stretch_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_v_size_flags", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flags", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_v_size_flags", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_theme", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "theme", + "type": "Theme" + } + ] + }, + { + "name": "get_theme", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Theme" + } + }, + { + "name": "set_theme_type_variation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "get_theme_type_variation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "add_theme_icon_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "add_theme_stylebox_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "stylebox", + "type": "StyleBox" + } + ] + }, + { + "name": "add_theme_font_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "font", + "type": "Font" + } + ] + }, + { + "name": "add_theme_font_size_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "font_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_theme_color_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "add_theme_constant_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "constant", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_theme_icon_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "remove_theme_stylebox_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "remove_theme_font_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "remove_theme_font_size_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "remove_theme_color_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "remove_theme_constant_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_theme_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_theme_stylebox", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "StyleBox" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_theme_font", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Font" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_theme_font_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_theme_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_theme_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "has_theme_icon_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "has_theme_stylebox_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "has_theme_font_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "has_theme_font_size_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "has_theme_color_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "has_theme_constant_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "has_theme_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "has_theme_stylebox", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "has_theme_font", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "has_theme_font_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "has_theme_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "has_theme_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_parent_control", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Control" + } + }, + { + "name": "set_h_grow_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::Control.GrowDirection" + } + ] + }, + { + "name": "get_h_grow_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.GrowDirection" + } + }, + { + "name": "set_v_grow_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::Control.GrowDirection" + } + ] + }, + { + "name": "get_v_grow_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.GrowDirection" + } + }, + { + "name": "set_tooltip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tooltip", + "type": "String" + } + ] + }, + { + "name": "get_tooltip", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 2862547492, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "at_position", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "set_default_cursor_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "enum::Control.CursorShape" + } + ] + }, + { + "name": "get_default_cursor_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.CursorShape" + } + }, + { + "name": "get_cursor_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 2862547492, + "return_value": { + "type": "enum::Control.CursorShape" + }, + "arguments": [ + { + "name": "position", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "set_focus_neighbor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "side", + "type": "enum::Side" + }, + { + "name": "neighbor", + "type": "NodePath" + } + ] + }, + { + "name": "get_focus_neighbor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "side", + "type": "enum::Side" + } + ] + }, + { + "name": "set_focus_next", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "next", + "type": "NodePath" + } + ] + }, + { + "name": "get_focus_next", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_focus_previous", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "previous", + "type": "NodePath" + } + ] + }, + { + "name": "get_focus_previous", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "force_drag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "data", + "type": "Variant" + }, + { + "name": "preview", + "type": "Control" + } + ] + }, + { + "name": "set_mouse_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filter", + "type": "enum::Control.MouseFilter" + } + ] + }, + { + "name": "get_mouse_filter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.MouseFilter" + } + }, + { + "name": "set_clip_contents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_clipping_contents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "grab_click_focus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_drag_forwarding", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "target", + "type": "Control" + } + ] + }, + { + "name": "set_drag_preview", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "control", + "type": "Control" + } + ] + }, + { + "name": "warp_mouse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "to_position", + "type": "Vector2" + } + ] + }, + { + "name": "minimum_size_changed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_layout_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::Control.LayoutDirection" + } + ] + }, + { + "name": "get_layout_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.LayoutDirection" + } + }, + { + "name": "is_layout_rtl", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_auto_translate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_auto_translating", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "mouse_exited" + }, + { + "name": "theme_changed" + }, + { + "name": "gui_input", + "arguments": [ + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "focus_entered" + }, + { + "name": "resized" + }, + { + "name": "minimum_size_changed" + }, + { + "name": "mouse_entered" + }, + { + "name": "size_flags_changed" + }, + { + "name": "focus_exited" + } + ], + "properties": [ + { + "type": "float", + "name": "anchor_left", + "setter": "_set_anchor", + "getter": "get_anchor", + "index": 0 + }, + { + "type": "float", + "name": "anchor_top", + "setter": "_set_anchor", + "getter": "get_anchor", + "index": 1 + }, + { + "type": "float", + "name": "anchor_right", + "setter": "_set_anchor", + "getter": "get_anchor", + "index": 2 + }, + { + "type": "float", + "name": "anchor_bottom", + "setter": "_set_anchor", + "getter": "get_anchor", + "index": 3 + }, + { + "type": "int", + "name": "offset_left", + "setter": "set_offset", + "getter": "get_offset", + "index": 0 + }, + { + "type": "int", + "name": "offset_top", + "setter": "set_offset", + "getter": "get_offset", + "index": 1 + }, + { + "type": "int", + "name": "offset_right", + "setter": "set_offset", + "getter": "get_offset", + "index": 2 + }, + { + "type": "int", + "name": "offset_bottom", + "setter": "set_offset", + "getter": "get_offset", + "index": 3 + }, + { + "type": "int", + "name": "grow_horizontal", + "setter": "set_h_grow_direction", + "getter": "get_h_grow_direction", + "index": -1 + }, + { + "type": "int", + "name": "grow_vertical", + "setter": "set_v_grow_direction", + "getter": "get_v_grow_direction", + "index": -1 + }, + { + "type": "int", + "name": "layout_direction", + "setter": "set_layout_direction", + "getter": "get_layout_direction", + "index": -1 + }, + { + "type": "bool", + "name": "auto_translate", + "setter": "set_auto_translate", + "getter": "is_auto_translating", + "index": -1 + }, + { + "type": "Vector2", + "name": "rect_position", + "setter": "_set_position", + "getter": "get_position", + "index": -1 + }, + { + "type": "Vector2", + "name": "rect_global_position", + "setter": "_set_global_position", + "getter": "get_global_position", + "index": -1 + }, + { + "type": "Vector2", + "name": "rect_size", + "setter": "_set_size", + "getter": "get_size", + "index": -1 + }, + { + "type": "Vector2", + "name": "rect_min_size", + "setter": "set_custom_minimum_size", + "getter": "get_custom_minimum_size", + "index": -1 + }, + { + "type": "float", + "name": "rect_rotation", + "setter": "set_rotation", + "getter": "get_rotation", + "index": -1 + }, + { + "type": "Vector2", + "name": "rect_scale", + "setter": "set_scale", + "getter": "get_scale", + "index": -1 + }, + { + "type": "Vector2", + "name": "rect_pivot_offset", + "setter": "set_pivot_offset", + "getter": "get_pivot_offset", + "index": -1 + }, + { + "type": "bool", + "name": "rect_clip_content", + "setter": "set_clip_contents", + "getter": "is_clipping_contents", + "index": -1 + }, + { + "type": "String", + "name": "hint_tooltip", + "setter": "set_tooltip", + "getter": "_get_tooltip", + "index": -1 + }, + { + "type": "NodePath", + "name": "focus_neighbor_left", + "setter": "set_focus_neighbor", + "getter": "get_focus_neighbor", + "index": 0 + }, + { + "type": "NodePath", + "name": "focus_neighbor_top", + "setter": "set_focus_neighbor", + "getter": "get_focus_neighbor", + "index": 1 + }, + { + "type": "NodePath", + "name": "focus_neighbor_right", + "setter": "set_focus_neighbor", + "getter": "get_focus_neighbor", + "index": 2 + }, + { + "type": "NodePath", + "name": "focus_neighbor_bottom", + "setter": "set_focus_neighbor", + "getter": "get_focus_neighbor", + "index": 3 + }, + { + "type": "NodePath", + "name": "focus_next", + "setter": "set_focus_next", + "getter": "get_focus_next", + "index": -1 + }, + { + "type": "NodePath", + "name": "focus_previous", + "setter": "set_focus_previous", + "getter": "get_focus_previous", + "index": -1 + }, + { + "type": "int", + "name": "focus_mode", + "setter": "set_focus_mode", + "getter": "get_focus_mode", + "index": -1 + }, + { + "type": "int", + "name": "mouse_filter", + "setter": "set_mouse_filter", + "getter": "get_mouse_filter", + "index": -1 + }, + { + "type": "int", + "name": "mouse_default_cursor_shape", + "setter": "set_default_cursor_shape", + "getter": "get_default_cursor_shape", + "index": -1 + }, + { + "type": "int", + "name": "size_flags_horizontal", + "setter": "set_h_size_flags", + "getter": "get_h_size_flags", + "index": -1 + }, + { + "type": "int", + "name": "size_flags_vertical", + "setter": "set_v_size_flags", + "getter": "get_v_size_flags", + "index": -1 + }, + { + "type": "float", + "name": "size_flags_stretch_ratio", + "setter": "set_stretch_ratio", + "getter": "get_stretch_ratio", + "index": -1 + }, + { + "type": "Theme", + "name": "theme", + "setter": "set_theme", + "getter": "get_theme", + "index": -1 + }, + { + "type": "String", + "name": "theme_type_variation", + "setter": "set_theme_type_variation", + "getter": "get_theme_type_variation", + "index": -1 + } + ] + }, + { + "name": "ConvexPolygonShape2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape2D", + "api_type": "core", + "methods": [ + { + "name": "set_point_cloud", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "point_cloud", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "set_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "points", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_points", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + } + ], + "properties": [ + { + "type": "PackedVector2Array", + "name": "points", + "setter": "set_points", + "getter": "get_points", + "index": -1 + } + ] + }, + { + "name": "ConvexPolygonShape3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape3D", + "api_type": "core", + "methods": [ + { + "name": "set_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "points", + "type": "PackedVector3Array" + } + ] + }, + { + "name": "get_points", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector3Array" + } + } + ], + "properties": [ + { + "type": "Array", + "name": "points", + "setter": "set_points", + "getter": "get_points", + "index": -1 + } + ] + }, + { + "name": "Crypto", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "generate_random_bytes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "generate_rsa", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "CryptoKey" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "generate_self_signed_certificate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1610309760, + "return_value": { + "type": "X509Certificate" + }, + "arguments": [ + { + "name": "key", + "type": "CryptoKey" + }, + { + "name": "issuer_name", + "type": "String", + "default_value": "\"CN=myserver,O=myorganisation,C=IT\"" + }, + { + "name": "not_before", + "type": "String", + "default_value": "\"20140101000000\"" + }, + { + "name": "not_after", + "type": "String", + "default_value": "\"20340101000000\"" + } + ] + }, + { + "name": "sign", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "hash_type", + "type": "enum::HashingContext.HashType" + }, + { + "name": "hash", + "type": "PackedByteArray" + }, + { + "name": "key", + "type": "CryptoKey" + } + ] + }, + { + "name": "verify", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "hash_type", + "type": "enum::HashingContext.HashType" + }, + { + "name": "hash", + "type": "PackedByteArray" + }, + { + "name": "signature", + "type": "PackedByteArray" + }, + { + "name": "key", + "type": "CryptoKey" + } + ] + }, + { + "name": "encrypt", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "key", + "type": "CryptoKey" + }, + { + "name": "plaintext", + "type": "PackedByteArray" + } + ] + }, + { + "name": "decrypt", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "key", + "type": "CryptoKey" + }, + { + "name": "ciphertext", + "type": "PackedByteArray" + } + ] + }, + { + "name": "hmac_digest", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "hash_type", + "type": "enum::HashingContext.HashType" + }, + { + "name": "key", + "type": "PackedByteArray" + }, + { + "name": "msg", + "type": "PackedByteArray" + } + ] + }, + { + "name": "constant_time_compare", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "trusted", + "type": "PackedByteArray" + }, + { + "name": "received", + "type": "PackedByteArray" + } + ] + } + ] + }, + { + "name": "CryptoKey", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "save", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "public_only", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "load", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "public_only", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "is_public_only", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "save_to_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "public_only", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "load_from_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "string_key", + "type": "String" + }, + { + "name": "public_only", + "type": "bool", + "default_value": "false" + } + ] + } + ] + }, + { + "name": "Cubemap", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "ImageTextureLayered", + "api_type": "core" + }, + { + "name": "CubemapArray", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "ImageTextureLayered", + "api_type": "core" + }, + { + "name": "Curve", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "TangentMode", + "values": [ + { + "name": "TANGENT_FREE", + "value": 0 + }, + { + "name": "TANGENT_LINEAR", + "value": 1 + }, + { + "name": "TANGENT_MODE_COUNT", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "get_point_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "add_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 936056591, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "left_tangent", + "type": "float", + "meta": "float", + "default_value": "0" + }, + { + "name": "right_tangent", + "type": "float", + "meta": "float", + "default_value": "0" + }, + { + "name": "left_mode", + "type": "enum::Curve.TangentMode", + "default_value": "0" + }, + { + "name": "right_mode", + "type": "enum::Curve.TangentMode", + "default_value": "0" + } + ] + }, + { + "name": "remove_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_point_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_point_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "y", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_point_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "interpolate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "interpolate_baked", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_point_left_tangent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_point_right_tangent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_point_left_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Curve.TangentMode" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_point_right_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Curve.TangentMode" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_point_left_tangent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "tangent", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_point_right_tangent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "tangent", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_point_left_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "mode", + "type": "enum::Curve.TangentMode" + } + ] + }, + { + "name": "set_point_right_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "mode", + "type": "enum::Curve.TangentMode" + } + ] + }, + { + "name": "get_min_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_min_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "min", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_max_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "clean_dupes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "bake", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_bake_resolution", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_bake_resolution", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "resolution", + "type": "int", + "meta": "int32" + } + ] + } + ], + "signals": [ + { + "name": "range_changed" + } + ], + "properties": [ + { + "type": "float", + "name": "min_value", + "setter": "set_min_value", + "getter": "get_min_value", + "index": -1 + }, + { + "type": "float", + "name": "max_value", + "setter": "set_max_value", + "getter": "get_max_value", + "index": -1 + }, + { + "type": "int", + "name": "bake_resolution", + "setter": "set_bake_resolution", + "getter": "get_bake_resolution", + "index": -1 + } + ] + }, + { + "name": "Curve2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_point_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "add_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 38931906, + "arguments": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "in", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + }, + { + "name": "out", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + }, + { + "name": "at_position", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "set_point_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_point_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_point_in", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_point_in", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_point_out", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_point_out", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "interpolate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "t", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "interpolatef", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "fofs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_bake_interval", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bake_interval", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_baked_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "interpolate_baked", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + }, + { + "name": "cubic", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_baked_points", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + }, + { + "name": "get_closest_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "to_point", + "type": "Vector2" + } + ] + }, + { + "name": "get_closest_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "to_point", + "type": "Vector2" + } + ] + }, + { + "name": "tessellate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1435183988, + "return_value": { + "type": "PackedVector2Array" + }, + "arguments": [ + { + "name": "max_stages", + "type": "int", + "meta": "int32", + "default_value": "5" + }, + { + "name": "tolerance_degrees", + "type": "float", + "meta": "float", + "default_value": "4" + } + ] + } + ], + "properties": [ + { + "type": "float", + "name": "bake_interval", + "setter": "set_bake_interval", + "getter": "get_bake_interval", + "index": -1 + } + ] + }, + { + "name": "Curve3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_point_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "add_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2635598008, + "arguments": [ + { + "name": "position", + "type": "Vector3" + }, + { + "name": "in", + "type": "Vector3", + "default_value": "Vector3(0, 0, 0)" + }, + { + "name": "out", + "type": "Vector3", + "default_value": "Vector3(0, 0, 0)" + }, + { + "name": "at_position", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "set_point_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector3" + } + ] + }, + { + "name": "get_point_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_point_tilt", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "tilt", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_point_tilt", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_point_in", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector3" + } + ] + }, + { + "name": "get_point_in", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_point_out", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector3" + } + ] + }, + { + "name": "get_point_out", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "interpolate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "t", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "interpolatef", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "fofs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_bake_interval", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bake_interval", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_up_vector_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_up_vector_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_baked_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "interpolate_baked", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + }, + { + "name": "cubic", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "interpolate_baked_up_vector", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + }, + { + "name": "apply_tilt", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_baked_points", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector3Array" + } + }, + { + "name": "get_baked_tilts", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedFloat32Array" + } + }, + { + "name": "get_baked_up_vectors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector3Array" + } + }, + { + "name": "get_closest_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "to_point", + "type": "Vector3" + } + ] + }, + { + "name": "get_closest_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "to_point", + "type": "Vector3" + } + ] + }, + { + "name": "tessellate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1435183988, + "return_value": { + "type": "PackedVector3Array" + }, + "arguments": [ + { + "name": "max_stages", + "type": "int", + "meta": "int32", + "default_value": "5" + }, + { + "name": "tolerance_degrees", + "type": "float", + "meta": "float", + "default_value": "4" + } + ] + } + ], + "properties": [ + { + "type": "float", + "name": "bake_interval", + "setter": "set_bake_interval", + "getter": "get_bake_interval", + "index": -1 + }, + { + "type": "bool", + "name": "up_vector_enabled", + "setter": "set_up_vector_enabled", + "getter": "is_up_vector_enabled", + "index": -1 + } + ] + }, + { + "name": "CurveTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "enums": [ + { + "name": "TextureMode", + "values": [ + { + "name": "TEXTURE_MODE_RGB", + "value": 0 + }, + { + "name": "TEXTURE_MODE_RED", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_curve", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "Curve" + } + ] + }, + { + "name": "get_curve", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Curve" + } + }, + { + "name": "set_texture_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture_mode", + "type": "enum::CurveTexture.TextureMode" + } + ] + }, + { + "name": "get_texture_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::CurveTexture.TextureMode" + } + } + ], + "properties": [ + { + "type": "int", + "name": "width", + "setter": "set_width", + "getter": "get_width", + "index": -1 + }, + { + "type": "int", + "name": "texture_mode", + "setter": "set_texture_mode", + "getter": "get_texture_mode", + "index": -1 + }, + { + "type": "Curve", + "name": "curve", + "setter": "set_curve", + "getter": "get_curve", + "index": -1 + } + ] + }, + { + "name": "CurveXYZTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "methods": [ + { + "name": "set_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_curve_x", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "Curve" + } + ] + }, + { + "name": "get_curve_x", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Curve" + } + }, + { + "name": "set_curve_y", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "Curve" + } + ] + }, + { + "name": "get_curve_y", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Curve" + } + }, + { + "name": "set_curve_z", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "Curve" + } + ] + }, + { + "name": "get_curve_z", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Curve" + } + } + ], + "properties": [ + { + "type": "int", + "name": "width", + "setter": "set_width", + "getter": "get_width", + "index": -1 + }, + { + "type": "Curve", + "name": "curve_x", + "setter": "set_curve_x", + "getter": "get_curve_x", + "index": -1 + }, + { + "type": "Curve", + "name": "curve_y", + "setter": "set_curve_y", + "getter": "get_curve_y", + "index": -1 + }, + { + "type": "Curve", + "name": "curve_z", + "setter": "set_curve_z", + "getter": "get_curve_z", + "index": -1 + } + ] + }, + { + "name": "CylinderMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PrimitiveMesh", + "api_type": "core", + "methods": [ + { + "name": "set_top_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_top_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_bottom_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bottom_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_radial_segments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "segments", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_radial_segments", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_rings", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rings", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_rings", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "float", + "name": "top_radius", + "setter": "set_top_radius", + "getter": "get_top_radius", + "index": -1 + }, + { + "type": "float", + "name": "bottom_radius", + "setter": "set_bottom_radius", + "getter": "get_bottom_radius", + "index": -1 + }, + { + "type": "float", + "name": "height", + "setter": "set_height", + "getter": "get_height", + "index": -1 + }, + { + "type": "int", + "name": "radial_segments", + "setter": "set_radial_segments", + "getter": "get_radial_segments", + "index": -1 + }, + { + "type": "int", + "name": "rings", + "setter": "set_rings", + "getter": "get_rings", + "index": -1 + } + ] + }, + { + "name": "CylinderShape3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape3D", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + }, + { + "type": "float", + "name": "height", + "setter": "set_height", + "getter": "get_height", + "index": -1 + } + ] + }, + { + "name": "DTLSServer", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "setup", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "key", + "type": "CryptoKey" + }, + { + "name": "certificate", + "type": "X509Certificate" + }, + { + "name": "chain", + "type": "X509Certificate", + "default_value": "null" + } + ] + }, + { + "name": "take_connection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PacketPeerDTLS" + }, + "arguments": [ + { + "name": "udp_peer", + "type": "PacketPeerUDP" + } + ] + } + ] + }, + { + "name": "DampedSpringJoint2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Joint2D", + "api_type": "core", + "methods": [ + { + "name": "set_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_rest_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rest_length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_rest_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_stiffness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "stiffness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_stiffness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_damping", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "damping", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_damping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "length", + "setter": "set_length", + "getter": "get_length", + "index": -1 + }, + { + "type": "float", + "name": "rest_length", + "setter": "set_rest_length", + "getter": "get_rest_length", + "index": -1 + }, + { + "type": "float", + "name": "stiffness", + "setter": "set_stiffness", + "getter": "get_stiffness", + "index": -1 + }, + { + "type": "float", + "name": "damping", + "setter": "set_damping", + "getter": "get_damping", + "index": -1 + } + ] + }, + { + "name": "Decal", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "VisualInstance3D", + "api_type": "core", + "enums": [ + { + "name": "DecalTexture", + "values": [ + { + "name": "TEXTURE_ALBEDO", + "value": 0 + }, + { + "name": "TEXTURE_NORMAL", + "value": 1 + }, + { + "name": "TEXTURE_ORM", + "value": 2 + }, + { + "name": "TEXTURE_EMISSION", + "value": 3 + }, + { + "name": "TEXTURE_MAX", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "set_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "get_extents", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "type", + "type": "enum::Decal.DecalTexture" + }, + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "type", + "type": "enum::Decal.DecalTexture" + } + ] + }, + { + "name": "set_emission_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_albedo_mix", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_albedo_mix", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_modulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_modulate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_upper_fade", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fade", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_upper_fade", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_lower_fade", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fade", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_lower_fade", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_normal_fade", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fade", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_normal_fade", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_enable_distance_fade", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_distance_fade_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_distance_fade_begin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_distance_fade_begin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_distance_fade_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_distance_fade_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_cull_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + } + ], + "properties": [ + { + "type": "Vector3", + "name": "extents", + "setter": "set_extents", + "getter": "get_extents", + "index": -1 + }, + { + "type": "Texture", + "name": "texture_albedo", + "setter": "set_texture", + "getter": "get_texture", + "index": 0 + }, + { + "type": "Texture", + "name": "texture_normal", + "setter": "set_texture", + "getter": "get_texture", + "index": 1 + }, + { + "type": "Texture", + "name": "texture_orm", + "setter": "set_texture", + "getter": "get_texture", + "index": 2 + }, + { + "type": "Texture", + "name": "texture_emission", + "setter": "set_texture", + "getter": "get_texture", + "index": 3 + }, + { + "type": "float", + "name": "emission_energy", + "setter": "set_emission_energy", + "getter": "get_emission_energy", + "index": -1 + }, + { + "type": "Color", + "name": "modulate", + "setter": "set_modulate", + "getter": "get_modulate", + "index": -1 + }, + { + "type": "float", + "name": "albedo_mix", + "setter": "set_albedo_mix", + "getter": "get_albedo_mix", + "index": -1 + }, + { + "type": "float", + "name": "normal_fade", + "setter": "set_normal_fade", + "getter": "get_normal_fade", + "index": -1 + }, + { + "type": "float", + "name": "upper_fade", + "setter": "set_upper_fade", + "getter": "get_upper_fade", + "index": -1 + }, + { + "type": "float", + "name": "lower_fade", + "setter": "set_lower_fade", + "getter": "get_lower_fade", + "index": -1 + }, + { + "type": "bool", + "name": "distance_fade_enabled", + "setter": "set_enable_distance_fade", + "getter": "is_distance_fade_enabled", + "index": -1 + }, + { + "type": "float", + "name": "distance_fade_begin", + "setter": "set_distance_fade_begin", + "getter": "get_distance_fade_begin", + "index": -1 + }, + { + "type": "float", + "name": "distance_fade_length", + "setter": "set_distance_fade_length", + "getter": "get_distance_fade_length", + "index": -1 + }, + { + "type": "int", + "name": "cull_mask", + "setter": "set_cull_mask", + "getter": "get_cull_mask", + "index": -1 + } + ] + }, + { + "name": "DirectionalLight2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Light2D", + "api_type": "core", + "methods": [ + { + "name": "set_max_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pixels", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_max_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "height", + "setter": "set_height", + "getter": "get_height", + "index": -1 + }, + { + "type": "float", + "name": "max_distance", + "setter": "set_max_distance", + "getter": "get_max_distance", + "index": -1 + } + ] + }, + { + "name": "DirectionalLight3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Light3D", + "api_type": "core", + "enums": [ + { + "name": "ShadowMode", + "values": [ + { + "name": "SHADOW_ORTHOGONAL", + "value": 0 + }, + { + "name": "SHADOW_PARALLEL_2_SPLITS", + "value": 1 + }, + { + "name": "SHADOW_PARALLEL_4_SPLITS", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_shadow_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::DirectionalLight3D.ShadowMode" + } + ] + }, + { + "name": "get_shadow_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::DirectionalLight3D.ShadowMode" + } + }, + { + "name": "set_blend_splits", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_blend_splits_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_sky_only", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "priority", + "type": "bool" + } + ] + }, + { + "name": "is_sky_only", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "directional_shadow_mode", + "setter": "set_shadow_mode", + "getter": "get_shadow_mode", + "index": -1 + }, + { + "type": "float", + "name": "directional_shadow_split_1", + "setter": "set_param", + "getter": "get_param", + "index": 9 + }, + { + "type": "float", + "name": "directional_shadow_split_2", + "setter": "set_param", + "getter": "get_param", + "index": 10 + }, + { + "type": "float", + "name": "directional_shadow_split_3", + "setter": "set_param", + "getter": "get_param", + "index": 11 + }, + { + "type": "float", + "name": "directional_shadow_fade_start", + "setter": "set_param", + "getter": "get_param", + "index": 12 + }, + { + "type": "bool", + "name": "directional_shadow_blend_splits", + "setter": "set_blend_splits", + "getter": "is_blend_splits_enabled", + "index": -1 + }, + { + "type": "float", + "name": "directional_shadow_max_distance", + "setter": "set_param", + "getter": "get_param", + "index": 8 + }, + { + "type": "float", + "name": "directional_shadow_pancake_size", + "setter": "set_param", + "getter": "get_param", + "index": 15 + }, + { + "type": "bool", + "name": "use_in_sky_only", + "setter": "set_sky_only", + "getter": "is_sky_only", + "index": -1 + } + ] + }, + { + "name": "DisplayServer", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "constants": [ + { + "name": "SCREEN_OF_MAIN_WINDOW", + "value": -1 + }, + { + "name": "MAIN_WINDOW_ID", + "value": 0 + }, + { + "name": "INVALID_WINDOW_ID", + "value": -1 + } + ], + "enums": [ + { + "name": "ScreenOrientation", + "values": [ + { + "name": "SCREEN_LANDSCAPE", + "value": 0 + }, + { + "name": "SCREEN_PORTRAIT", + "value": 1 + }, + { + "name": "SCREEN_REVERSE_LANDSCAPE", + "value": 2 + }, + { + "name": "SCREEN_REVERSE_PORTRAIT", + "value": 3 + }, + { + "name": "SCREEN_SENSOR_LANDSCAPE", + "value": 4 + }, + { + "name": "SCREEN_SENSOR_PORTRAIT", + "value": 5 + }, + { + "name": "SCREEN_SENSOR", + "value": 6 + } + ] + }, + { + "name": "Feature", + "values": [ + { + "name": "FEATURE_GLOBAL_MENU", + "value": 0 + }, + { + "name": "FEATURE_SUBWINDOWS", + "value": 1 + }, + { + "name": "FEATURE_TOUCHSCREEN", + "value": 2 + }, + { + "name": "FEATURE_MOUSE", + "value": 3 + }, + { + "name": "FEATURE_MOUSE_WARP", + "value": 4 + }, + { + "name": "FEATURE_CLIPBOARD", + "value": 5 + }, + { + "name": "FEATURE_VIRTUAL_KEYBOARD", + "value": 6 + }, + { + "name": "FEATURE_CURSOR_SHAPE", + "value": 7 + }, + { + "name": "FEATURE_CUSTOM_CURSOR_SHAPE", + "value": 8 + }, + { + "name": "FEATURE_NATIVE_DIALOG", + "value": 9 + }, + { + "name": "FEATURE_CONSOLE_WINDOW", + "value": 10 + }, + { + "name": "FEATURE_IME", + "value": 11 + }, + { + "name": "FEATURE_WINDOW_TRANSPARENCY", + "value": 12 + }, + { + "name": "FEATURE_HIDPI", + "value": 13 + }, + { + "name": "FEATURE_ICON", + "value": 14 + }, + { + "name": "FEATURE_NATIVE_ICON", + "value": 15 + }, + { + "name": "FEATURE_ORIENTATION", + "value": 16 + }, + { + "name": "FEATURE_SWAP_BUFFERS", + "value": 17 + } + ] + }, + { + "name": "WindowFlags", + "values": [ + { + "name": "WINDOW_FLAG_RESIZE_DISABLED", + "value": 0 + }, + { + "name": "WINDOW_FLAG_BORDERLESS", + "value": 1 + }, + { + "name": "WINDOW_FLAG_ALWAYS_ON_TOP", + "value": 2 + }, + { + "name": "WINDOW_FLAG_TRANSPARENT", + "value": 3 + }, + { + "name": "WINDOW_FLAG_NO_FOCUS", + "value": 4 + }, + { + "name": "WINDOW_FLAG_MAX", + "value": 5 + } + ] + }, + { + "name": "WindowMode", + "values": [ + { + "name": "WINDOW_MODE_WINDOWED", + "value": 0 + }, + { + "name": "WINDOW_MODE_MINIMIZED", + "value": 1 + }, + { + "name": "WINDOW_MODE_MAXIMIZED", + "value": 2 + }, + { + "name": "WINDOW_MODE_FULLSCREEN", + "value": 3 + } + ] + }, + { + "name": "MouseMode", + "values": [ + { + "name": "MOUSE_MODE_VISIBLE", + "value": 0 + }, + { + "name": "MOUSE_MODE_HIDDEN", + "value": 1 + }, + { + "name": "MOUSE_MODE_CAPTURED", + "value": 2 + }, + { + "name": "MOUSE_MODE_CONFINED", + "value": 3 + }, + { + "name": "MOUSE_MODE_CONFINED_HIDDEN", + "value": 4 + } + ] + }, + { + "name": "CursorShape", + "values": [ + { + "name": "CURSOR_ARROW", + "value": 0 + }, + { + "name": "CURSOR_IBEAM", + "value": 1 + }, + { + "name": "CURSOR_POINTING_HAND", + "value": 2 + }, + { + "name": "CURSOR_CROSS", + "value": 3 + }, + { + "name": "CURSOR_WAIT", + "value": 4 + }, + { + "name": "CURSOR_BUSY", + "value": 5 + }, + { + "name": "CURSOR_DRAG", + "value": 6 + }, + { + "name": "CURSOR_CAN_DROP", + "value": 7 + }, + { + "name": "CURSOR_FORBIDDEN", + "value": 8 + }, + { + "name": "CURSOR_VSIZE", + "value": 9 + }, + { + "name": "CURSOR_HSIZE", + "value": 10 + }, + { + "name": "CURSOR_BDIAGSIZE", + "value": 11 + }, + { + "name": "CURSOR_FDIAGSIZE", + "value": 12 + }, + { + "name": "CURSOR_MOVE", + "value": 13 + }, + { + "name": "CURSOR_VSPLIT", + "value": 14 + }, + { + "name": "CURSOR_HSPLIT", + "value": 15 + }, + { + "name": "CURSOR_HELP", + "value": 16 + }, + { + "name": "CURSOR_MAX", + "value": 17 + } + ] + }, + { + "name": "VSyncMode", + "values": [ + { + "name": "VSYNC_DISABLED", + "value": 0 + }, + { + "name": "VSYNC_ENABLED", + "value": 1 + }, + { + "name": "VSYNC_ADAPTIVE", + "value": 2 + }, + { + "name": "VSYNC_MAILBOX", + "value": 3 + } + ] + }, + { + "name": "WindowEvent", + "values": [ + { + "name": "WINDOW_EVENT_MOUSE_ENTER", + "value": 0 + }, + { + "name": "WINDOW_EVENT_MOUSE_EXIT", + "value": 1 + }, + { + "name": "WINDOW_EVENT_FOCUS_IN", + "value": 2 + }, + { + "name": "WINDOW_EVENT_FOCUS_OUT", + "value": 3 + }, + { + "name": "WINDOW_EVENT_CLOSE_REQUEST", + "value": 4 + }, + { + "name": "WINDOW_EVENT_GO_BACK_REQUEST", + "value": 5 + }, + { + "name": "WINDOW_EVENT_DPI_CHANGE", + "value": 6 + } + ] + } + ], + "methods": [ + { + "name": "has_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "feature", + "type": "enum::DisplayServer.Feature" + } + ] + }, + { + "name": "get_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "global_menu_add_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "label", + "type": "String" + }, + { + "name": "callback", + "type": "Callable" + }, + { + "name": "tag", + "type": "Variant", + "default_value": "null" + } + ] + }, + { + "name": "global_menu_add_check_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "label", + "type": "String" + }, + { + "name": "callback", + "type": "Callable" + }, + { + "name": "tag", + "type": "Variant", + "default_value": "null" + } + ] + }, + { + "name": "global_menu_add_submenu_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "label", + "type": "String" + }, + { + "name": "submenu", + "type": "String" + } + ] + }, + { + "name": "global_menu_add_separator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "menu_root", + "type": "String" + } + ] + }, + { + "name": "global_menu_is_item_checked", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "global_menu_is_item_checkable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "global_menu_get_item_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Callable" + }, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "global_menu_get_item_tag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "global_menu_get_item_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "global_menu_get_item_submenu", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "global_menu_set_item_checked", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "checked", + "type": "bool" + } + ] + }, + { + "name": "global_menu_set_item_checkable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "checkable", + "type": "bool" + } + ] + }, + { + "name": "global_menu_set_item_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "callback", + "type": "Callable" + } + ] + }, + { + "name": "global_menu_set_item_tag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "tag", + "type": "Variant" + } + ] + }, + { + "name": "global_menu_set_item_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "global_menu_set_item_submenu", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "submenu", + "type": "String" + } + ] + }, + { + "name": "global_menu_remove_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "menu_root", + "type": "String" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "global_menu_clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "menu_root", + "type": "String" + } + ] + }, + { + "name": "mouse_set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mouse_mode", + "type": "enum::DisplayServer.MouseMode" + } + ] + }, + { + "name": "mouse_get_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::DisplayServer.MouseMode" + } + }, + { + "name": "mouse_warp_to_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector2i" + } + ] + }, + { + "name": "mouse_get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "mouse_get_absolute_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "mouse_get_button_state", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::MouseButton" + } + }, + { + "name": "clipboard_set", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "clipboard", + "type": "String" + } + ] + }, + { + "name": "clipboard_get", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_screen_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "screen_get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "screen", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "screen_get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "screen", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "screen_get_usable_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "Rect2i" + }, + "arguments": [ + { + "name": "screen", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "screen_get_dpi", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "screen", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "screen_get_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "screen", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "screen_is_touchscreen", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "screen", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "screen_get_max_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "screen_set_orientation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "orientation", + "type": "enum::DisplayServer.ScreenOrientation" + }, + { + "name": "screen", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "screen_get_orientation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "enum::DisplayServer.ScreenOrientation" + }, + "arguments": [ + { + "name": "screen", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "screen_set_keep_on", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "screen_is_kept_on", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_window_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "get_window_at_screen_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "position", + "type": "Vector2i" + } + ] + }, + { + "name": "create_sub_window", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 175971275, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "mode", + "type": "enum::DisplayServer.WindowMode" + }, + { + "name": "vsync_mode", + "type": "enum::DisplayServer.VSyncMode" + }, + { + "name": "flags", + "type": "int", + "meta": "uint32" + }, + { + "name": "rect", + "type": "Rect2i", + "default_value": "Rect2i(0, 0, 0, 0)" + } + ] + }, + { + "name": "delete_sub_window", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "window_set_title", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "title", + "type": "String" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_mouse_passthrough", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "region", + "type": "PackedVector2Array" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_get_current_screen", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_current_screen", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "screen", + "type": "int", + "meta": "int32" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "position", + "type": "Vector2i" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "size", + "type": "Vector2i" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_rect_changed_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "callback", + "type": "Callable" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_window_event_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "callback", + "type": "Callable" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_input_event_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "callback", + "type": "Callable" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_input_text_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "callback", + "type": "Callable" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_drop_files_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "callback", + "type": "Callable" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_attach_instance_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "instance_id", + "type": "int", + "meta": "uint64" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_get_attached_instance_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_get_max_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_max_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "max_size", + "type": "Vector2i" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_get_min_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_min_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "min_size", + "type": "Vector2i" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_get_real_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_get_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "enum::DisplayServer.WindowMode" + }, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "mode", + "type": "enum::DisplayServer.WindowMode" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_flag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "flag", + "type": "enum::DisplayServer.WindowFlags" + }, + { + "name": "enabled", + "type": "bool" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_get_flag", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "flag", + "type": "enum::DisplayServer.WindowFlags" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_request_attention", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_move_to_foreground", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_can_draw", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_transient", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32" + }, + { + "name": "parent_window_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "window_set_ime_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "active", + "type": "bool" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_ime_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "position", + "type": "Vector2i" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_set_vsync_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "vsync_mode", + "type": "enum::DisplayServer.VSyncMode" + }, + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "window_get_vsync_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "enum::DisplayServer.VSyncMode" + }, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "ime_get_selection", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "ime_get_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "console_set_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "console_visible", + "type": "bool" + } + ] + }, + { + "name": "is_console_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "virtual_keyboard_show", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2147329971, + "arguments": [ + { + "name": "existing_text", + "type": "String" + }, + { + "name": "position", + "type": "Rect2", + "default_value": "Rect2i(0, 0, 0, 0)" + }, + { + "name": "multiline", + "type": "bool", + "default_value": "false" + }, + { + "name": "max_length", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "cursor_start", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "cursor_end", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "virtual_keyboard_hide", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "virtual_keyboard_get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "cursor_set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "enum::DisplayServer.CursorShape" + } + ] + }, + { + "name": "cursor_get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::DisplayServer.CursorShape" + } + }, + { + "name": "cursor_set_custom_image", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182667338, + "arguments": [ + { + "name": "cursor", + "type": "Resource" + }, + { + "name": "shape", + "type": "enum::DisplayServer.CursorShape", + "default_value": "0" + }, + { + "name": "hotspot", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "get_swap_cancel_ok", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "enable_for_stealing_focus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "process_id", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "dialog_show", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "title", + "type": "String" + }, + { + "name": "description", + "type": "String" + }, + { + "name": "buttons", + "type": "PackedStringArray" + }, + { + "name": "callback", + "type": "Callable" + } + ] + }, + { + "name": "dialog_input_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "title", + "type": "String" + }, + { + "name": "description", + "type": "String" + }, + { + "name": "existing_text", + "type": "String" + }, + { + "name": "callback", + "type": "Callable" + } + ] + }, + { + "name": "keyboard_get_layout_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "keyboard_get_current_layout", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "keyboard_set_current_layout", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "keyboard_get_layout_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "keyboard_get_layout_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "process_events", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "force_process_and_drop_events", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_native_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filename", + "type": "String" + } + ] + }, + { + "name": "set_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "image", + "type": "Image" + } + ] + }, + { + "name": "tablet_get_driver_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "tablet_get_driver_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "tablet_get_current_driver", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "tablet_set_current_driver", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + } + ] + }, + { + "name": "ENetConnection", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "EventType", + "values": [ + { + "name": "EVENT_ERROR", + "value": -1 + }, + { + "name": "EVENT_NONE", + "value": 0 + }, + { + "name": "EVENT_CONNECT", + "value": 1 + }, + { + "name": "EVENT_DISCONNECT", + "value": 2 + }, + { + "name": "EVENT_RECEIVE", + "value": 3 + } + ] + }, + { + "name": "HostStatistic", + "values": [ + { + "name": "HOST_TOTAL_SENT_DATA", + "value": 0 + }, + { + "name": "HOST_TOTAL_SENT_PACKETS", + "value": 1 + }, + { + "name": "HOST_TOTAL_RECEIVED_DATA", + "value": 2 + }, + { + "name": "HOST_TOTAL_RECEIVED_PACKETS", + "value": 3 + } + ] + }, + { + "name": "CompressionMode", + "values": [ + { + "name": "COMPRESS_NONE", + "value": 0 + }, + { + "name": "COMPRESS_RANGE_CODER", + "value": 1 + }, + { + "name": "COMPRESS_FASTLZ", + "value": 2 + }, + { + "name": "COMPRESS_ZLIB", + "value": 3 + }, + { + "name": "COMPRESS_ZSTD", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "create_host_bound", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 605976592, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "bind_address", + "type": "String" + }, + { + "name": "bind_port", + "type": "int", + "meta": "int32" + }, + { + "name": "max_peers", + "type": "int", + "meta": "int32", + "default_value": "32" + }, + { + "name": "max_channels", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "in_bandwidth", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "out_bandwidth", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "create_host", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2519619150, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "max_peers", + "type": "int", + "meta": "int32", + "default_value": "32" + }, + { + "name": "max_channels", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "in_bandwidth", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "out_bandwidth", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "destroy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "connect_to_host", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1513270700, + "return_value": { + "type": "ENetPacketPeer" + }, + "arguments": [ + { + "name": "address", + "type": "String" + }, + { + "name": "port", + "type": "int", + "meta": "int32" + }, + { + "name": "channels", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "data", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "service", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "timeout", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "flush", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "bandwidth_limit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 143531945, + "arguments": [ + { + "name": "in_bandwidth", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "out_bandwidth", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "channel_limit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "limit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "broadcast", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "channel", + "type": "int", + "meta": "int32" + }, + { + "name": "packet", + "type": "PackedByteArray" + }, + { + "name": "flags", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "compress", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::ENetConnection.CompressionMode" + } + ] + }, + { + "name": "dtls_server_setup", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "key", + "type": "CryptoKey" + }, + { + "name": "certificate", + "type": "X509Certificate" + } + ] + }, + { + "name": "dtls_client_setup", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "certificate", + "type": "X509Certificate" + }, + { + "name": "hostname", + "type": "String" + }, + { + "name": "verify", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "refuse_new_connections", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "refuse", + "type": "bool" + } + ] + }, + { + "name": "pop_statistic", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "float", + "meta": "double" + }, + "arguments": [ + { + "name": "statistic", + "type": "enum::ENetConnection.HostStatistic" + } + ] + }, + { + "name": "get_max_channels", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_local_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_peers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + } + ] + }, + { + "name": "ENetMultiplayerPeer", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "MultiplayerPeer", + "api_type": "core", + "methods": [ + { + "name": "create_server", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 974006063, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + }, + { + "name": "max_clients", + "type": "int", + "meta": "int32", + "default_value": "32" + }, + { + "name": "max_channels", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "in_bandwidth", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "out_bandwidth", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "create_client", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 604826608, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "address", + "type": "String" + }, + { + "name": "port", + "type": "int", + "meta": "int32" + }, + { + "name": "channel_count", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "in_bandwidth", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "out_bandwidth", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "local_port", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "create_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "unique_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_mesh_peer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "peer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "host", + "type": "ENetConnection" + } + ] + }, + { + "name": "close_connection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133387019, + "arguments": [ + { + "name": "wait_usec", + "type": "int", + "meta": "uint32", + "default_value": "100" + } + ] + }, + { + "name": "set_bind_ip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ip", + "type": "String" + } + ] + }, + { + "name": "set_server_relay_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_server_relay_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_host", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "ENetConnection" + } + }, + { + "name": "get_peer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "ENetPacketPeer" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "server_relay", + "setter": "set_server_relay_enabled", + "getter": "is_server_relay_enabled", + "index": -1 + }, + { + "type": "ENetConnection", + "name": "host", + "setter": "", + "getter": "get_host", + "index": -1 + } + ] + }, + { + "name": "ENetPacketPeer", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "PacketPeer", + "api_type": "core", + "constants": [ + { + "name": "PACKET_LOSS_SCALE", + "value": 65536 + }, + { + "name": "PACKET_THROTTLE_SCALE", + "value": 32 + }, + { + "name": "FLAG_RELIABLE", + "value": 1 + }, + { + "name": "FLAG_UNSEQUENCED", + "value": 2 + }, + { + "name": "FLAG_UNRELIABLE_FRAGMENT", + "value": 8 + } + ], + "enums": [ + { + "name": "PeerStatistic", + "values": [ + { + "name": "PEER_PACKET_LOSS", + "value": 0 + }, + { + "name": "PEER_PACKET_LOSS_VARIANCE", + "value": 1 + }, + { + "name": "PEER_PACKET_LOSS_EPOCH", + "value": 2 + }, + { + "name": "PEER_ROUND_TRIP_TIME", + "value": 3 + }, + { + "name": "PEER_ROUND_TRIP_TIME_VARIANCE", + "value": 4 + }, + { + "name": "PEER_LAST_ROUND_TRIP_TIME", + "value": 5 + }, + { + "name": "PEER_LAST_ROUND_TRIP_TIME_VARIANCE", + "value": 6 + }, + { + "name": "PEER_PACKET_THROTTLE", + "value": 7 + }, + { + "name": "PEER_PACKET_THROTTLE_LIMIT", + "value": 8 + }, + { + "name": "PEER_PACKET_THROTTLE_COUNTER", + "value": 9 + }, + { + "name": "PEER_PACKET_THROTTLE_EPOCH", + "value": 10 + }, + { + "name": "PEER_PACKET_THROTTLE_ACCELERATION", + "value": 11 + }, + { + "name": "PEER_PACKET_THROTTLE_DECELERATION", + "value": 12 + }, + { + "name": "PEER_PACKET_THROTTLE_INTERVAL", + "value": 13 + } + ] + }, + { + "name": "PeerState", + "values": [ + { + "name": "STATE_DISCONNECTED", + "value": 0 + }, + { + "name": "STATE_CONNECTING", + "value": 1 + }, + { + "name": "STATE_ACKNOWLEDGING_CONNECT", + "value": 2 + }, + { + "name": "STATE_CONNECTION_PENDING", + "value": 3 + }, + { + "name": "STATE_CONNECTION_SUCCEEDED", + "value": 4 + }, + { + "name": "STATE_CONNECTED", + "value": 5 + }, + { + "name": "STATE_DISCONNECT_LATER", + "value": 6 + }, + { + "name": "STATE_DISCONNECTING", + "value": 7 + }, + { + "name": "STATE_ACKNOWLEDGING_DISCONNECT", + "value": 8 + }, + { + "name": "STATE_ZOMBIE", + "value": 9 + } + ] + } + ], + "methods": [ + { + "name": "peer_disconnect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "data", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "peer_disconnect_later", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "data", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "peer_disconnect_now", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "data", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "ping", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "ping_interval", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ping_interval", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "reset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "send", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "channel", + "type": "int", + "meta": "int32" + }, + { + "name": "packet", + "type": "PackedByteArray" + }, + { + "name": "flags", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "throttle_configure", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "interval", + "type": "int", + "meta": "int32" + }, + { + "name": "acceleration", + "type": "int", + "meta": "int32" + }, + { + "name": "deceleration", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_timeout", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "timeout", + "type": "int", + "meta": "int32" + }, + { + "name": "timeout_min", + "type": "int", + "meta": "int32" + }, + { + "name": "timeout_max", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_statistic", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "float", + "meta": "double" + }, + "arguments": [ + { + "name": "statistic", + "type": "enum::ENetPacketPeer.PeerStatistic" + } + ] + }, + { + "name": "get_state", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::ENetPacketPeer.PeerState" + } + }, + { + "name": "get_channels", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "is_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ] + }, + { + "name": "EditorDebuggerPlugin", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Control", + "api_type": "editor", + "methods": [ + { + "name": "send_message", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "message", + "type": "String" + }, + { + "name": "data", + "type": "Array" + } + ] + }, + { + "name": "register_message_capture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "callable", + "type": "Callable" + } + ] + }, + { + "name": "unregister_message_capture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "has_capture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "is_breaked", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_debuggable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_session_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "breaked", + "arguments": [ + { + "name": "can_debug", + "type": "bool" + } + ] + }, + { + "name": "stopped" + }, + { + "name": "started" + }, + { + "name": "continued" + } + ] + }, + { + "name": "EditorExportPlugin", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "editor", + "methods": [ + { + "name": "_export_file", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "type", + "type": "String" + }, + { + "name": "features", + "type": "PackedStringArray" + } + ] + }, + { + "name": "_export_begin", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "features", + "type": "PackedStringArray" + }, + { + "name": "is_debug", + "type": "bool" + }, + { + "name": "path", + "type": "String" + }, + { + "name": "flags", + "type": "int" + } + ] + }, + { + "name": "_export_end", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "add_shared_object", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "tags", + "type": "PackedStringArray" + } + ] + }, + { + "name": "add_ios_project_static_lib", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "add_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "file", + "type": "PackedByteArray" + }, + { + "name": "remap", + "type": "bool" + } + ] + }, + { + "name": "add_ios_framework", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "add_ios_embedded_framework", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "add_ios_plist_content", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "plist_content", + "type": "String" + } + ] + }, + { + "name": "add_ios_linker_flags", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flags", + "type": "String" + } + ] + }, + { + "name": "add_ios_bundle_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "add_ios_cpp_code", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "code", + "type": "String" + } + ] + }, + { + "name": "skip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ] + }, + { + "name": "EditorFeatureProfile", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "editor", + "enums": [ + { + "name": "Feature", + "values": [ + { + "name": "FEATURE_3D", + "value": 0 + }, + { + "name": "FEATURE_SCRIPT", + "value": 1 + }, + { + "name": "FEATURE_ASSET_LIB", + "value": 2 + }, + { + "name": "FEATURE_SCENE_TREE", + "value": 3 + }, + { + "name": "FEATURE_NODE_DOCK", + "value": 4 + }, + { + "name": "FEATURE_FILESYSTEM_DOCK", + "value": 5 + }, + { + "name": "FEATURE_IMPORT_DOCK", + "value": 6 + }, + { + "name": "FEATURE_MAX", + "value": 7 + } + ] + } + ], + "methods": [ + { + "name": "set_disable_class", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "class_name", + "type": "StringName" + }, + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "is_class_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "class_name", + "type": "StringName" + } + ] + }, + { + "name": "set_disable_class_editor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "class_name", + "type": "StringName" + }, + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "is_class_editor_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "class_name", + "type": "StringName" + } + ] + }, + { + "name": "set_disable_class_property", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "class_name", + "type": "StringName" + }, + { + "name": "property", + "type": "StringName" + }, + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "is_class_property_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "class_name", + "type": "StringName" + }, + { + "name": "property", + "type": "StringName" + } + ] + }, + { + "name": "set_disable_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "feature", + "type": "enum::EditorFeatureProfile.Feature" + }, + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "is_feature_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "feature", + "type": "enum::EditorFeatureProfile.Feature" + } + ] + }, + { + "name": "get_feature_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "feature", + "type": "enum::EditorFeatureProfile.Feature" + } + ] + }, + { + "name": "save_to_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "load_from_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + } + ] + }, + { + "name": "EditorFileDialog", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "ConfirmationDialog", + "api_type": "editor", + "enums": [ + { + "name": "DisplayMode", + "values": [ + { + "name": "DISPLAY_THUMBNAILS", + "value": 0 + }, + { + "name": "DISPLAY_LIST", + "value": 1 + } + ] + }, + { + "name": "FileMode", + "values": [ + { + "name": "FILE_MODE_OPEN_FILE", + "value": 0 + }, + { + "name": "FILE_MODE_OPEN_FILES", + "value": 1 + }, + { + "name": "FILE_MODE_OPEN_DIR", + "value": 2 + }, + { + "name": "FILE_MODE_OPEN_ANY", + "value": 3 + }, + { + "name": "FILE_MODE_SAVE_FILE", + "value": 4 + } + ] + }, + { + "name": "Access", + "values": [ + { + "name": "ACCESS_RESOURCES", + "value": 0 + }, + { + "name": "ACCESS_USERDATA", + "value": 1 + }, + { + "name": "ACCESS_FILESYSTEM", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "clear_filters", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "add_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filter", + "type": "String" + } + ] + }, + { + "name": "get_current_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_current_file", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_current_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_current_dir", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "dir", + "type": "String" + } + ] + }, + { + "name": "set_current_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "set_current_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "set_file_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::EditorFileDialog.FileMode" + } + ] + }, + { + "name": "get_file_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::EditorFileDialog.FileMode" + } + }, + { + "name": "get_vbox", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "VBoxContainer" + } + }, + { + "name": "set_access", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "access", + "type": "enum::EditorFileDialog.Access" + } + ] + }, + { + "name": "get_access", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::EditorFileDialog.Access" + } + }, + { + "name": "set_show_hidden_files", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "show", + "type": "bool" + } + ] + }, + { + "name": "is_showing_hidden_files", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_display_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::EditorFileDialog.DisplayMode" + } + ] + }, + { + "name": "get_display_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::EditorFileDialog.DisplayMode" + } + }, + { + "name": "set_disable_overwrite_warning", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "is_overwrite_warning_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "invalidate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "signals": [ + { + "name": "files_selected", + "arguments": [ + { + "name": "paths", + "type": "PackedStringArray" + } + ] + }, + { + "name": "dir_selected", + "arguments": [ + { + "name": "dir", + "type": "String" + } + ] + }, + { + "name": "file_selected", + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "access", + "setter": "set_access", + "getter": "get_access", + "index": -1 + }, + { + "type": "int", + "name": "display_mode", + "setter": "set_display_mode", + "getter": "get_display_mode", + "index": -1 + }, + { + "type": "int", + "name": "file_mode", + "setter": "set_file_mode", + "getter": "get_file_mode", + "index": -1 + }, + { + "type": "String", + "name": "current_dir", + "setter": "set_current_dir", + "getter": "get_current_dir", + "index": -1 + }, + { + "type": "String", + "name": "current_file", + "setter": "set_current_file", + "getter": "get_current_file", + "index": -1 + }, + { + "type": "String", + "name": "current_path", + "setter": "set_current_path", + "getter": "get_current_path", + "index": -1 + }, + { + "type": "bool", + "name": "show_hidden_files", + "setter": "set_show_hidden_files", + "getter": "is_showing_hidden_files", + "index": -1 + }, + { + "type": "bool", + "name": "disable_overwrite_warning", + "setter": "set_disable_overwrite_warning", + "getter": "is_overwrite_warning_disabled", + "index": -1 + } + ] + }, + { + "name": "EditorFileSystem", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node", + "api_type": "editor", + "methods": [ + { + "name": "get_filesystem", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "EditorFileSystemDirectory" + } + }, + { + "name": "is_scanning", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_scanning_progress", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "scan", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "scan_sources", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "update_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_filesystem_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "EditorFileSystemDirectory" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_file_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "update_script_classes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "signals": [ + { + "name": "resources_reimported", + "arguments": [ + { + "name": "resources", + "type": "PackedStringArray" + } + ] + }, + { + "name": "sources_changed", + "arguments": [ + { + "name": "exist", + "type": "bool" + } + ] + }, + { + "name": "filesystem_changed" + }, + { + "name": "resources_reload", + "arguments": [ + { + "name": "resources", + "type": "PackedStringArray" + } + ] + } + ] + }, + { + "name": "EditorFileSystemDirectory", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "editor", + "methods": [ + { + "name": "get_subdir_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_subdir", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "EditorFileSystemDirectory" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_file_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_file", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_file_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_file_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_file_script_class_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_file_script_class_extends", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_file_import_is_valid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "get_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_parent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "EditorFileSystemDirectory" + } + }, + { + "name": "find_file_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "find_dir_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + } + ] + }, + { + "name": "EditorImportPlugin", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "ResourceImporter", + "api_type": "editor", + "methods": [ + { + "name": "_get_importer_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_visible_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_preset_count", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + } + }, + { + "name": "_get_preset_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "preset", + "type": "int" + } + ] + }, + { + "name": "_get_recognized_extensions", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Array" + } + }, + { + "name": "_get_import_options", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "preset", + "type": "int" + } + ] + }, + { + "name": "_get_save_extension", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_resource_type", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_priority", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "float" + } + }, + { + "name": "_get_import_order", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + } + }, + { + "name": "_get_option_visibility", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "option", + "type": "String" + }, + { + "name": "options", + "type": "Dictionary" + } + ] + }, + { + "name": "_import", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "source_file", + "type": "String" + }, + { + "name": "save_path", + "type": "String" + }, + { + "name": "options", + "type": "Dictionary" + }, + { + "name": "platform_variants", + "type": "Array" + }, + { + "name": "gen_files", + "type": "Array" + } + ] + } + ] + }, + { + "name": "EditorInspector", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "ScrollContainer", + "api_type": "editor", + "signals": [ + { + "name": "property_edited", + "arguments": [ + { + "name": "property", + "type": "String" + } + ] + }, + { + "name": "object_id_selected", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "property_deleted", + "arguments": [ + { + "name": "property", + "type": "String" + } + ] + }, + { + "name": "property_selected", + "arguments": [ + { + "name": "property", + "type": "String" + } + ] + }, + { + "name": "restart_requested" + }, + { + "name": "property_keyed", + "arguments": [ + { + "name": "property", + "type": "String" + } + ] + }, + { + "name": "resource_selected", + "arguments": [ + { + "name": "res", + "type": "Object" + }, + { + "name": "prop", + "type": "String" + } + ] + }, + { + "name": "property_toggled", + "arguments": [ + { + "name": "property", + "type": "String" + }, + { + "name": "checked", + "type": "bool" + } + ] + } + ] + }, + { + "name": "EditorInspectorPlugin", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "editor", + "methods": [ + { + "name": "_can_handle", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "object", + "type": "Object" + } + ] + }, + { + "name": "_parse_begin", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_parse_category", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "category", + "type": "String" + } + ] + }, + { + "name": "_parse_property", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "type", + "type": "int" + }, + { + "name": "path", + "type": "String" + }, + { + "name": "hint", + "type": "int" + }, + { + "name": "hint_text", + "type": "String" + }, + { + "name": "usage", + "type": "int" + } + ] + }, + { + "name": "_parse_end", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "add_custom_control", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "control", + "type": "Control" + } + ] + }, + { + "name": "add_property_editor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "property", + "type": "String" + }, + { + "name": "editor", + "type": "Control" + } + ] + }, + { + "name": "add_property_editor_for_multiple_properties", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "label", + "type": "String" + }, + { + "name": "properties", + "type": "PackedStringArray" + }, + { + "name": "editor", + "type": "Control" + } + ] + } + ] + }, + { + "name": "EditorInterface", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node", + "api_type": "editor", + "methods": [ + { + "name": "inspect_object", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 188527247, + "arguments": [ + { + "name": "object", + "type": "Object" + }, + { + "name": "for_property", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "inspector_only", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_selection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "EditorSelection" + } + }, + { + "name": "get_editor_settings", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "EditorSettings" + } + }, + { + "name": "get_script_editor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "ScriptEditor" + } + }, + { + "name": "get_base_control", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Control" + } + }, + { + "name": "get_editor_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "edit_resource", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "resource", + "type": "Resource" + } + ] + }, + { + "name": "edit_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "open_scene_from_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scene_filepath", + "type": "String" + } + ] + }, + { + "name": "reload_scene_from_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scene_filepath", + "type": "String" + } + ] + }, + { + "name": "play_main_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "play_current_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "play_custom_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scene_filepath", + "type": "String" + } + ] + }, + { + "name": "stop_playing_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_playing_scene", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_playing_scene", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_open_scenes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_edited_scene_root", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Node" + } + }, + { + "name": "get_resource_previewer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "EditorResourcePreview" + } + }, + { + "name": "get_resource_filesystem", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "EditorFileSystem" + } + }, + { + "name": "get_editor_main_control", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Control" + } + }, + { + "name": "make_mesh_previews", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "meshes", + "type": "Array" + }, + { + "name": "preview_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "select_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "get_selected_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_current_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_file_system_dock", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "FileSystemDock" + } + }, + { + "name": "get_editor_paths", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "EditorPaths" + } + }, + { + "name": "set_plugin_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "plugin", + "type": "String" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_plugin_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "plugin", + "type": "String" + } + ] + }, + { + "name": "get_inspector", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "EditorInspector" + } + }, + { + "name": "save_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "save_scene_as", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "with_preview", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "set_main_screen_editor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_distraction_free_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enter", + "type": "bool" + } + ] + }, + { + "name": "is_distraction_free_mode_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "distraction_free_mode", + "setter": "set_distraction_free_mode", + "getter": "is_distraction_free_mode_enabled", + "index": -1 + } + ] + }, + { + "name": "EditorNode3DGizmo", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Node3DGizmo", + "api_type": "editor", + "methods": [ + { + "name": "_redraw", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_get_handle_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "_is_handle_highlighted", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "_get_handle_value", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "_set_handle", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "id", + "type": "int" + }, + { + "name": "camera", + "type": "Camera3D" + }, + { + "name": "point", + "type": "Vector2" + } + ] + }, + { + "name": "_commit_handle", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "id", + "type": "int" + }, + { + "name": "restore", + "type": "void" + }, + { + "name": "cancel", + "type": "bool" + } + ] + }, + { + "name": "_subgizmos_intersect_ray", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "camera", + "type": "Camera3D" + }, + { + "name": "point", + "type": "Vector2" + } + ] + }, + { + "name": "_subgizmos_intersect_frustum", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "camera", + "type": "Camera3D" + }, + { + "name": "frustum", + "type": "Array" + } + ] + }, + { + "name": "_get_subgizmo_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "_set_subgizmo_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "id", + "type": "int" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "_commit_subgizmos", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "ids", + "type": "PackedInt32Array" + }, + { + "name": "restore", + "type": "Array" + }, + { + "name": "cancel", + "type": "bool" + } + ] + }, + { + "name": "add_lines", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "lines", + "type": "PackedVector3Array" + }, + { + "name": "material", + "type": "Material" + }, + { + "name": "billboard", + "type": "bool", + "default_value": "false" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "add_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3942238741, + "arguments": [ + { + "name": "mesh", + "type": "ArrayMesh" + }, + { + "name": "material", + "type": "Material", + "default_value": "null" + }, + { + "name": "transform", + "type": "Transform3D", + "default_value": "Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)" + }, + { + "name": "skeleton", + "type": "SkinReference", + "default_value": "null" + } + ] + }, + { + "name": "add_collision_segments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "segments", + "type": "PackedVector3Array" + } + ] + }, + { + "name": "add_collision_triangles", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "triangles", + "type": "TriangleMesh" + } + ] + }, + { + "name": "add_unscaled_billboard", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182668427, + "arguments": [ + { + "name": "material", + "type": "Material" + }, + { + "name": "default_scale", + "type": "float", + "meta": "float", + "default_value": "1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "add_handles", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 260938124, + "arguments": [ + { + "name": "handles", + "type": "PackedVector3Array" + }, + { + "name": "material", + "type": "Material" + }, + { + "name": "ids", + "type": "PackedInt32Array" + }, + { + "name": "billboard", + "type": "bool", + "default_value": "false" + }, + { + "name": "secondary", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "set_spatial_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "get_spatial_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Node3D" + } + }, + { + "name": "get_plugin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "EditorNode3DGizmoPlugin" + } + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_hidden", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hidden", + "type": "bool" + } + ] + }, + { + "name": "is_subgizmo_selected", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "arg0", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_subgizmo_selection", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedInt32Array" + } + } + ] + }, + { + "name": "EditorNode3DGizmoPlugin", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "editor", + "methods": [ + { + "name": "_has_gizmo", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "spatial", + "type": "Node3D" + } + ] + }, + { + "name": "_create_gizmo", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "EditorNode3DGizmo" + }, + "arguments": [ + { + "name": "spatial", + "type": "Node3D" + } + ] + }, + { + "name": "_get_gizmo_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_priority", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + } + }, + { + "name": "_can_be_hidden", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + } + }, + { + "name": "_is_selectable_when_hidden", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + } + }, + { + "name": "_redraw", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "gizmo", + "type": "EditorNode3DGizmo" + } + ] + }, + { + "name": "_get_handle_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "gizmo", + "type": "EditorNode3DGizmo" + }, + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "_is_handle_highlighted", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "gizmo", + "type": "EditorNode3DGizmo" + }, + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "_get_handle_value", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "gizmo", + "type": "EditorNode3DGizmo" + }, + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "_set_handle", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "gizmo", + "type": "EditorNode3DGizmo" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "camera", + "type": "Camera3D" + }, + { + "name": "point", + "type": "Vector2" + } + ] + }, + { + "name": "_commit_handle", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "gizmo", + "type": "EditorNode3DGizmo" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "restore", + "type": "void" + }, + { + "name": "cancel", + "type": "bool" + } + ] + }, + { + "name": "_subgizmos_intersect_ray", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "gizmo", + "type": "EditorNode3DGizmo" + }, + { + "name": "camera", + "type": "Camera3D" + }, + { + "name": "point", + "type": "Vector2" + } + ] + }, + { + "name": "_subgizmos_intersect_frustum", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "gizmo", + "type": "EditorNode3DGizmo" + }, + { + "name": "camera", + "type": "Camera3D" + }, + { + "name": "frustum", + "type": "Array" + } + ] + }, + { + "name": "_get_subgizmo_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "gizmo", + "type": "EditorNode3DGizmo" + }, + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "_set_subgizmo_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "gizmo", + "type": "EditorNode3DGizmo" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "_commit_subgizmos", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "gizmo", + "type": "EditorNode3DGizmo" + }, + { + "name": "ids", + "type": "PackedInt32Array" + }, + { + "name": "restore", + "type": "Array" + }, + { + "name": "cancel", + "type": "bool" + } + ] + }, + { + "name": "create_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 60158893, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "billboard", + "type": "bool", + "default_value": "false" + }, + { + "name": "on_top", + "type": "bool", + "default_value": "false" + }, + { + "name": "use_vertex_color", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "create_icon_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "texture", + "type": "Texture2D" + }, + { + "name": "on_top", + "type": "bool", + "default_value": "false" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "create_handle_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182667338, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "billboard", + "type": "bool", + "default_value": "false" + }, + { + "name": "texture", + "type": "Texture2D", + "default_value": "null" + } + ] + }, + { + "name": "add_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "material", + "type": "StandardMaterial3D" + } + ] + }, + { + "name": "get_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "StandardMaterial3D" + }, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "gizmo", + "type": "EditorNode3DGizmo", + "default_value": "null" + } + ] + } + ] + }, + { + "name": "EditorPaths", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "get_data_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_config_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_cache_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "is_self_contained", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_self_contained_file", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ] + }, + { + "name": "EditorPlugin", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node", + "api_type": "editor", + "enums": [ + { + "name": "DockSlot", + "values": [ + { + "name": "DOCK_SLOT_LEFT_UL", + "value": 0 + }, + { + "name": "DOCK_SLOT_LEFT_BL", + "value": 1 + }, + { + "name": "DOCK_SLOT_LEFT_UR", + "value": 2 + }, + { + "name": "DOCK_SLOT_LEFT_BR", + "value": 3 + }, + { + "name": "DOCK_SLOT_RIGHT_UL", + "value": 4 + }, + { + "name": "DOCK_SLOT_RIGHT_BL", + "value": 5 + }, + { + "name": "DOCK_SLOT_RIGHT_UR", + "value": 6 + }, + { + "name": "DOCK_SLOT_RIGHT_BR", + "value": 7 + }, + { + "name": "DOCK_SLOT_MAX", + "value": 8 + } + ] + }, + { + "name": "CustomControlContainer", + "values": [ + { + "name": "CONTAINER_TOOLBAR", + "value": 0 + }, + { + "name": "CONTAINER_SPATIAL_EDITOR_MENU", + "value": 1 + }, + { + "name": "CONTAINER_SPATIAL_EDITOR_SIDE_LEFT", + "value": 2 + }, + { + "name": "CONTAINER_SPATIAL_EDITOR_SIDE_RIGHT", + "value": 3 + }, + { + "name": "CONTAINER_SPATIAL_EDITOR_BOTTOM", + "value": 4 + }, + { + "name": "CONTAINER_CANVAS_EDITOR_MENU", + "value": 5 + }, + { + "name": "CONTAINER_CANVAS_EDITOR_SIDE_LEFT", + "value": 6 + }, + { + "name": "CONTAINER_CANVAS_EDITOR_SIDE_RIGHT", + "value": 7 + }, + { + "name": "CONTAINER_CANVAS_EDITOR_BOTTOM", + "value": 8 + }, + { + "name": "CONTAINER_PROPERTY_EDITOR_BOTTOM", + "value": 9 + }, + { + "name": "CONTAINER_PROJECT_SETTING_TAB_LEFT", + "value": 10 + }, + { + "name": "CONTAINER_PROJECT_SETTING_TAB_RIGHT", + "value": 11 + } + ] + } + ], + "methods": [ + { + "name": "_forward_canvas_gui_input", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "_forward_canvas_draw_over_viewport", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "overlay", + "type": "Control" + } + ] + }, + { + "name": "_forward_canvas_force_draw_over_viewport", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "overlay", + "type": "Control" + } + ] + }, + { + "name": "_forward_spatial_gui_input", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "camera", + "type": "Camera3D" + }, + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "_forward_spatial_draw_over_viewport", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "overlay", + "type": "Control" + } + ] + }, + { + "name": "_forward_spatial_force_draw_over_viewport", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "overlay", + "type": "Control" + } + ] + }, + { + "name": "_get_plugin_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_plugin_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "_has_main_screen", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + } + }, + { + "name": "_make_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "visible", + "type": "bool" + } + ] + }, + { + "name": "_edit", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "object", + "type": "Object" + } + ] + }, + { + "name": "_handles", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "object", + "type": "Object" + } + ] + }, + { + "name": "_get_state", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "_set_state", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "state", + "type": "Dictionary" + } + ] + }, + { + "name": "_clear", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_save_external_data", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_apply_changes", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_get_breakpoints", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "_set_window_layout", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "layout", + "type": "ConfigFile" + } + ] + }, + { + "name": "_get_window_layout", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "layout", + "type": "ConfigFile" + } + ] + }, + { + "name": "_build", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + } + }, + { + "name": "_enable_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_disable_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "add_control_to_container", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "container", + "type": "enum::EditorPlugin.CustomControlContainer" + }, + { + "name": "control", + "type": "Control" + } + ] + }, + { + "name": "add_control_to_bottom_panel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Button" + }, + "arguments": [ + { + "name": "control", + "type": "Control" + }, + { + "name": "title", + "type": "String" + } + ] + }, + { + "name": "add_control_to_dock", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "slot", + "type": "enum::EditorPlugin.DockSlot" + }, + { + "name": "control", + "type": "Control" + } + ] + }, + { + "name": "remove_control_from_docks", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "control", + "type": "Control" + } + ] + }, + { + "name": "remove_control_from_bottom_panel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "control", + "type": "Control" + } + ] + }, + { + "name": "remove_control_from_container", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "container", + "type": "enum::EditorPlugin.CustomControlContainer" + }, + { + "name": "control", + "type": "Control" + } + ] + }, + { + "name": "add_tool_menu_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "callable", + "type": "Callable" + } + ] + }, + { + "name": "add_tool_submenu_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "submenu", + "type": "Object" + } + ] + }, + { + "name": "remove_tool_menu_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "add_custom_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "type", + "type": "String" + }, + { + "name": "base", + "type": "String" + }, + { + "name": "script", + "type": "Script" + }, + { + "name": "icon", + "type": "Texture2D" + } + ] + }, + { + "name": "remove_custom_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "String" + } + ] + }, + { + "name": "add_autoload_singleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "remove_autoload_singleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "update_overlays", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "make_bottom_panel_item_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "item", + "type": "Control" + } + ] + }, + { + "name": "hide_bottom_panel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_undo_redo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "UndoRedo" + } + }, + { + "name": "add_undo_redo_inspector_hook_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "callable", + "type": "Callable" + } + ] + }, + { + "name": "remove_undo_redo_inspector_hook_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "callable", + "type": "Callable" + } + ] + }, + { + "name": "queue_save_layout", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "add_translation_parser_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "parser", + "type": "EditorTranslationParserPlugin" + } + ] + }, + { + "name": "remove_translation_parser_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "parser", + "type": "EditorTranslationParserPlugin" + } + ] + }, + { + "name": "add_import_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "importer", + "type": "EditorImportPlugin" + } + ] + }, + { + "name": "remove_import_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "importer", + "type": "EditorImportPlugin" + } + ] + }, + { + "name": "add_scene_import_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scene_importer", + "type": "EditorSceneImporter" + } + ] + }, + { + "name": "remove_scene_import_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scene_importer", + "type": "EditorSceneImporter" + } + ] + }, + { + "name": "add_export_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "plugin", + "type": "EditorExportPlugin" + } + ] + }, + { + "name": "remove_export_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "plugin", + "type": "EditorExportPlugin" + } + ] + }, + { + "name": "add_spatial_gizmo_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "plugin", + "type": "EditorNode3DGizmoPlugin" + } + ] + }, + { + "name": "remove_spatial_gizmo_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "plugin", + "type": "EditorNode3DGizmoPlugin" + } + ] + }, + { + "name": "add_inspector_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "plugin", + "type": "EditorInspectorPlugin" + } + ] + }, + { + "name": "remove_inspector_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "plugin", + "type": "EditorInspectorPlugin" + } + ] + }, + { + "name": "set_input_event_forwarding_always_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_force_draw_over_forwarding_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_editor_interface", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "EditorInterface" + } + }, + { + "name": "get_script_create_dialog", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "ScriptCreateDialog" + } + }, + { + "name": "add_debugger_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "script", + "type": "Script" + } + ] + }, + { + "name": "remove_debugger_plugin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "script", + "type": "Script" + } + ] + } + ], + "signals": [ + { + "name": "main_screen_changed", + "arguments": [ + { + "name": "screen_name", + "type": "String" + } + ] + }, + { + "name": "scene_closed", + "arguments": [ + { + "name": "filepath", + "type": "String" + } + ] + }, + { + "name": "scene_changed", + "arguments": [ + { + "name": "scene_root", + "type": "Node" + } + ] + }, + { + "name": "project_settings_changed" + }, + { + "name": "resource_saved", + "arguments": [ + { + "name": "resource", + "type": "Resource" + } + ] + } + ] + }, + { + "name": "EditorProperty", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Container", + "api_type": "editor", + "methods": [ + { + "name": "_update_property", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "set_label", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_label", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_read_only", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "read_only", + "type": "bool" + } + ] + }, + { + "name": "is_read_only", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_checkable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "checkable", + "type": "bool" + } + ] + }, + { + "name": "is_checkable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_checked", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "checked", + "type": "bool" + } + ] + }, + { + "name": "is_checked", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_draw_red", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "draw_red", + "type": "bool" + } + ] + }, + { + "name": "is_draw_red", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_keying", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "keying", + "type": "bool" + } + ] + }, + { + "name": "is_keying", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_deletable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "deletable", + "type": "bool" + } + ] + }, + { + "name": "is_deletable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_edited_property", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "StringName" + } + }, + { + "name": "get_edited_object", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Object" + } + }, + { + "name": "get_tooltip_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "add_focusable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "control", + "type": "Control" + } + ] + }, + { + "name": "set_bottom_editor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "editor", + "type": "Control" + } + ] + }, + { + "name": "emit_changed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "property", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + }, + { + "name": "field", + "type": "StringName", + "default_value": "&\"\"" + }, + { + "name": "changing", + "type": "bool", + "default_value": "false" + } + ] + } + ], + "signals": [ + { + "name": "object_id_selected", + "arguments": [ + { + "name": "property", + "type": "StringName" + }, + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "property_checked", + "arguments": [ + { + "name": "property", + "type": "StringName" + }, + { + "name": "bool", + "type": "String" + } + ] + }, + { + "name": "property_deleted", + "arguments": [ + { + "name": "property", + "type": "StringName" + } + ] + }, + { + "name": "property_keyed_with_value", + "arguments": [ + { + "name": "property", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "property_keyed", + "arguments": [ + { + "name": "property", + "type": "StringName" + } + ] + }, + { + "name": "property_changed", + "arguments": [ + { + "name": "property", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "resource_selected", + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "resource", + "type": "Resource" + } + ] + }, + { + "name": "selected", + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "focusable_idx", + "type": "int" + } + ] + }, + { + "name": "multiple_properties_changed", + "arguments": [ + { + "name": "properties", + "type": "PackedStringArray" + }, + { + "name": "value", + "type": "Array" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "label", + "setter": "set_label", + "getter": "get_label", + "index": -1 + }, + { + "type": "bool", + "name": "read_only", + "setter": "set_read_only", + "getter": "is_read_only", + "index": -1 + }, + { + "type": "bool", + "name": "checkable", + "setter": "set_checkable", + "getter": "is_checkable", + "index": -1 + }, + { + "type": "bool", + "name": "checked", + "setter": "set_checked", + "getter": "is_checked", + "index": -1 + }, + { + "type": "bool", + "name": "draw_red", + "setter": "set_draw_red", + "getter": "is_draw_red", + "index": -1 + }, + { + "type": "bool", + "name": "keying", + "setter": "set_keying", + "getter": "is_keying", + "index": -1 + }, + { + "type": "bool", + "name": "deletable", + "setter": "set_deletable", + "getter": "is_deletable", + "index": -1 + } + ] + }, + { + "name": "EditorResourceConversionPlugin", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "editor", + "methods": [ + { + "name": "_convert", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Resource" + }, + "arguments": [ + { + "name": "resource", + "type": "Resource" + } + ] + }, + { + "name": "_converts_to", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + } + ] + }, + { + "name": "EditorResourcePicker", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "HBoxContainer", + "api_type": "editor", + "methods": [ + { + "name": "_set_create_options", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "menu_node", + "type": "Object" + } + ] + }, + { + "name": "_handle_menu_selected", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "set_base_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_type", + "type": "String" + } + ] + }, + { + "name": "get_base_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_allowed_types", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "set_edited_resource", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "resource", + "type": "Resource" + } + ] + }, + { + "name": "get_edited_resource", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Resource" + } + }, + { + "name": "set_toggle_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_toggle_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_toggle_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + }, + { + "name": "set_editable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_editable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "resource_selected", + "arguments": [ + { + "name": "resource", + "type": "Resource" + } + ] + }, + { + "name": "resource_changed", + "arguments": [ + { + "name": "resource", + "type": "Resource" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "base_type", + "setter": "set_base_type", + "getter": "get_base_type", + "index": -1 + }, + { + "type": "Resource", + "name": "edited_resource", + "setter": "set_edited_resource", + "getter": "get_edited_resource", + "index": -1 + }, + { + "type": "bool", + "name": "editable", + "setter": "set_editable", + "getter": "is_editable", + "index": -1 + }, + { + "type": "bool", + "name": "toggle_mode", + "setter": "set_toggle_mode", + "getter": "is_toggle_mode", + "index": -1 + } + ] + }, + { + "name": "EditorResourcePreview", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node", + "api_type": "editor", + "methods": [ + { + "name": "queue_resource_preview", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "receiver", + "type": "Object" + }, + { + "name": "receiver_func", + "type": "StringName" + }, + { + "name": "userdata", + "type": "Variant" + } + ] + }, + { + "name": "queue_edited_resource_preview", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "resource", + "type": "Resource" + }, + { + "name": "receiver", + "type": "Object" + }, + { + "name": "receiver_func", + "type": "StringName" + }, + { + "name": "userdata", + "type": "Variant" + } + ] + }, + { + "name": "add_preview_generator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "generator", + "type": "EditorResourcePreviewGenerator" + } + ] + }, + { + "name": "remove_preview_generator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "generator", + "type": "EditorResourcePreviewGenerator" + } + ] + }, + { + "name": "check_for_invalidation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + } + ], + "signals": [ + { + "name": "preview_invalidated", + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + } + ] + }, + { + "name": "EditorResourcePreviewGenerator", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "editor", + "methods": [ + { + "name": "_handles", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "type", + "type": "String" + } + ] + }, + { + "name": "_generate", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "from", + "type": "Resource" + }, + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "_generate_from_path", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "_generate_small_preview_automatically", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + } + }, + { + "name": "_can_generate_small_preview", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + } + } + ] + }, + { + "name": "EditorSceneImporter", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "editor", + "constants": [ + { + "name": "IMPORT_SCENE", + "value": 1 + }, + { + "name": "IMPORT_ANIMATION", + "value": 2 + }, + { + "name": "IMPORT_FAIL_ON_MISSING_DEPENDENCIES", + "value": 4 + }, + { + "name": "IMPORT_GENERATE_TANGENT_ARRAYS", + "value": 8 + }, + { + "name": "IMPORT_USE_NAMED_SKIN_BINDS", + "value": 16 + } + ], + "methods": [ + { + "name": "_get_import_flags", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + } + }, + { + "name": "_get_extensions", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Array" + } + }, + { + "name": "_import_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "flags", + "type": "int" + }, + { + "name": "bake_fps", + "type": "int" + } + ] + }, + { + "name": "_import_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Animation" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "flags", + "type": "int" + }, + { + "name": "bake_fps", + "type": "int" + } + ] + }, + { + "name": "import_scene_from_other_importer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "flags", + "type": "int", + "meta": "uint32" + }, + { + "name": "bake_fps", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "import_animation_from_other_importer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "Animation" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "flags", + "type": "int", + "meta": "uint32" + }, + { + "name": "bake_fps", + "type": "int", + "meta": "int32" + } + ] + } + ] + }, + { + "name": "EditorSceneImporterFBX", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "EditorSceneImporter", + "api_type": "editor" + }, + { + "name": "EditorSceneImporterGLTF", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "EditorSceneImporter", + "api_type": "editor" + }, + { + "name": "EditorSceneImporterMesh", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "editor", + "methods": [ + { + "name": "add_blend_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_blend_shape_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_blend_shape_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "blend_shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_blend_shape_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Mesh.BlendShapeMode" + } + ] + }, + { + "name": "get_blend_shape_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Mesh.BlendShapeMode" + } + }, + { + "name": "add_surface", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 930390897, + "arguments": [ + { + "name": "primitive", + "type": "enum::Mesh.PrimitiveType" + }, + { + "name": "arrays", + "type": "Array" + }, + { + "name": "blend_shapes", + "type": "Array", + "default_value": "[]" + }, + { + "name": "lods", + "type": "Dictionary", + "default_value": "{\n}" + }, + { + "name": "material", + "type": "Material", + "default_value": "null" + }, + { + "name": "name", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_surface_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_surface_primitive_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Mesh.PrimitiveType" + }, + "arguments": [ + { + "name": "surface_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_surface_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "surface_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_surface_arrays", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "surface_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_surface_blend_shape_arrays", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "surface_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "blend_shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_surface_lod_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "surface_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_surface_lod_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "surface_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "lod_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_surface_lod_indices", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "surface_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "lod_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_surface_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Material" + }, + "arguments": [ + { + "name": "surface_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "ArrayMesh" + }, + "arguments": [ + { + "name": "arg0", + "type": "Mesh" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_lightmap_size_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2i" + } + ] + }, + { + "name": "get_lightmap_size_hint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + } + ] + }, + { + "name": "EditorSceneImporterMeshNode3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node3D", + "api_type": "editor", + "methods": [ + { + "name": "set_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh", + "type": "EditorSceneImporterMesh" + } + ] + }, + { + "name": "get_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "EditorSceneImporterMesh" + } + }, + { + "name": "set_skin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skin", + "type": "Skin" + } + ] + }, + { + "name": "get_skin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Skin" + } + }, + { + "name": "set_skeleton_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skeleton_path", + "type": "NodePath" + } + ] + }, + { + "name": "get_skeleton_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + } + ], + "properties": [ + { + "type": "EditorSceneImporterMesh", + "name": "mesh", + "setter": "set_mesh", + "getter": "get_mesh", + "index": -1 + }, + { + "type": "Skin", + "name": "skin", + "setter": "set_skin", + "getter": "get_skin", + "index": -1 + }, + { + "type": "NodePath", + "name": "skeleton_path", + "setter": "set_skeleton_path", + "getter": "get_skeleton_path", + "index": -1 + } + ] + }, + { + "name": "EditorScenePostImport", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "editor", + "methods": [ + { + "name": "_post_import", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Object" + }, + "arguments": [ + { + "name": "scene", + "type": "Object" + } + ] + }, + { + "name": "get_source_file", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ] + }, + { + "name": "EditorScript", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "editor", + "methods": [ + { + "name": "_run", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "add_root_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "get_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Node" + } + }, + { + "name": "get_editor_interface", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "EditorInterface" + } + } + ] + }, + { + "name": "EditorScriptPicker", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "EditorResourcePicker", + "api_type": "editor", + "methods": [ + { + "name": "set_script_owner", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "owner_node", + "type": "Node" + } + ] + }, + { + "name": "get_script_owner", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Node" + } + } + ], + "properties": [ + { + "type": "Node", + "name": "script_owner", + "setter": "set_script_owner", + "getter": "get_script_owner", + "index": -1 + } + ] + }, + { + "name": "EditorSelection", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "editor", + "methods": [ + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "add_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "remove_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "get_selected_nodes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_transformable_selected_nodes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + } + ], + "signals": [ + { + "name": "selection_changed" + } + ] + }, + { + "name": "EditorSettings", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "editor", + "constants": [ + { + "name": "NOTIFICATION_EDITOR_SETTINGS_CHANGED", + "value": 10000 + } + ], + "methods": [ + { + "name": "has_setting", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_setting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_setting", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "erase", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "property", + "type": "String" + } + ] + }, + { + "name": "set_initial_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + }, + { + "name": "update_current", + "type": "bool" + } + ] + }, + { + "name": "property_can_revert", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "property_get_revert", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "add_property_info", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "info", + "type": "Dictionary" + } + ] + }, + { + "name": "get_project_settings_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_project_metadata", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "section", + "type": "String" + }, + { + "name": "key", + "type": "String" + }, + { + "name": "data", + "type": "Variant" + } + ] + }, + { + "name": "get_project_metadata", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 174785387, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "section", + "type": "String" + }, + { + "name": "key", + "type": "String" + }, + { + "name": "default", + "type": "Variant", + "default_value": "null" + } + ] + }, + { + "name": "set_favorites", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "dirs", + "type": "PackedStringArray" + } + ] + }, + { + "name": "get_favorites", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "set_recent_dirs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "dirs", + "type": "PackedStringArray" + } + ] + }, + { + "name": "get_recent_dirs", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "set_builtin_action_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "actions_list", + "type": "Array" + } + ] + } + ], + "signals": [ + { + "name": "settings_changed" + } + ] + }, + { + "name": "EditorSpinSlider", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Range", + "api_type": "editor", + "methods": [ + { + "name": "set_label", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "label", + "type": "String" + } + ] + }, + { + "name": "get_label", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_suffix", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "suffix", + "type": "String" + } + ] + }, + { + "name": "get_suffix", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_read_only", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "read_only", + "type": "bool" + } + ] + }, + { + "name": "is_read_only", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_flat", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flat", + "type": "bool" + } + ] + }, + { + "name": "is_flat", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "String", + "name": "label", + "setter": "set_label", + "getter": "get_label", + "index": -1 + }, + { + "type": "String", + "name": "suffix", + "setter": "set_suffix", + "getter": "get_suffix", + "index": -1 + }, + { + "type": "bool", + "name": "read_only", + "setter": "set_read_only", + "getter": "is_read_only", + "index": -1 + }, + { + "type": "bool", + "name": "flat", + "setter": "set_flat", + "getter": "is_flat", + "index": -1 + } + ] + }, + { + "name": "EditorSyntaxHighlighter", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "SyntaxHighlighter", + "api_type": "editor", + "methods": [ + { + "name": "_get_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_supported_languages", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Array" + } + }, + { + "name": "_get_supported_extentions", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Array" + } + } + ] + }, + { + "name": "EditorTranslationParserPlugin", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "editor", + "methods": [ + { + "name": "_parse_file", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "msgids", + "type": "Array" + }, + { + "name": "msgids_context_plural", + "type": "Array" + } + ] + }, + { + "name": "_get_recognized_extensions", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Array" + } + } + ] + }, + { + "name": "EditorVCSInterface", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "editor", + "methods": [ + { + "name": "is_addon_ready", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "initialize", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "project_root_path", + "type": "String" + } + ] + }, + { + "name": "is_vcs_initialized", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_modified_files_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "stage_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "file_path", + "type": "String" + } + ] + }, + { + "name": "unstage_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "file_path", + "type": "String" + } + ] + }, + { + "name": "commit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "msg", + "type": "String" + } + ] + }, + { + "name": "get_file_diff", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "file_path", + "type": "String" + } + ] + }, + { + "name": "shut_down", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_project_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "get_vcs_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + } + ] + }, + { + "name": "EncodedObjectAsID", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_object_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "get_object_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + } + ], + "properties": [ + { + "type": "int", + "name": "object_id", + "setter": "set_object_id", + "getter": "get_object_id", + "index": -1 + } + ] + }, + { + "name": "Environment", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "GlowBlendMode", + "values": [ + { + "name": "GLOW_BLEND_MODE_ADDITIVE", + "value": 0 + }, + { + "name": "GLOW_BLEND_MODE_SCREEN", + "value": 1 + }, + { + "name": "GLOW_BLEND_MODE_SOFTLIGHT", + "value": 2 + }, + { + "name": "GLOW_BLEND_MODE_REPLACE", + "value": 3 + }, + { + "name": "GLOW_BLEND_MODE_MIX", + "value": 4 + } + ] + }, + { + "name": "ToneMapper", + "values": [ + { + "name": "TONE_MAPPER_LINEAR", + "value": 0 + }, + { + "name": "TONE_MAPPER_REINHARDT", + "value": 1 + }, + { + "name": "TONE_MAPPER_FILMIC", + "value": 2 + }, + { + "name": "TONE_MAPPER_ACES", + "value": 3 + } + ] + }, + { + "name": "SDFGICascades", + "values": [ + { + "name": "SDFGI_CASCADES_4", + "value": 0 + }, + { + "name": "SDFGI_CASCADES_6", + "value": 1 + }, + { + "name": "SDFGI_CASCADES_8", + "value": 2 + } + ] + }, + { + "name": "ReflectionSource", + "values": [ + { + "name": "REFLECTION_SOURCE_BG", + "value": 0 + }, + { + "name": "REFLECTION_SOURCE_DISABLED", + "value": 1 + }, + { + "name": "REFLECTION_SOURCE_SKY", + "value": 2 + } + ] + }, + { + "name": "SDFGIYScale", + "values": [ + { + "name": "SDFGI_Y_SCALE_DISABLED", + "value": 0 + }, + { + "name": "SDFGI_Y_SCALE_75_PERCENT", + "value": 1 + }, + { + "name": "SDFGI_Y_SCALE_50_PERCENT", + "value": 2 + } + ] + }, + { + "name": "BGMode", + "values": [ + { + "name": "BG_CLEAR_COLOR", + "value": 0 + }, + { + "name": "BG_COLOR", + "value": 1 + }, + { + "name": "BG_SKY", + "value": 2 + }, + { + "name": "BG_CANVAS", + "value": 3 + }, + { + "name": "BG_KEEP", + "value": 4 + }, + { + "name": "BG_CAMERA_FEED", + "value": 5 + }, + { + "name": "BG_MAX", + "value": 6 + } + ] + }, + { + "name": "AmbientSource", + "values": [ + { + "name": "AMBIENT_SOURCE_BG", + "value": 0 + }, + { + "name": "AMBIENT_SOURCE_DISABLED", + "value": 1 + }, + { + "name": "AMBIENT_SOURCE_COLOR", + "value": 2 + }, + { + "name": "AMBIENT_SOURCE_SKY", + "value": 3 + } + ] + }, + { + "name": "VolumetricFogShadowFilter", + "values": [ + { + "name": "VOLUMETRIC_FOG_SHADOW_FILTER_DISABLED", + "value": 0 + }, + { + "name": "VOLUMETRIC_FOG_SHADOW_FILTER_LOW", + "value": 1 + }, + { + "name": "VOLUMETRIC_FOG_SHADOW_FILTER_MEDIUM", + "value": 2 + }, + { + "name": "VOLUMETRIC_FOG_SHADOW_FILTER_HIGH", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_background", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Environment.BGMode" + } + ] + }, + { + "name": "get_background", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Environment.BGMode" + } + }, + { + "name": "set_sky", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sky", + "type": "Sky" + } + ] + }, + { + "name": "get_sky", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Sky" + } + }, + { + "name": "set_sky_custom_fov", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sky_custom_fov", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sky_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "euler_radians", + "type": "Vector3" + } + ] + }, + { + "name": "get_sky_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_bg_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_bg_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_bg_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bg_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_canvas_max_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_canvas_max_layer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_camera_feed_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_camera_feed_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_ambient_light_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_ambient_light_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_ambient_source", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "source", + "type": "enum::Environment.AmbientSource" + } + ] + }, + { + "name": "get_ambient_source", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Environment.AmbientSource" + } + }, + { + "name": "set_ambient_light_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ambient_light_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ambient_light_sky_contribution", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ambient_light_sky_contribution", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_reflection_source", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "source", + "type": "enum::Environment.ReflectionSource" + } + ] + }, + { + "name": "get_reflection_source", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Environment.ReflectionSource" + } + }, + { + "name": "set_ao_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_ao_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_tonemapper", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Environment.ToneMapper" + } + ] + }, + { + "name": "get_tonemapper", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Environment.ToneMapper" + } + }, + { + "name": "set_tonemap_exposure", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "exposure", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tonemap_exposure", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_tonemap_white", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "white", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tonemap_white", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_tonemap_auto_exposure_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_tonemap_auto_exposure_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_tonemap_auto_exposure_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "exposure_max", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tonemap_auto_exposure_max", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_tonemap_auto_exposure_min", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "exposure_min", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tonemap_auto_exposure_min", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_tonemap_auto_exposure_speed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "exposure_speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tonemap_auto_exposure_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_tonemap_auto_exposure_grey", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "exposure_grey", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_tonemap_auto_exposure_grey", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ssr_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_ssr_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_ssr_max_steps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_steps", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_ssr_max_steps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_ssr_fade_in", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fade_in", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ssr_fade_in", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ssr_fade_out", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fade_out", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ssr_fade_out", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ssr_depth_tolerance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "depth_tolerance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ssr_depth_tolerance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ssao_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_ssao_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_ssao_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ssao_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ssao_intensity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "intensity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ssao_intensity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ssao_power", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "power", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ssao_power", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ssao_detail", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "detail", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ssao_detail", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ssao_horizon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "horizon", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ssao_horizon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ssao_sharpness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sharpness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ssao_sharpness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ssao_direct_light_affect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ssao_direct_light_affect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ssao_ao_channel_affect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ssao_ao_channel_affect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sdfgi_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_sdfgi_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_sdfgi_cascades", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "enum::Environment.SDFGICascades" + } + ] + }, + { + "name": "get_sdfgi_cascades", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Environment.SDFGICascades" + } + }, + { + "name": "set_sdfgi_min_cell_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sdfgi_min_cell_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sdfgi_max_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sdfgi_max_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sdfgi_cascade0_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sdfgi_cascade0_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sdfgi_y_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "enum::Environment.SDFGIYScale" + } + ] + }, + { + "name": "get_sdfgi_y_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Environment.SDFGIYScale" + } + }, + { + "name": "set_sdfgi_use_occlusion", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_sdfgi_using_occlusion", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_sdfgi_bounce_feedback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sdfgi_bounce_feedback", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sdfgi_read_sky_light", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_sdfgi_reading_sky_light", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_sdfgi_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sdfgi_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sdfgi_normal_bias", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bias", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sdfgi_normal_bias", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sdfgi_probe_bias", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bias", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sdfgi_probe_bias", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_glow_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_glow_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_glow_level", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "intensity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_glow_level", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_glow_normalized", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "normalize", + "type": "bool" + } + ] + }, + { + "name": "is_glow_normalized", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_glow_intensity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "intensity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_glow_intensity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_glow_strength", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "strength", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_glow_strength", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_glow_mix", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mix", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_glow_mix", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_glow_bloom", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_glow_bloom", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_glow_blend_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Environment.GlowBlendMode" + } + ] + }, + { + "name": "get_glow_blend_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Environment.GlowBlendMode" + } + }, + { + "name": "set_glow_hdr_bleed_threshold", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "threshold", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_glow_hdr_bleed_threshold", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_glow_hdr_bleed_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_glow_hdr_bleed_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_glow_hdr_luminance_cap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_glow_hdr_luminance_cap", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fog_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_fog_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_fog_light_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "light_color", + "type": "Color" + } + ] + }, + { + "name": "get_fog_light_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_fog_light_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "light_energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fog_light_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fog_sun_scatter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sun_scatter", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fog_sun_scatter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fog_density", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "density", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fog_density", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fog_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fog_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fog_height_density", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height_density", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fog_height_density", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fog_aerial_perspective", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "aerial_perspective", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fog_aerial_perspective", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_volumetric_fog_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_volumetric_fog_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_volumetric_fog_light", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_volumetric_fog_light", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_volumetric_fog_density", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "density", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_volumetric_fog_density", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_volumetric_fog_light_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "begin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_volumetric_fog_light_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_volumetric_fog_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_volumetric_fog_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_volumetric_fog_detail_spread", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "detail_spread", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_volumetric_fog_detail_spread", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_volumetric_fog_gi_inject", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gi_inject", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_volumetric_fog_gi_inject", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_volumetric_fog_temporal_reprojection_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_volumetric_fog_temporal_reprojection_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_volumetric_fog_temporal_reprojection_amount", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "temporal_reprojection_amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_volumetric_fog_temporal_reprojection_amount", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_adjustment_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_adjustment_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_adjustment_brightness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "brightness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_adjustment_brightness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_adjustment_contrast", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "contrast", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_adjustment_contrast", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_adjustment_saturation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "saturation", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_adjustment_saturation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_adjustment_color_correction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color_correction", + "type": "Texture" + } + ] + }, + { + "name": "get_adjustment_color_correction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture" + } + } + ], + "properties": [ + { + "type": "int", + "name": "background_mode", + "setter": "set_background", + "getter": "get_background", + "index": -1 + }, + { + "type": "Color", + "name": "background_color", + "setter": "set_bg_color", + "getter": "get_bg_color", + "index": -1 + }, + { + "type": "float", + "name": "background_energy", + "setter": "set_bg_energy", + "getter": "get_bg_energy", + "index": -1 + }, + { + "type": "int", + "name": "background_canvas_max_layer", + "setter": "set_canvas_max_layer", + "getter": "get_canvas_max_layer", + "index": -1 + }, + { + "type": "int", + "name": "background_camera_feed_id", + "setter": "set_camera_feed_id", + "getter": "get_camera_feed_id", + "index": -1 + }, + { + "type": "Sky", + "name": "sky", + "setter": "set_sky", + "getter": "get_sky", + "index": -1 + }, + { + "type": "float", + "name": "sky_custom_fov", + "setter": "set_sky_custom_fov", + "getter": "get_sky_custom_fov", + "index": -1 + }, + { + "type": "Vector3", + "name": "sky_rotation", + "setter": "set_sky_rotation", + "getter": "get_sky_rotation", + "index": -1 + }, + { + "type": "int", + "name": "ambient_light_source", + "setter": "set_ambient_source", + "getter": "get_ambient_source", + "index": -1 + }, + { + "type": "Color", + "name": "ambient_light_color", + "setter": "set_ambient_light_color", + "getter": "get_ambient_light_color", + "index": -1 + }, + { + "type": "float", + "name": "ambient_light_sky_contribution", + "setter": "set_ambient_light_sky_contribution", + "getter": "get_ambient_light_sky_contribution", + "index": -1 + }, + { + "type": "float", + "name": "ambient_light_energy", + "setter": "set_ambient_light_energy", + "getter": "get_ambient_light_energy", + "index": -1 + }, + { + "type": "Color", + "name": "ambient_light_occlusion_color", + "setter": "set_ao_color", + "getter": "get_ao_color", + "index": -1 + }, + { + "type": "int", + "name": "reflected_light_source", + "setter": "set_reflection_source", + "getter": "get_reflection_source", + "index": -1 + }, + { + "type": "int", + "name": "tonemap_mode", + "setter": "set_tonemapper", + "getter": "get_tonemapper", + "index": -1 + }, + { + "type": "float", + "name": "tonemap_exposure", + "setter": "set_tonemap_exposure", + "getter": "get_tonemap_exposure", + "index": -1 + }, + { + "type": "float", + "name": "tonemap_white", + "setter": "set_tonemap_white", + "getter": "get_tonemap_white", + "index": -1 + }, + { + "type": "bool", + "name": "auto_exposure_enabled", + "setter": "set_tonemap_auto_exposure_enabled", + "getter": "is_tonemap_auto_exposure_enabled", + "index": -1 + }, + { + "type": "float", + "name": "auto_exposure_scale", + "setter": "set_tonemap_auto_exposure_grey", + "getter": "get_tonemap_auto_exposure_grey", + "index": -1 + }, + { + "type": "float", + "name": "auto_exposure_min_luma", + "setter": "set_tonemap_auto_exposure_min", + "getter": "get_tonemap_auto_exposure_min", + "index": -1 + }, + { + "type": "float", + "name": "auto_exposure_max_luma", + "setter": "set_tonemap_auto_exposure_max", + "getter": "get_tonemap_auto_exposure_max", + "index": -1 + }, + { + "type": "float", + "name": "auto_exposure_speed", + "setter": "set_tonemap_auto_exposure_speed", + "getter": "get_tonemap_auto_exposure_speed", + "index": -1 + }, + { + "type": "bool", + "name": "ss_reflections_enabled", + "setter": "set_ssr_enabled", + "getter": "is_ssr_enabled", + "index": -1 + }, + { + "type": "int", + "name": "ss_reflections_max_steps", + "setter": "set_ssr_max_steps", + "getter": "get_ssr_max_steps", + "index": -1 + }, + { + "type": "float", + "name": "ss_reflections_fade_in", + "setter": "set_ssr_fade_in", + "getter": "get_ssr_fade_in", + "index": -1 + }, + { + "type": "float", + "name": "ss_reflections_fade_out", + "setter": "set_ssr_fade_out", + "getter": "get_ssr_fade_out", + "index": -1 + }, + { + "type": "float", + "name": "ss_reflections_depth_tolerance", + "setter": "set_ssr_depth_tolerance", + "getter": "get_ssr_depth_tolerance", + "index": -1 + }, + { + "type": "bool", + "name": "ssao_enabled", + "setter": "set_ssao_enabled", + "getter": "is_ssao_enabled", + "index": -1 + }, + { + "type": "float", + "name": "ssao_radius", + "setter": "set_ssao_radius", + "getter": "get_ssao_radius", + "index": -1 + }, + { + "type": "float", + "name": "ssao_intensity", + "setter": "set_ssao_intensity", + "getter": "get_ssao_intensity", + "index": -1 + }, + { + "type": "float", + "name": "ssao_power", + "setter": "set_ssao_power", + "getter": "get_ssao_power", + "index": -1 + }, + { + "type": "float", + "name": "ssao_detail", + "setter": "set_ssao_detail", + "getter": "get_ssao_detail", + "index": -1 + }, + { + "type": "float", + "name": "ssao_horizon", + "setter": "set_ssao_horizon", + "getter": "get_ssao_horizon", + "index": -1 + }, + { + "type": "float", + "name": "ssao_sharpness", + "setter": "set_ssao_sharpness", + "getter": "get_ssao_sharpness", + "index": -1 + }, + { + "type": "float", + "name": "ssao_light_affect", + "setter": "set_ssao_direct_light_affect", + "getter": "get_ssao_direct_light_affect", + "index": -1 + }, + { + "type": "float", + "name": "ssao_ao_channel_affect", + "setter": "set_ssao_ao_channel_affect", + "getter": "get_ssao_ao_channel_affect", + "index": -1 + }, + { + "type": "bool", + "name": "sdfgi_enabled", + "setter": "set_sdfgi_enabled", + "getter": "is_sdfgi_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "sdfgi_use_occlusion", + "setter": "set_sdfgi_use_occlusion", + "getter": "is_sdfgi_using_occlusion", + "index": -1 + }, + { + "type": "bool", + "name": "sdfgi_read_sky_light", + "setter": "set_sdfgi_read_sky_light", + "getter": "is_sdfgi_reading_sky_light", + "index": -1 + }, + { + "type": "float", + "name": "sdfgi_bounce_feedback", + "setter": "set_sdfgi_bounce_feedback", + "getter": "get_sdfgi_bounce_feedback", + "index": -1 + }, + { + "type": "int", + "name": "sdfgi_cascades", + "setter": "set_sdfgi_cascades", + "getter": "get_sdfgi_cascades", + "index": -1 + }, + { + "type": "float", + "name": "sdfgi_min_cell_size", + "setter": "set_sdfgi_min_cell_size", + "getter": "get_sdfgi_min_cell_size", + "index": -1 + }, + { + "type": "float", + "name": "sdfgi_cascade0_distance", + "setter": "set_sdfgi_cascade0_distance", + "getter": "get_sdfgi_cascade0_distance", + "index": -1 + }, + { + "type": "float", + "name": "sdfgi_max_distance", + "setter": "set_sdfgi_max_distance", + "getter": "get_sdfgi_max_distance", + "index": -1 + }, + { + "type": "int", + "name": "sdfgi_y_scale", + "setter": "set_sdfgi_y_scale", + "getter": "get_sdfgi_y_scale", + "index": -1 + }, + { + "type": "float", + "name": "sdfgi_energy", + "setter": "set_sdfgi_energy", + "getter": "get_sdfgi_energy", + "index": -1 + }, + { + "type": "float", + "name": "sdfgi_normal_bias", + "setter": "set_sdfgi_normal_bias", + "getter": "get_sdfgi_normal_bias", + "index": -1 + }, + { + "type": "float", + "name": "sdfgi_probe_bias", + "setter": "set_sdfgi_probe_bias", + "getter": "get_sdfgi_probe_bias", + "index": -1 + }, + { + "type": "bool", + "name": "glow_enabled", + "setter": "set_glow_enabled", + "getter": "is_glow_enabled", + "index": -1 + }, + { + "type": "float", + "name": "glow_levels/1", + "setter": "set_glow_level", + "getter": "get_glow_level", + "index": 0 + }, + { + "type": "float", + "name": "glow_levels/2", + "setter": "set_glow_level", + "getter": "get_glow_level", + "index": 1 + }, + { + "type": "float", + "name": "glow_levels/3", + "setter": "set_glow_level", + "getter": "get_glow_level", + "index": 2 + }, + { + "type": "float", + "name": "glow_levels/4", + "setter": "set_glow_level", + "getter": "get_glow_level", + "index": 3 + }, + { + "type": "float", + "name": "glow_levels/5", + "setter": "set_glow_level", + "getter": "get_glow_level", + "index": 4 + }, + { + "type": "float", + "name": "glow_levels/6", + "setter": "set_glow_level", + "getter": "get_glow_level", + "index": 5 + }, + { + "type": "float", + "name": "glow_levels/7", + "setter": "set_glow_level", + "getter": "get_glow_level", + "index": 6 + }, + { + "type": "bool", + "name": "glow_normalized", + "setter": "set_glow_normalized", + "getter": "is_glow_normalized", + "index": -1 + }, + { + "type": "float", + "name": "glow_intensity", + "setter": "set_glow_intensity", + "getter": "get_glow_intensity", + "index": -1 + }, + { + "type": "float", + "name": "glow_strength", + "setter": "set_glow_strength", + "getter": "get_glow_strength", + "index": -1 + }, + { + "type": "float", + "name": "glow_mix", + "setter": "set_glow_mix", + "getter": "get_glow_mix", + "index": -1 + }, + { + "type": "float", + "name": "glow_bloom", + "setter": "set_glow_bloom", + "getter": "get_glow_bloom", + "index": -1 + }, + { + "type": "int", + "name": "glow_blend_mode", + "setter": "set_glow_blend_mode", + "getter": "get_glow_blend_mode", + "index": -1 + }, + { + "type": "float", + "name": "glow_hdr_threshold", + "setter": "set_glow_hdr_bleed_threshold", + "getter": "get_glow_hdr_bleed_threshold", + "index": -1 + }, + { + "type": "float", + "name": "glow_hdr_scale", + "setter": "set_glow_hdr_bleed_scale", + "getter": "get_glow_hdr_bleed_scale", + "index": -1 + }, + { + "type": "float", + "name": "glow_hdr_luminance_cap", + "setter": "set_glow_hdr_luminance_cap", + "getter": "get_glow_hdr_luminance_cap", + "index": -1 + }, + { + "type": "bool", + "name": "fog_enabled", + "setter": "set_fog_enabled", + "getter": "is_fog_enabled", + "index": -1 + }, + { + "type": "Color", + "name": "fog_light_color", + "setter": "set_fog_light_color", + "getter": "get_fog_light_color", + "index": -1 + }, + { + "type": "float", + "name": "fog_light_energy", + "setter": "set_fog_light_energy", + "getter": "get_fog_light_energy", + "index": -1 + }, + { + "type": "float", + "name": "fog_sun_scatter", + "setter": "set_fog_sun_scatter", + "getter": "get_fog_sun_scatter", + "index": -1 + }, + { + "type": "float", + "name": "fog_density", + "setter": "set_fog_density", + "getter": "get_fog_density", + "index": -1 + }, + { + "type": "float", + "name": "fog_aerial_perspective", + "setter": "set_fog_aerial_perspective", + "getter": "get_fog_aerial_perspective", + "index": -1 + }, + { + "type": "float", + "name": "fog_height", + "setter": "set_fog_height", + "getter": "get_fog_height", + "index": -1 + }, + { + "type": "float", + "name": "fog_height_density", + "setter": "set_fog_height_density", + "getter": "get_fog_height_density", + "index": -1 + }, + { + "type": "bool", + "name": "volumetric_fog_enabled", + "setter": "set_volumetric_fog_enabled", + "getter": "is_volumetric_fog_enabled", + "index": -1 + }, + { + "type": "float", + "name": "volumetric_fog_density", + "setter": "set_volumetric_fog_density", + "getter": "get_volumetric_fog_density", + "index": -1 + }, + { + "type": "Color", + "name": "volumetric_fog_light", + "setter": "set_volumetric_fog_light", + "getter": "get_volumetric_fog_light", + "index": -1 + }, + { + "type": "float", + "name": "volumetric_fog_light_energy", + "setter": "set_volumetric_fog_light_energy", + "getter": "get_volumetric_fog_light_energy", + "index": -1 + }, + { + "type": "float", + "name": "volumetric_fog_gi_inject", + "setter": "set_volumetric_fog_gi_inject", + "getter": "get_volumetric_fog_gi_inject", + "index": -1 + }, + { + "type": "float", + "name": "volumetric_fog_length", + "setter": "set_volumetric_fog_length", + "getter": "get_volumetric_fog_length", + "index": -1 + }, + { + "type": "float", + "name": "volumetric_fog_detail_spread", + "setter": "set_volumetric_fog_detail_spread", + "getter": "get_volumetric_fog_detail_spread", + "index": -1 + }, + { + "type": "bool", + "name": "volumetric_fog_temporal_reprojection_enabled", + "setter": "set_volumetric_fog_temporal_reprojection_enabled", + "getter": "is_volumetric_fog_temporal_reprojection_enabled", + "index": -1 + }, + { + "type": "float", + "name": "volumetric_fog_temporal_reprojection_amount", + "setter": "set_volumetric_fog_temporal_reprojection_amount", + "getter": "get_volumetric_fog_temporal_reprojection_amount", + "index": -1 + }, + { + "type": "bool", + "name": "adjustment_enabled", + "setter": "set_adjustment_enabled", + "getter": "is_adjustment_enabled", + "index": -1 + }, + { + "type": "float", + "name": "adjustment_brightness", + "setter": "set_adjustment_brightness", + "getter": "get_adjustment_brightness", + "index": -1 + }, + { + "type": "float", + "name": "adjustment_contrast", + "setter": "set_adjustment_contrast", + "getter": "get_adjustment_contrast", + "index": -1 + }, + { + "type": "float", + "name": "adjustment_saturation", + "setter": "set_adjustment_saturation", + "getter": "get_adjustment_saturation", + "index": -1 + }, + { + "type": "Texture2D,Texture3D", + "name": "adjustment_color_correction", + "setter": "set_adjustment_color_correction", + "getter": "get_adjustment_color_correction", + "index": -1 + } + ] + }, + { + "name": "Expression", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "parse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "expression", + "type": "String" + }, + { + "name": "input_names", + "type": "PackedStringArray", + "default_value": "PackedStringArray()" + } + ] + }, + { + "name": "execute", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1575113586, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "inputs", + "type": "Array", + "default_value": "[]" + }, + { + "name": "base_instance", + "type": "Object", + "default_value": "null" + }, + { + "name": "show_error", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "has_execute_failed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_error_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ] + }, + { + "name": "FileDialog", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "ConfirmationDialog", + "api_type": "core", + "enums": [ + { + "name": "FileMode", + "values": [ + { + "name": "FILE_MODE_OPEN_FILE", + "value": 0 + }, + { + "name": "FILE_MODE_OPEN_FILES", + "value": 1 + }, + { + "name": "FILE_MODE_OPEN_DIR", + "value": 2 + }, + { + "name": "FILE_MODE_OPEN_ANY", + "value": 3 + }, + { + "name": "FILE_MODE_SAVE_FILE", + "value": 4 + } + ] + }, + { + "name": "Access", + "values": [ + { + "name": "ACCESS_RESOURCES", + "value": 0 + }, + { + "name": "ACCESS_USERDATA", + "value": 1 + }, + { + "name": "ACCESS_FILESYSTEM", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "clear_filters", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "add_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filter", + "type": "String" + } + ] + }, + { + "name": "set_filters", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filters", + "type": "PackedStringArray" + } + ] + }, + { + "name": "get_filters", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "get_current_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_current_file", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_current_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_current_dir", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "dir", + "type": "String" + } + ] + }, + { + "name": "set_current_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "set_current_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "set_mode_overrides_title", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "override", + "type": "bool" + } + ] + }, + { + "name": "is_mode_overriding_title", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_file_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::FileDialog.FileMode" + } + ] + }, + { + "name": "get_file_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::FileDialog.FileMode" + } + }, + { + "name": "get_vbox", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "VBoxContainer" + } + }, + { + "name": "get_line_edit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "LineEdit" + } + }, + { + "name": "set_access", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "access", + "type": "enum::FileDialog.Access" + } + ] + }, + { + "name": "get_access", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::FileDialog.Access" + } + }, + { + "name": "set_show_hidden_files", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "show", + "type": "bool" + } + ] + }, + { + "name": "is_showing_hidden_files", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "deselect_all", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "invalidate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "signals": [ + { + "name": "files_selected", + "arguments": [ + { + "name": "paths", + "type": "PackedStringArray" + } + ] + }, + { + "name": "dir_selected", + "arguments": [ + { + "name": "dir", + "type": "String" + } + ] + }, + { + "name": "file_selected", + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "mode_overrides_title", + "setter": "set_mode_overrides_title", + "getter": "is_mode_overriding_title", + "index": -1 + }, + { + "type": "int", + "name": "file_mode", + "setter": "set_file_mode", + "getter": "get_file_mode", + "index": -1 + }, + { + "type": "int", + "name": "access", + "setter": "set_access", + "getter": "get_access", + "index": -1 + }, + { + "type": "PackedStringArray", + "name": "filters", + "setter": "set_filters", + "getter": "get_filters", + "index": -1 + }, + { + "type": "bool", + "name": "show_hidden_files", + "setter": "set_show_hidden_files", + "getter": "is_showing_hidden_files", + "index": -1 + }, + { + "type": "String", + "name": "current_dir", + "setter": "set_current_dir", + "getter": "get_current_dir", + "index": -1 + }, + { + "type": "String", + "name": "current_file", + "setter": "set_current_file", + "getter": "get_current_file", + "index": -1 + }, + { + "type": "String", + "name": "current_path", + "setter": "set_current_path", + "getter": "get_current_path", + "index": -1 + } + ] + }, + { + "name": "FileSystemDock", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "VBoxContainer", + "api_type": "editor", + "methods": [ + { + "name": "navigate_to_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + } + ], + "signals": [ + { + "name": "display_mode_changed" + }, + { + "name": "inherit", + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "files_moved", + "arguments": [ + { + "name": "old_file", + "type": "String" + }, + { + "name": "new_file", + "type": "String" + } + ] + }, + { + "name": "folder_removed", + "arguments": [ + { + "name": "folder", + "type": "String" + } + ] + }, + { + "name": "instance", + "arguments": [ + { + "name": "files", + "type": "PackedStringArray" + } + ] + }, + { + "name": "folder_moved", + "arguments": [ + { + "name": "old_folder", + "type": "String" + }, + { + "name": "new_file", + "type": "String" + } + ] + }, + { + "name": "file_removed", + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + } + ] + }, + { + "name": "Font", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "SpacingType", + "values": [ + { + "name": "SPACING_TOP", + "value": 0 + }, + { + "name": "SPACING_BOTTOM", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "add_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "data", + "type": "FontData" + } + ] + }, + { + "name": "set_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "data", + "type": "FontData" + } + ] + }, + { + "name": "get_data_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "FontData" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_ascent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_descent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_underline_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_underline_thickness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_spacing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_spacing", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "type", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_string_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "text", + "type": "String" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_multiline_string_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 2732391244, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "text", + "type": "String" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "flags", + "type": "int", + "meta": "uint8", + "default_value": "48" + } + ] + }, + { + "name": "draw_string", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 4097940366, + "arguments": [ + { + "name": "canvas_item", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "text", + "type": "String" + }, + { + "name": "align", + "type": "enum::HAlign", + "default_value": "0" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "outline_modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 0)" + }, + { + "name": "flags", + "type": "int", + "meta": "uint8", + "default_value": "3" + } + ] + }, + { + "name": "draw_multiline_string", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 4189496399, + "arguments": [ + { + "name": "canvas_item", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "text", + "type": "String" + }, + { + "name": "align", + "type": "enum::HAlign", + "default_value": "0" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "max_lines", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "outline_modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 0)" + }, + { + "name": "flags", + "type": "int", + "meta": "uint8", + "default_value": "51" + } + ] + }, + { + "name": "has_char", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "char", + "type": "int" + } + ] + }, + { + "name": "get_supported_chars", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_char_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1474135340, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "char", + "type": "int" + }, + { + "name": "next", + "type": "int", + "default_value": "0" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "draw_char", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 2061835443, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "canvas_item", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "char", + "type": "int" + }, + { + "name": "next", + "type": "int", + "default_value": "0" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "outline_modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 0)" + } + ] + }, + { + "name": "update_changes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "properties": [ + { + "type": "int", + "name": "extra_spacing_top", + "setter": "set_spacing", + "getter": "get_spacing", + "index": 0 + }, + { + "type": "int", + "name": "extra_spacing_bottom", + "setter": "set_spacing", + "getter": "get_spacing", + "index": 1 + } + ] + }, + { + "name": "FontData", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "SpacingType", + "values": [ + { + "name": "SPACING_GLYPH", + "value": 0 + }, + { + "name": "SPACING_SPACE", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "load_resource", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "filename", + "type": "String" + }, + { + "name": "base_size", + "type": "int", + "meta": "int32", + "default_value": "16" + } + ] + }, + { + "name": "load_memory", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "data", + "type": "PackedByteArray" + }, + { + "name": "type", + "type": "String" + }, + { + "name": "base_size", + "type": "int", + "meta": "int32", + "default_value": "16" + } + ] + }, + { + "name": "new_bitmap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "height", + "type": "float", + "meta": "float" + }, + { + "name": "ascent", + "type": "float", + "meta": "float" + }, + { + "name": "base_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "bitmap_add_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture" + } + ] + }, + { + "name": "bitmap_add_char", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "char", + "type": "int" + }, + { + "name": "texture_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "align", + "type": "Vector2" + }, + { + "name": "advance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "bitmap_add_kerning_pair", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "A", + "type": "int" + }, + { + "name": "B", + "type": "int" + }, + { + "name": "kerning", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_data_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_data_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_ascent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_descent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_underline_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_underline_thickness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_spacing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_spacing", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "type", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_antialiased", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "antialiased", + "type": "bool" + } + ] + }, + { + "name": "get_antialiased", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_variation_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "set_variation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "get_variation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "double" + }, + "arguments": [ + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "set_hinting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hinting", + "type": "enum::TextServer.Hinting" + } + ] + }, + { + "name": "get_hinting", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextServer.Hinting" + } + }, + { + "name": "set_force_autohinter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_force_autohinter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_distance_field_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance_field", + "type": "bool" + } + ] + }, + { + "name": "get_distance_field_hint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "has_char", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "char", + "type": "int" + } + ] + }, + { + "name": "get_supported_chars", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_glyph_advance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "uint32" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_glyph_kerning", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "index_a", + "type": "int", + "meta": "uint32" + }, + { + "name": "index_b", + "type": "int", + "meta": "uint32" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_base_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "has_outline", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_language_supported", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "set_language_support_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "language", + "type": "String" + }, + { + "name": "supported", + "type": "bool" + } + ] + }, + { + "name": "get_language_support_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "remove_language_support_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_language_support_overrides", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "is_script_supported", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "script", + "type": "String" + } + ] + }, + { + "name": "set_script_support_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "script", + "type": "String" + }, + { + "name": "supported", + "type": "bool" + } + ] + }, + { + "name": "get_script_support_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "script", + "type": "String" + } + ] + }, + { + "name": "remove_script_support_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "script", + "type": "String" + } + ] + }, + { + "name": "get_script_support_overrides", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "get_glyph_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "char", + "type": "int" + }, + { + "name": "variation_selector", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "draw_glyph", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 177157229, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "index", + "type": "int", + "meta": "uint32" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "draw_glyph_outline", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 178343150, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "index", + "type": "int", + "meta": "uint32" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "data_path", + "setter": "set_data_path", + "getter": "get_data_path", + "index": -1 + }, + { + "type": "bool", + "name": "antialiased", + "setter": "set_antialiased", + "getter": "get_antialiased", + "index": -1 + }, + { + "type": "bool", + "name": "force_autohinter", + "setter": "set_force_autohinter", + "getter": "get_force_autohinter", + "index": -1 + }, + { + "type": "bool", + "name": "distance_field_hint", + "setter": "set_distance_field_hint", + "getter": "get_distance_field_hint", + "index": -1 + }, + { + "type": "int", + "name": "hinting", + "setter": "set_hinting", + "getter": "get_hinting", + "index": -1 + }, + { + "type": "int", + "name": "extra_spacing_glyph", + "setter": "set_spacing", + "getter": "get_spacing", + "index": 0 + }, + { + "type": "int", + "name": "extra_spacing_space", + "setter": "set_spacing", + "getter": "get_spacing", + "index": 1 + } + ] + }, + { + "name": "GDNative", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_library", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "library", + "type": "GDNativeLibrary" + } + ] + }, + { + "name": "get_library", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "GDNativeLibrary" + } + }, + { + "name": "initialize", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "terminate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "call_native", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "calling_type", + "type": "StringName" + }, + { + "name": "procedure_name", + "type": "StringName" + }, + { + "name": "arguments", + "type": "Array" + } + ] + } + ], + "properties": [ + { + "type": "GDNativeLibrary", + "name": "library", + "setter": "set_library", + "getter": "get_library", + "index": -1 + } + ] + }, + { + "name": "GDNativeLibrary", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_config_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "ConfigFile" + } + }, + { + "name": "set_config_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "config_file", + "type": "ConfigFile" + } + ] + }, + { + "name": "get_current_library_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_current_dependencies", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "should_load_once", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_singleton", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_symbol_prefix", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "is_reloadable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_load_once", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "load_once", + "type": "bool" + } + ] + }, + { + "name": "set_singleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "singleton", + "type": "bool" + } + ] + }, + { + "name": "set_symbol_prefix", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "symbol_prefix", + "type": "String" + } + ] + }, + { + "name": "set_reloadable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "reloadable", + "type": "bool" + } + ] + } + ], + "properties": [ + { + "type": "ConfigFile", + "name": "config_file", + "setter": "set_config_file", + "getter": "get_config_file", + "index": -1 + }, + { + "type": "bool", + "name": "load_once", + "setter": "set_load_once", + "getter": "should_load_once", + "index": -1 + }, + { + "type": "bool", + "name": "singleton", + "setter": "set_singleton", + "getter": "is_singleton", + "index": -1 + }, + { + "type": "String", + "name": "symbol_prefix", + "setter": "set_symbol_prefix", + "getter": "get_symbol_prefix", + "index": -1 + }, + { + "type": "bool", + "name": "reloadable", + "setter": "set_reloadable", + "getter": "is_reloadable", + "index": -1 + } + ] + }, + { + "name": "GDScript", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Script", + "api_type": "core", + "methods": [ + { + "name": "new", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135338151, + "return_value": { + "type": "Variant" + } + }, + { + "name": "get_as_byte_code", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedByteArray" + } + } + ] + }, + { + "name": "GDScriptEditorTranslationParserPlugin", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "EditorTranslationParserPlugin", + "api_type": "core" + }, + { + "name": "GDScriptNativeClass", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "new", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Variant" + } + } + ] + }, + { + "name": "GLTFAccessor", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_buffer_view", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_buffer_view", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "buffer_view", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_byte_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_byte_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "byte_offset", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_component_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_component_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "component_type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_normalized", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_normalized", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "normalized", + "type": "bool" + } + ] + }, + { + "name": "get_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_min", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedFloat64Array" + } + }, + { + "name": "set_min", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "min", + "type": "PackedFloat64Array" + } + ] + }, + { + "name": "get_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedFloat64Array" + } + }, + { + "name": "set_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max", + "type": "PackedFloat64Array" + } + ] + }, + { + "name": "get_sparse_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_sparse_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sparse_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_sparse_indices_buffer_view", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_sparse_indices_buffer_view", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sparse_indices_buffer_view", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_sparse_indices_byte_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_sparse_indices_byte_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sparse_indices_byte_offset", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_sparse_indices_component_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_sparse_indices_component_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sparse_indices_component_type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_sparse_values_buffer_view", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_sparse_values_buffer_view", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sparse_values_buffer_view", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_sparse_values_byte_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_sparse_values_byte_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sparse_values_byte_offset", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "buffer_view", + "setter": "set_buffer_view", + "getter": "get_buffer_view", + "index": -1 + }, + { + "type": "int", + "name": "byte_offset", + "setter": "set_byte_offset", + "getter": "get_byte_offset", + "index": -1 + }, + { + "type": "int", + "name": "component_type", + "setter": "set_component_type", + "getter": "get_component_type", + "index": -1 + }, + { + "type": "bool", + "name": "normalized", + "setter": "set_normalized", + "getter": "get_normalized", + "index": -1 + }, + { + "type": "int", + "name": "count", + "setter": "set_count", + "getter": "get_count", + "index": -1 + }, + { + "type": "int", + "name": "type", + "setter": "set_type", + "getter": "get_type", + "index": -1 + }, + { + "type": "PackedFloat64Array", + "name": "min", + "setter": "set_min", + "getter": "get_min", + "index": -1 + }, + { + "type": "PackedFloat64Array", + "name": "max", + "setter": "set_max", + "getter": "get_max", + "index": -1 + }, + { + "type": "int", + "name": "sparse_count", + "setter": "set_sparse_count", + "getter": "get_sparse_count", + "index": -1 + }, + { + "type": "int", + "name": "sparse_indices_buffer_view", + "setter": "set_sparse_indices_buffer_view", + "getter": "get_sparse_indices_buffer_view", + "index": -1 + }, + { + "type": "int", + "name": "sparse_indices_byte_offset", + "setter": "set_sparse_indices_byte_offset", + "getter": "get_sparse_indices_byte_offset", + "index": -1 + }, + { + "type": "int", + "name": "sparse_indices_component_type", + "setter": "set_sparse_indices_component_type", + "getter": "get_sparse_indices_component_type", + "index": -1 + }, + { + "type": "int", + "name": "sparse_values_buffer_view", + "setter": "set_sparse_values_buffer_view", + "getter": "get_sparse_values_buffer_view", + "index": -1 + }, + { + "type": "int", + "name": "sparse_values_byte_offset", + "setter": "set_sparse_values_byte_offset", + "getter": "get_sparse_values_byte_offset", + "index": -1 + } + ] + }, + { + "name": "GLTFAnimation", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_loop", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_loop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "loop", + "type": "bool" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "loop", + "setter": "set_loop", + "getter": "get_loop", + "index": -1 + } + ] + }, + { + "name": "GLTFBufferView", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "buffer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_byte_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_byte_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "byte_offset", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_byte_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_byte_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "byte_length", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_byte_stride", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_byte_stride", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "byte_stride", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_indices", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_indices", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "indices", + "type": "bool" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "buffer", + "setter": "set_buffer", + "getter": "get_buffer", + "index": -1 + }, + { + "type": "int", + "name": "byte_offset", + "setter": "set_byte_offset", + "getter": "get_byte_offset", + "index": -1 + }, + { + "type": "int", + "name": "byte_length", + "setter": "set_byte_length", + "getter": "get_byte_length", + "index": -1 + }, + { + "type": "int", + "name": "byte_stride", + "setter": "set_byte_stride", + "getter": "get_byte_stride", + "index": -1 + }, + { + "type": "bool", + "name": "indices", + "setter": "set_indices", + "getter": "get_indices", + "index": -1 + } + ] + }, + { + "name": "GLTFCamera", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_perspective", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_perspective", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "perspective", + "type": "bool" + } + ] + }, + { + "name": "get_fov_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fov_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fov_size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_zfar", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_zfar", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "zfar", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_znear", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_znear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "znear", + "type": "float", + "meta": "float" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "perspective", + "setter": "set_perspective", + "getter": "get_perspective", + "index": -1 + }, + { + "type": "float", + "name": "fov_size", + "setter": "set_fov_size", + "getter": "get_fov_size", + "index": -1 + }, + { + "type": "float", + "name": "zfar", + "setter": "set_zfar", + "getter": "get_zfar", + "index": -1 + }, + { + "type": "float", + "name": "znear", + "setter": "set_znear", + "getter": "get_znear", + "index": -1 + } + ] + }, + { + "name": "GLTFDocument", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core" + }, + { + "name": "GLTFLight", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_intensity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_intensity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "intensity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "set_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "String" + } + ] + }, + { + "name": "get_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "range", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_inner_cone_angle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_inner_cone_angle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "inner_cone_angle", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_outer_cone_angle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_outer_cone_angle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "outer_cone_angle", + "type": "float", + "meta": "float" + } + ] + } + ], + "properties": [ + { + "type": "Color", + "name": "color", + "setter": "set_color", + "getter": "get_color", + "index": -1 + }, + { + "type": "float", + "name": "intensity", + "setter": "set_intensity", + "getter": "get_intensity", + "index": -1 + }, + { + "type": "String", + "name": "type", + "setter": "set_type", + "getter": "get_type", + "index": -1 + }, + { + "type": "float", + "name": "range", + "setter": "set_range", + "getter": "get_range", + "index": -1 + }, + { + "type": "float", + "name": "inner_cone_angle", + "setter": "set_inner_cone_angle", + "getter": "get_inner_cone_angle", + "index": -1 + }, + { + "type": "float", + "name": "outer_cone_angle", + "setter": "set_outer_cone_angle", + "getter": "get_outer_cone_angle", + "index": -1 + } + ] + }, + { + "name": "GLTFMesh", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "editor", + "methods": [ + { + "name": "get_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "EditorSceneImporterMesh" + } + }, + { + "name": "set_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh", + "type": "EditorSceneImporterMesh" + } + ] + }, + { + "name": "get_blend_weights", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedFloat32Array" + } + }, + { + "name": "set_blend_weights", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "blend_weights", + "type": "PackedFloat32Array" + } + ] + } + ], + "properties": [ + { + "type": "Object", + "name": "mesh", + "setter": "set_mesh", + "getter": "get_mesh", + "index": -1 + }, + { + "type": "PackedFloat32Array", + "name": "blend_weights", + "setter": "set_blend_weights", + "getter": "get_blend_weights", + "index": -1 + } + ] + }, + { + "name": "GLTFNode", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_parent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_parent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "parent", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_xform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "set_xform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "xform", + "type": "Transform3D" + } + ] + }, + { + "name": "get_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_camera", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_camera", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "camera", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_skin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_skin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skin", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_skeleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_skeleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skeleton", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_joint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_joint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "joint", + "type": "bool" + } + ] + }, + { + "name": "get_translation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_translation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "translation", + "type": "Vector3" + } + ] + }, + { + "name": "get_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Quaternion" + } + }, + { + "name": "set_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rotation", + "type": "Quaternion" + } + ] + }, + { + "name": "get_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "Vector3" + } + ] + }, + { + "name": "get_children", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_children", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "children", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_light", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_light", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "light", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "parent", + "setter": "set_parent", + "getter": "get_parent", + "index": -1 + }, + { + "type": "int", + "name": "height", + "setter": "set_height", + "getter": "get_height", + "index": -1 + }, + { + "type": "Transform3D", + "name": "xform", + "setter": "set_xform", + "getter": "get_xform", + "index": -1 + }, + { + "type": "int", + "name": "mesh", + "setter": "set_mesh", + "getter": "get_mesh", + "index": -1 + }, + { + "type": "int", + "name": "camera", + "setter": "set_camera", + "getter": "get_camera", + "index": -1 + }, + { + "type": "int", + "name": "skin", + "setter": "set_skin", + "getter": "get_skin", + "index": -1 + }, + { + "type": "int", + "name": "skeleton", + "setter": "set_skeleton", + "getter": "get_skeleton", + "index": -1 + }, + { + "type": "bool", + "name": "joint", + "setter": "set_joint", + "getter": "get_joint", + "index": -1 + }, + { + "type": "Vector3", + "name": "translation", + "setter": "set_translation", + "getter": "get_translation", + "index": -1 + }, + { + "type": "Quaternion", + "name": "rotation", + "setter": "set_rotation", + "getter": "get_rotation", + "index": -1 + }, + { + "type": "Vector3", + "name": "scale", + "setter": "set_scale", + "getter": "get_scale", + "index": -1 + }, + { + "type": "PackedInt32Array", + "name": "children", + "setter": "set_children", + "getter": "get_children", + "index": -1 + }, + { + "type": "int", + "name": "light", + "setter": "set_light", + "getter": "get_light", + "index": -1 + } + ] + }, + { + "name": "GLTFSkeleton", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_joints", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_joints", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "joints", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_roots", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_roots", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "roots", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_godot_skeleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Skeleton3D" + } + }, + { + "name": "get_unique_names", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_unique_names", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "unique_names", + "type": "Array" + } + ] + }, + { + "name": "get_godot_bone_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "set_godot_bone_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "godot_bone_node", + "type": "Dictionary" + } + ] + }, + { + "name": "get_bone_attachment_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_bone_attachment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "BoneAttachment3D" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "PackedInt32Array", + "name": "joints", + "setter": "set_joints", + "getter": "get_joints", + "index": -1 + }, + { + "type": "PackedInt32Array", + "name": "roots", + "setter": "set_roots", + "getter": "get_roots", + "index": -1 + }, + { + "type": "Array", + "name": "unique_names", + "setter": "set_unique_names", + "getter": "get_unique_names", + "index": -1 + }, + { + "type": "Dictionary", + "name": "godot_bone_node", + "setter": "set_godot_bone_node", + "getter": "get_godot_bone_node", + "index": -1 + } + ] + }, + { + "name": "GLTFSkin", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_skin_root", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_skin_root", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skin_root", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_joints_original", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_joints_original", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "joints_original", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_inverse_binds", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_inverse_binds", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "inverse_binds", + "type": "Array" + } + ] + }, + { + "name": "get_joints", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_joints", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "joints", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_non_joints", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_non_joints", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "non_joints", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_roots", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_roots", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "roots", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_skeleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_skeleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skeleton", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_joint_i_to_bone_i", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "set_joint_i_to_bone_i", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "joint_i_to_bone_i", + "type": "Dictionary" + } + ] + }, + { + "name": "get_joint_i_to_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "set_joint_i_to_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "joint_i_to_name", + "type": "Dictionary" + } + ] + }, + { + "name": "get_godot_skin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Skin" + } + }, + { + "name": "set_godot_skin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "godot_skin", + "type": "Skin" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "skin_root", + "setter": "set_skin_root", + "getter": "get_skin_root", + "index": -1 + }, + { + "type": "PackedInt32Array", + "name": "joints_original", + "setter": "set_joints_original", + "getter": "get_joints_original", + "index": -1 + }, + { + "type": "Array", + "name": "inverse_binds", + "setter": "set_inverse_binds", + "getter": "get_inverse_binds", + "index": -1 + }, + { + "type": "PackedInt32Array", + "name": "joints", + "setter": "set_joints", + "getter": "get_joints", + "index": -1 + }, + { + "type": "PackedInt32Array", + "name": "non_joints", + "setter": "set_non_joints", + "getter": "get_non_joints", + "index": -1 + }, + { + "type": "PackedInt32Array", + "name": "roots", + "setter": "set_roots", + "getter": "get_roots", + "index": -1 + }, + { + "type": "int", + "name": "skeleton", + "setter": "set_skeleton", + "getter": "get_skeleton", + "index": -1 + }, + { + "type": "Dictionary", + "name": "joint_i_to_bone_i", + "setter": "set_joint_i_to_bone_i", + "getter": "get_joint_i_to_bone_i", + "index": -1 + }, + { + "type": "Dictionary", + "name": "joint_i_to_name", + "setter": "set_joint_i_to_name", + "getter": "get_joint_i_to_name", + "index": -1 + }, + { + "type": "Object", + "name": "godot_skin", + "setter": "set_godot_skin", + "getter": "get_godot_skin", + "index": -1 + } + ] + }, + { + "name": "GLTFSpecGloss", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_diffuse_img", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Image" + } + }, + { + "name": "set_diffuse_img", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "diffuse_img", + "type": "Image" + } + ] + }, + { + "name": "get_diffuse_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_diffuse_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "diffuse_factor", + "type": "Color" + } + ] + }, + { + "name": "get_gloss_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_gloss_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gloss_factor", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_specular_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_specular_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "specular_factor", + "type": "Color" + } + ] + }, + { + "name": "get_spec_gloss_img", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Image" + } + }, + { + "name": "set_spec_gloss_img", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "spec_gloss_img", + "type": "Image" + } + ] + } + ], + "properties": [ + { + "type": "Object", + "name": "diffuse_img", + "setter": "set_diffuse_img", + "getter": "get_diffuse_img", + "index": -1 + }, + { + "type": "Color", + "name": "diffuse_factor", + "setter": "set_diffuse_factor", + "getter": "get_diffuse_factor", + "index": -1 + }, + { + "type": "float", + "name": "gloss_factor", + "setter": "set_gloss_factor", + "getter": "get_gloss_factor", + "index": -1 + }, + { + "type": "Color", + "name": "specular_factor", + "setter": "set_specular_factor", + "getter": "get_specular_factor", + "index": -1 + }, + { + "type": "Object", + "name": "spec_gloss_img", + "setter": "set_spec_gloss_img", + "getter": "get_spec_gloss_img", + "index": -1 + } + ] + }, + { + "name": "GLTFState", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_json", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "set_json", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "json", + "type": "Dictionary" + } + ] + }, + { + "name": "get_major_version", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_major_version", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "major_version", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_minor_version", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_minor_version", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "minor_version", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_glb_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedByteArray" + } + }, + { + "name": "set_glb_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "glb_data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "get_use_named_skin_binds", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_use_named_skin_binds", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "use_named_skin_binds", + "type": "bool" + } + ] + }, + { + "name": "get_nodes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_nodes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "nodes", + "type": "Array" + } + ] + }, + { + "name": "get_buffers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_buffers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "buffers", + "type": "Array" + } + ] + }, + { + "name": "get_buffer_views", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_buffer_views", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "buffer_views", + "type": "Array" + } + ] + }, + { + "name": "get_accessors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_accessors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "accessors", + "type": "Array" + } + ] + }, + { + "name": "get_meshes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_meshes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "meshes", + "type": "Array" + } + ] + }, + { + "name": "get_animation_players_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_animation_player", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "AnimationPlayer" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_materials", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_materials", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "materials", + "type": "Array" + } + ] + }, + { + "name": "get_scene_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "set_scene_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scene_name", + "type": "String" + } + ] + }, + { + "name": "get_root_nodes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_root_nodes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "root_nodes", + "type": "Array" + } + ] + }, + { + "name": "get_textures", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_textures", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "textures", + "type": "Array" + } + ] + }, + { + "name": "get_images", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_images", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "images", + "type": "Array" + } + ] + }, + { + "name": "get_skins", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_skins", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skins", + "type": "Array" + } + ] + }, + { + "name": "get_cameras", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_cameras", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "cameras", + "type": "Array" + } + ] + }, + { + "name": "get_lights", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_lights", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "lights", + "type": "Array" + } + ] + }, + { + "name": "get_unique_names", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_unique_names", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "unique_names", + "type": "Array" + } + ] + }, + { + "name": "get_unique_animation_names", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_unique_animation_names", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "unique_animation_names", + "type": "Array" + } + ] + }, + { + "name": "get_skeletons", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_skeletons", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skeletons", + "type": "Array" + } + ] + }, + { + "name": "get_skeleton_to_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "set_skeleton_to_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skeleton_to_node", + "type": "Dictionary" + } + ] + }, + { + "name": "get_animations", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_animations", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "animations", + "type": "Array" + } + ] + }, + { + "name": "get_scene_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "Dictionary", + "name": "json", + "setter": "set_json", + "getter": "get_json", + "index": -1 + }, + { + "type": "int", + "name": "major_version", + "setter": "set_major_version", + "getter": "get_major_version", + "index": -1 + }, + { + "type": "int", + "name": "minor_version", + "setter": "set_minor_version", + "getter": "get_minor_version", + "index": -1 + }, + { + "type": "PackedByteArray", + "name": "glb_data", + "setter": "set_glb_data", + "getter": "get_glb_data", + "index": -1 + }, + { + "type": "bool", + "name": "use_named_skin_binds", + "setter": "set_use_named_skin_binds", + "getter": "get_use_named_skin_binds", + "index": -1 + }, + { + "type": "Array", + "name": "nodes", + "setter": "set_nodes", + "getter": "get_nodes", + "index": -1 + }, + { + "type": "Array", + "name": "buffers", + "setter": "set_buffers", + "getter": "get_buffers", + "index": -1 + }, + { + "type": "Array", + "name": "buffer_views", + "setter": "set_buffer_views", + "getter": "get_buffer_views", + "index": -1 + }, + { + "type": "Array", + "name": "accessors", + "setter": "set_accessors", + "getter": "get_accessors", + "index": -1 + }, + { + "type": "Array", + "name": "meshes", + "setter": "set_meshes", + "getter": "get_meshes", + "index": -1 + }, + { + "type": "Array", + "name": "materials", + "setter": "set_materials", + "getter": "get_materials", + "index": -1 + }, + { + "type": "String", + "name": "scene_name", + "setter": "set_scene_name", + "getter": "get_scene_name", + "index": -1 + }, + { + "type": "PackedInt32Array", + "name": "root_nodes", + "setter": "set_root_nodes", + "getter": "get_root_nodes", + "index": -1 + }, + { + "type": "Array", + "name": "textures", + "setter": "set_textures", + "getter": "get_textures", + "index": -1 + }, + { + "type": "Array", + "name": "images", + "setter": "set_images", + "getter": "get_images", + "index": -1 + }, + { + "type": "Array", + "name": "skins", + "setter": "set_skins", + "getter": "get_skins", + "index": -1 + }, + { + "type": "Array", + "name": "cameras", + "setter": "set_cameras", + "getter": "get_cameras", + "index": -1 + }, + { + "type": "Array", + "name": "lights", + "setter": "set_lights", + "getter": "get_lights", + "index": -1 + }, + { + "type": "Array", + "name": "unique_names", + "setter": "set_unique_names", + "getter": "get_unique_names", + "index": -1 + }, + { + "type": "Array", + "name": "unique_animation_names", + "setter": "set_unique_animation_names", + "getter": "get_unique_animation_names", + "index": -1 + }, + { + "type": "Array", + "name": "skeletons", + "setter": "set_skeletons", + "getter": "get_skeletons", + "index": -1 + }, + { + "type": "Dictionary", + "name": "skeleton_to_node", + "setter": "set_skeleton_to_node", + "getter": "get_skeleton_to_node", + "index": -1 + }, + { + "type": "Array", + "name": "animations", + "setter": "set_animations", + "getter": "get_animations", + "index": -1 + } + ] + }, + { + "name": "GLTFTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_src_image", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_src_image", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "src_image", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "src_image", + "setter": "set_src_image", + "getter": "get_src_image", + "index": -1 + } + ] + }, + { + "name": "GPUParticles2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "enums": [ + { + "name": "DrawOrder", + "values": [ + { + "name": "DRAW_ORDER_INDEX", + "value": 0 + }, + { + "name": "DRAW_ORDER_LIFETIME", + "value": 1 + }, + { + "name": "DRAW_ORDER_REVERSE_LIFETIME", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_emitting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "emitting", + "type": "bool" + } + ] + }, + { + "name": "set_amount", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_lifetime", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "secs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_one_shot", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "secs", + "type": "bool" + } + ] + }, + { + "name": "set_pre_process_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "secs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_explosiveness_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_randomness_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_visibility_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "visibility_rect", + "type": "Rect2" + } + ] + }, + { + "name": "set_use_local_coordinates", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_fixed_fps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fps", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_fractional_delta", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_process_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "set_speed_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_collision_base_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "is_emitting", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_amount", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_lifetime", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_one_shot", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_pre_process_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_explosiveness_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_randomness_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_visibility_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "get_use_local_coordinates", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_fixed_fps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_fractional_delta", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_process_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + }, + { + "name": "get_speed_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_collision_base_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_draw_order", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "order", + "type": "enum::GPUParticles2D.DrawOrder" + } + ] + }, + { + "name": "get_draw_order", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::GPUParticles2D.DrawOrder" + } + }, + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "capture_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "restart", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_trail_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "set_trail_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "secs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "is_trail_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_trail_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_trail_sections", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sections", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_trail_sections", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_trail_section_subdivisions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "subdivisions", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_trail_section_subdivisions", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "emitting", + "setter": "set_emitting", + "getter": "is_emitting", + "index": -1 + }, + { + "type": "int", + "name": "amount", + "setter": "set_amount", + "getter": "get_amount", + "index": -1 + }, + { + "type": "float", + "name": "lifetime", + "setter": "set_lifetime", + "getter": "get_lifetime", + "index": -1 + }, + { + "type": "bool", + "name": "one_shot", + "setter": "set_one_shot", + "getter": "get_one_shot", + "index": -1 + }, + { + "type": "float", + "name": "preprocess", + "setter": "set_pre_process_time", + "getter": "get_pre_process_time", + "index": -1 + }, + { + "type": "float", + "name": "speed_scale", + "setter": "set_speed_scale", + "getter": "get_speed_scale", + "index": -1 + }, + { + "type": "float", + "name": "explosiveness", + "setter": "set_explosiveness_ratio", + "getter": "get_explosiveness_ratio", + "index": -1 + }, + { + "type": "float", + "name": "randomness", + "setter": "set_randomness_ratio", + "getter": "get_randomness_ratio", + "index": -1 + }, + { + "type": "int", + "name": "fixed_fps", + "setter": "set_fixed_fps", + "getter": "get_fixed_fps", + "index": -1 + }, + { + "type": "bool", + "name": "fract_delta", + "setter": "set_fractional_delta", + "getter": "get_fractional_delta", + "index": -1 + }, + { + "type": "float", + "name": "collision_base_size", + "setter": "set_collision_base_size", + "getter": "get_collision_base_size", + "index": -1 + }, + { + "type": "Rect2", + "name": "visibility_rect", + "setter": "set_visibility_rect", + "getter": "get_visibility_rect", + "index": -1 + }, + { + "type": "bool", + "name": "local_coords", + "setter": "set_use_local_coordinates", + "getter": "get_use_local_coordinates", + "index": -1 + }, + { + "type": "int", + "name": "draw_order", + "setter": "set_draw_order", + "getter": "get_draw_order", + "index": -1 + }, + { + "type": "bool", + "name": "trail_enabled", + "setter": "set_trail_enabled", + "getter": "is_trail_enabled", + "index": -1 + }, + { + "type": "float", + "name": "trail_length_secs", + "setter": "set_trail_length", + "getter": "get_trail_length", + "index": -1 + }, + { + "type": "int", + "name": "trail_sections", + "setter": "set_trail_sections", + "getter": "get_trail_sections", + "index": -1 + }, + { + "type": "int", + "name": "trail_section_subdivisions", + "setter": "set_trail_section_subdivisions", + "getter": "get_trail_section_subdivisions", + "index": -1 + }, + { + "type": "ShaderMaterial,ParticlesMaterial", + "name": "process_material", + "setter": "set_process_material", + "getter": "get_process_material", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + } + ] + }, + { + "name": "GPUParticles3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GeometryInstance3D", + "api_type": "core", + "constants": [ + { + "name": "MAX_DRAW_PASSES", + "value": 4 + } + ], + "enums": [ + { + "name": "EmitFlags", + "values": [ + { + "name": "EMIT_FLAG_POSITION", + "value": 1 + }, + { + "name": "EMIT_FLAG_ROTATION_SCALE", + "value": 2 + }, + { + "name": "EMIT_FLAG_VELOCITY", + "value": 4 + }, + { + "name": "EMIT_FLAG_COLOR", + "value": 8 + }, + { + "name": "EMIT_FLAG_CUSTOM", + "value": 16 + } + ] + }, + { + "name": "TransformAlign", + "values": [ + { + "name": "TRANSFORM_ALIGN_DISABLED", + "value": 0 + }, + { + "name": "TRANSFORM_ALIGN_Z_BILLBOARD", + "value": 1 + }, + { + "name": "TRANSFORM_ALIGN_Y_TO_VELOCITY", + "value": 2 + }, + { + "name": "TRANSFORM_ALIGN_Z_BILLBOARD_Y_TO_VELOCITY", + "value": 3 + } + ] + }, + { + "name": "DrawOrder", + "values": [ + { + "name": "DRAW_ORDER_INDEX", + "value": 0 + }, + { + "name": "DRAW_ORDER_LIFETIME", + "value": 1 + }, + { + "name": "DRAW_ORDER_REVERSE_LIFETIME", + "value": 2 + }, + { + "name": "DRAW_ORDER_VIEW_DEPTH", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_emitting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "emitting", + "type": "bool" + } + ] + }, + { + "name": "set_amount", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_lifetime", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "secs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_one_shot", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_pre_process_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "secs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_explosiveness_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_randomness_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_visibility_aabb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "aabb", + "type": "AABB" + } + ] + }, + { + "name": "set_use_local_coordinates", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_fixed_fps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fps", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_fractional_delta", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_interpolate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_process_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "set_speed_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_collision_base_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "is_emitting", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_amount", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_lifetime", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_one_shot", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_pre_process_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_explosiveness_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_randomness_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_visibility_aabb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AABB" + } + }, + { + "name": "get_use_local_coordinates", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_fixed_fps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_fractional_delta", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_interpolate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_process_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + }, + { + "name": "get_speed_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_collision_base_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_draw_order", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "order", + "type": "enum::GPUParticles3D.DrawOrder" + } + ] + }, + { + "name": "get_draw_order", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::GPUParticles3D.DrawOrder" + } + }, + { + "name": "set_draw_passes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "passes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_draw_pass_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "pass", + "type": "int", + "meta": "int32" + }, + { + "name": "mesh", + "type": "Mesh" + } + ] + }, + { + "name": "get_draw_passes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_draw_pass_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Mesh" + }, + "arguments": [ + { + "name": "pass", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_skin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skin", + "type": "Skin" + } + ] + }, + { + "name": "get_skin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Skin" + } + }, + { + "name": "restart", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "capture_aabb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AABB" + } + }, + { + "name": "set_sub_emitter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_sub_emitter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "emit_particle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "xform", + "type": "Transform3D" + }, + { + "name": "velocity", + "type": "Vector3" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "custom", + "type": "Color" + }, + { + "name": "flags", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "set_trail_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "set_trail_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "secs", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "is_trail_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_trail_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_transform_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "align", + "type": "enum::GPUParticles3D.TransformAlign" + } + ] + }, + { + "name": "get_transform_align", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::GPUParticles3D.TransformAlign" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "emitting", + "setter": "set_emitting", + "getter": "is_emitting", + "index": -1 + }, + { + "type": "int", + "name": "amount", + "setter": "set_amount", + "getter": "get_amount", + "index": -1 + }, + { + "type": "NodePath", + "name": "sub_emitter", + "setter": "set_sub_emitter", + "getter": "get_sub_emitter", + "index": -1 + }, + { + "type": "float", + "name": "lifetime", + "setter": "set_lifetime", + "getter": "get_lifetime", + "index": -1 + }, + { + "type": "bool", + "name": "one_shot", + "setter": "set_one_shot", + "getter": "get_one_shot", + "index": -1 + }, + { + "type": "float", + "name": "preprocess", + "setter": "set_pre_process_time", + "getter": "get_pre_process_time", + "index": -1 + }, + { + "type": "float", + "name": "speed_scale", + "setter": "set_speed_scale", + "getter": "get_speed_scale", + "index": -1 + }, + { + "type": "float", + "name": "explosiveness", + "setter": "set_explosiveness_ratio", + "getter": "get_explosiveness_ratio", + "index": -1 + }, + { + "type": "float", + "name": "randomness", + "setter": "set_randomness_ratio", + "getter": "get_randomness_ratio", + "index": -1 + }, + { + "type": "int", + "name": "fixed_fps", + "setter": "set_fixed_fps", + "getter": "get_fixed_fps", + "index": -1 + }, + { + "type": "bool", + "name": "interpolate", + "setter": "set_interpolate", + "getter": "get_interpolate", + "index": -1 + }, + { + "type": "bool", + "name": "fract_delta", + "setter": "set_fractional_delta", + "getter": "get_fractional_delta", + "index": -1 + }, + { + "type": "float", + "name": "collision_base_size", + "setter": "set_collision_base_size", + "getter": "get_collision_base_size", + "index": -1 + }, + { + "type": "AABB", + "name": "visibility_aabb", + "setter": "set_visibility_aabb", + "getter": "get_visibility_aabb", + "index": -1 + }, + { + "type": "bool", + "name": "local_coords", + "setter": "set_use_local_coordinates", + "getter": "get_use_local_coordinates", + "index": -1 + }, + { + "type": "int", + "name": "draw_order", + "setter": "set_draw_order", + "getter": "get_draw_order", + "index": -1 + }, + { + "type": "int", + "name": "transform_align", + "setter": "set_transform_align", + "getter": "get_transform_align", + "index": -1 + }, + { + "type": "bool", + "name": "trail_enabled", + "setter": "set_trail_enabled", + "getter": "is_trail_enabled", + "index": -1 + }, + { + "type": "float", + "name": "trail_length_secs", + "setter": "set_trail_length", + "getter": "get_trail_length", + "index": -1 + }, + { + "type": "ShaderMaterial,ParticlesMaterial", + "name": "process_material", + "setter": "set_process_material", + "getter": "get_process_material", + "index": -1 + }, + { + "type": "int", + "name": "draw_passes", + "setter": "set_draw_passes", + "getter": "get_draw_passes", + "index": -1 + }, + { + "type": "Mesh", + "name": "draw_pass_1", + "setter": "set_draw_pass_mesh", + "getter": "get_draw_pass_mesh", + "index": 0 + }, + { + "type": "Mesh", + "name": "draw_pass_2", + "setter": "set_draw_pass_mesh", + "getter": "get_draw_pass_mesh", + "index": 1 + }, + { + "type": "Mesh", + "name": "draw_pass_3", + "setter": "set_draw_pass_mesh", + "getter": "get_draw_pass_mesh", + "index": 2 + }, + { + "type": "Mesh", + "name": "draw_pass_4", + "setter": "set_draw_pass_mesh", + "getter": "get_draw_pass_mesh", + "index": 3 + }, + { + "type": "Skin", + "name": "draw_skin", + "setter": "set_skin", + "getter": "get_skin", + "index": -1 + } + ] + }, + { + "name": "GPUParticlesAttractor3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "VisualInstance3D", + "api_type": "core", + "methods": [ + { + "name": "set_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_cull_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_strength", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "strength", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_strength", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_attenuation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "attenuation", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_attenuation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_directionality", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_directionality", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "strength", + "setter": "set_strength", + "getter": "get_strength", + "index": -1 + }, + { + "type": "float", + "name": "attenuation", + "setter": "set_attenuation", + "getter": "get_attenuation", + "index": -1 + }, + { + "type": "float", + "name": "directionality", + "setter": "set_directionality", + "getter": "get_directionality", + "index": -1 + }, + { + "type": "int", + "name": "cull_mask", + "setter": "set_cull_mask", + "getter": "get_cull_mask", + "index": -1 + } + ] + }, + { + "name": "GPUParticlesAttractorBox", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GPUParticlesAttractor3D", + "api_type": "core", + "methods": [ + { + "name": "set_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "get_extents", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + } + ], + "properties": [ + { + "type": "Vector3", + "name": "extents", + "setter": "set_extents", + "getter": "get_extents", + "index": -1 + } + ] + }, + { + "name": "GPUParticlesAttractorSphere", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GPUParticlesAttractor3D", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + } + ] + }, + { + "name": "GPUParticlesAttractorVectorField", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GPUParticlesAttractor3D", + "api_type": "core", + "methods": [ + { + "name": "set_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "get_extents", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture3D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture3D" + } + } + ], + "properties": [ + { + "type": "Vector3", + "name": "extents", + "setter": "set_extents", + "getter": "get_extents", + "index": -1 + }, + { + "type": "Texture3D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + } + ] + }, + { + "name": "GPUParticlesCollision3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "VisualInstance3D", + "api_type": "core", + "methods": [ + { + "name": "set_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_cull_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + } + ], + "properties": [ + { + "type": "int", + "name": "cull_mask", + "setter": "set_cull_mask", + "getter": "get_cull_mask", + "index": -1 + } + ] + }, + { + "name": "GPUParticlesCollisionBox", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GPUParticlesCollision3D", + "api_type": "core", + "methods": [ + { + "name": "set_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "get_extents", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + } + ], + "properties": [ + { + "type": "Vector3", + "name": "extents", + "setter": "set_extents", + "getter": "get_extents", + "index": -1 + } + ] + }, + { + "name": "GPUParticlesCollisionHeightField", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GPUParticlesCollision3D", + "api_type": "core", + "enums": [ + { + "name": "Resolution", + "values": [ + { + "name": "RESOLUTION_256", + "value": 0 + }, + { + "name": "RESOLUTION_512", + "value": 1 + }, + { + "name": "RESOLUTION_1024", + "value": 2 + }, + { + "name": "RESOLUTION_2048", + "value": 3 + }, + { + "name": "RESOLUTION_4096", + "value": 4 + }, + { + "name": "RESOLUTION_8192", + "value": 5 + }, + { + "name": "RESOLUTION_MAX", + "value": 6 + } + ] + }, + { + "name": "UpdateMode", + "values": [ + { + "name": "UPDATE_MODE_WHEN_MOVED", + "value": 0 + }, + { + "name": "UPDATE_MODE_ALWAYS", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "get_extents", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_resolution", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "resolution", + "type": "enum::GPUParticlesCollisionHeightField.Resolution" + } + ] + }, + { + "name": "get_resolution", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::GPUParticlesCollisionHeightField.Resolution" + } + }, + { + "name": "set_update_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "update_mode", + "type": "enum::GPUParticlesCollisionHeightField.UpdateMode" + } + ] + }, + { + "name": "get_update_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::GPUParticlesCollisionHeightField.UpdateMode" + } + }, + { + "name": "set_follow_camera_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_follow_camera_mode_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_follow_camera_push_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_follow_camera_push_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "Vector3", + "name": "extents", + "setter": "set_extents", + "getter": "get_extents", + "index": -1 + }, + { + "type": "int", + "name": "resolution", + "setter": "set_resolution", + "getter": "get_resolution", + "index": -1 + }, + { + "type": "int", + "name": "update_mode", + "setter": "set_update_mode", + "getter": "get_update_mode", + "index": -1 + }, + { + "type": "bool", + "name": "follow_camera_enabled", + "setter": "set_follow_camera_mode", + "getter": "is_follow_camera_mode_enabled", + "index": -1 + }, + { + "type": "float", + "name": "follow_camera_push_ratio", + "setter": "set_follow_camera_push_ratio", + "getter": "get_follow_camera_push_ratio", + "index": -1 + } + ] + }, + { + "name": "GPUParticlesCollisionSDF", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GPUParticlesCollision3D", + "api_type": "core", + "enums": [ + { + "name": "Resolution", + "values": [ + { + "name": "RESOLUTION_16", + "value": 0 + }, + { + "name": "RESOLUTION_32", + "value": 1 + }, + { + "name": "RESOLUTION_64", + "value": 2 + }, + { + "name": "RESOLUTION_128", + "value": 3 + }, + { + "name": "RESOLUTION_256", + "value": 4 + }, + { + "name": "RESOLUTION_512", + "value": 5 + }, + { + "name": "RESOLUTION_MAX", + "value": 6 + } + ] + } + ], + "methods": [ + { + "name": "set_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "get_extents", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_resolution", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "resolution", + "type": "enum::GPUParticlesCollisionSDF.Resolution" + } + ] + }, + { + "name": "get_resolution", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::GPUParticlesCollisionSDF.Resolution" + } + }, + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture3D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture3D" + } + }, + { + "name": "set_thickness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "thickness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_thickness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "Vector3", + "name": "extents", + "setter": "set_extents", + "getter": "get_extents", + "index": -1 + }, + { + "type": "int", + "name": "resolution", + "setter": "set_resolution", + "getter": "get_resolution", + "index": -1 + }, + { + "type": "float", + "name": "thickness", + "setter": "set_thickness", + "getter": "get_thickness", + "index": -1 + }, + { + "type": "Texture3D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + } + ] + }, + { + "name": "GPUParticlesCollisionSphere", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GPUParticlesCollision3D", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + } + ] + }, + { + "name": "Generic6DOFJoint3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Joint3D", + "api_type": "core", + "enums": [ + { + "name": "Param", + "values": [ + { + "name": "PARAM_LINEAR_LOWER_LIMIT", + "value": 0 + }, + { + "name": "PARAM_LINEAR_UPPER_LIMIT", + "value": 1 + }, + { + "name": "PARAM_LINEAR_LIMIT_SOFTNESS", + "value": 2 + }, + { + "name": "PARAM_LINEAR_RESTITUTION", + "value": 3 + }, + { + "name": "PARAM_LINEAR_DAMPING", + "value": 4 + }, + { + "name": "PARAM_LINEAR_MOTOR_TARGET_VELOCITY", + "value": 5 + }, + { + "name": "PARAM_LINEAR_MOTOR_FORCE_LIMIT", + "value": 6 + }, + { + "name": "PARAM_LINEAR_SPRING_STIFFNESS", + "value": 7 + }, + { + "name": "PARAM_LINEAR_SPRING_DAMPING", + "value": 8 + }, + { + "name": "PARAM_LINEAR_SPRING_EQUILIBRIUM_POINT", + "value": 9 + }, + { + "name": "PARAM_ANGULAR_LOWER_LIMIT", + "value": 10 + }, + { + "name": "PARAM_ANGULAR_UPPER_LIMIT", + "value": 11 + }, + { + "name": "PARAM_ANGULAR_LIMIT_SOFTNESS", + "value": 12 + }, + { + "name": "PARAM_ANGULAR_DAMPING", + "value": 13 + }, + { + "name": "PARAM_ANGULAR_RESTITUTION", + "value": 14 + }, + { + "name": "PARAM_ANGULAR_FORCE_LIMIT", + "value": 15 + }, + { + "name": "PARAM_ANGULAR_ERP", + "value": 16 + }, + { + "name": "PARAM_ANGULAR_MOTOR_TARGET_VELOCITY", + "value": 17 + }, + { + "name": "PARAM_ANGULAR_MOTOR_FORCE_LIMIT", + "value": 18 + }, + { + "name": "PARAM_ANGULAR_SPRING_STIFFNESS", + "value": 19 + }, + { + "name": "PARAM_ANGULAR_SPRING_DAMPING", + "value": 20 + }, + { + "name": "PARAM_ANGULAR_SPRING_EQUILIBRIUM_POINT", + "value": 21 + }, + { + "name": "PARAM_MAX", + "value": 22 + } + ] + }, + { + "name": "Flag", + "values": [ + { + "name": "FLAG_ENABLE_LINEAR_LIMIT", + "value": 0 + }, + { + "name": "FLAG_ENABLE_ANGULAR_LIMIT", + "value": 1 + }, + { + "name": "FLAG_ENABLE_LINEAR_SPRING", + "value": 3 + }, + { + "name": "FLAG_ENABLE_ANGULAR_SPRING", + "value": 2 + }, + { + "name": "FLAG_ENABLE_MOTOR", + "value": 4 + }, + { + "name": "FLAG_ENABLE_LINEAR_MOTOR", + "value": 5 + }, + { + "name": "FLAG_MAX", + "value": 6 + } + ] + } + ], + "methods": [ + { + "name": "set_param_x", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::Generic6DOFJoint3D.Param" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param_x", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::Generic6DOFJoint3D.Param" + } + ] + }, + { + "name": "set_param_y", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::Generic6DOFJoint3D.Param" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param_y", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::Generic6DOFJoint3D.Param" + } + ] + }, + { + "name": "set_param_z", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::Generic6DOFJoint3D.Param" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param_z", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::Generic6DOFJoint3D.Param" + } + ] + }, + { + "name": "set_flag_x", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "flag", + "type": "enum::Generic6DOFJoint3D.Flag" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_flag_x", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "flag", + "type": "enum::Generic6DOFJoint3D.Flag" + } + ] + }, + { + "name": "set_flag_y", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "flag", + "type": "enum::Generic6DOFJoint3D.Flag" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_flag_y", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "flag", + "type": "enum::Generic6DOFJoint3D.Flag" + } + ] + }, + { + "name": "set_flag_z", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "flag", + "type": "enum::Generic6DOFJoint3D.Flag" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_flag_z", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "flag", + "type": "enum::Generic6DOFJoint3D.Flag" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "linear_limit_x/enabled", + "setter": "set_flag_x", + "getter": "get_flag_x", + "index": 0 + }, + { + "type": "float", + "name": "linear_limit_x/upper_distance", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 1 + }, + { + "type": "float", + "name": "linear_limit_x/lower_distance", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 0 + }, + { + "type": "float", + "name": "linear_limit_x/softness", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 2 + }, + { + "type": "float", + "name": "linear_limit_x/restitution", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 3 + }, + { + "type": "float", + "name": "linear_limit_x/damping", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 4 + }, + { + "type": "bool", + "name": "linear_motor_x/enabled", + "setter": "set_flag_x", + "getter": "get_flag_x", + "index": 5 + }, + { + "type": "float", + "name": "linear_motor_x/target_velocity", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 5 + }, + { + "type": "float", + "name": "linear_motor_x/force_limit", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 6 + }, + { + "type": "bool", + "name": "linear_spring_x/enabled", + "setter": "set_flag_x", + "getter": "get_flag_x", + "index": 3 + }, + { + "type": "float", + "name": "linear_spring_x/stiffness", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 7 + }, + { + "type": "float", + "name": "linear_spring_x/damping", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 8 + }, + { + "type": "float", + "name": "linear_spring_x/equilibrium_point", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 9 + }, + { + "type": "bool", + "name": "angular_limit_x/enabled", + "setter": "set_flag_x", + "getter": "get_flag_x", + "index": 1 + }, + { + "type": "float", + "name": "angular_limit_x/upper_angle", + "setter": "_set_angular_hi_limit_x", + "getter": "_get_angular_hi_limit_x", + "index": -1 + }, + { + "type": "float", + "name": "angular_limit_x/lower_angle", + "setter": "_set_angular_lo_limit_x", + "getter": "_get_angular_lo_limit_x", + "index": -1 + }, + { + "type": "float", + "name": "angular_limit_x/softness", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 12 + }, + { + "type": "float", + "name": "angular_limit_x/restitution", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 14 + }, + { + "type": "float", + "name": "angular_limit_x/damping", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 13 + }, + { + "type": "float", + "name": "angular_limit_x/force_limit", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 15 + }, + { + "type": "float", + "name": "angular_limit_x/erp", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 16 + }, + { + "type": "bool", + "name": "angular_motor_x/enabled", + "setter": "set_flag_x", + "getter": "get_flag_x", + "index": 4 + }, + { + "type": "float", + "name": "angular_motor_x/target_velocity", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 17 + }, + { + "type": "float", + "name": "angular_motor_x/force_limit", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 18 + }, + { + "type": "bool", + "name": "angular_spring_x/enabled", + "setter": "set_flag_x", + "getter": "get_flag_x", + "index": 2 + }, + { + "type": "float", + "name": "angular_spring_x/stiffness", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 19 + }, + { + "type": "float", + "name": "angular_spring_x/damping", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 20 + }, + { + "type": "float", + "name": "angular_spring_x/equilibrium_point", + "setter": "set_param_x", + "getter": "get_param_x", + "index": 21 + }, + { + "type": "bool", + "name": "linear_limit_y/enabled", + "setter": "set_flag_y", + "getter": "get_flag_y", + "index": 0 + }, + { + "type": "float", + "name": "linear_limit_y/upper_distance", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 1 + }, + { + "type": "float", + "name": "linear_limit_y/lower_distance", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 0 + }, + { + "type": "float", + "name": "linear_limit_y/softness", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 2 + }, + { + "type": "float", + "name": "linear_limit_y/restitution", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 3 + }, + { + "type": "float", + "name": "linear_limit_y/damping", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 4 + }, + { + "type": "bool", + "name": "linear_motor_y/enabled", + "setter": "set_flag_y", + "getter": "get_flag_y", + "index": 5 + }, + { + "type": "float", + "name": "linear_motor_y/target_velocity", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 5 + }, + { + "type": "float", + "name": "linear_motor_y/force_limit", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 6 + }, + { + "type": "bool", + "name": "linear_spring_y/enabled", + "setter": "set_flag_y", + "getter": "get_flag_y", + "index": 3 + }, + { + "type": "float", + "name": "linear_spring_y/stiffness", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 7 + }, + { + "type": "float", + "name": "linear_spring_y/damping", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 8 + }, + { + "type": "float", + "name": "linear_spring_y/equilibrium_point", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 9 + }, + { + "type": "bool", + "name": "angular_limit_y/enabled", + "setter": "set_flag_y", + "getter": "get_flag_y", + "index": 1 + }, + { + "type": "float", + "name": "angular_limit_y/upper_angle", + "setter": "_set_angular_hi_limit_y", + "getter": "_get_angular_hi_limit_y", + "index": -1 + }, + { + "type": "float", + "name": "angular_limit_y/lower_angle", + "setter": "_set_angular_lo_limit_y", + "getter": "_get_angular_lo_limit_y", + "index": -1 + }, + { + "type": "float", + "name": "angular_limit_y/softness", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 12 + }, + { + "type": "float", + "name": "angular_limit_y/restitution", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 14 + }, + { + "type": "float", + "name": "angular_limit_y/damping", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 13 + }, + { + "type": "float", + "name": "angular_limit_y/force_limit", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 15 + }, + { + "type": "float", + "name": "angular_limit_y/erp", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 16 + }, + { + "type": "bool", + "name": "angular_motor_y/enabled", + "setter": "set_flag_y", + "getter": "get_flag_y", + "index": 4 + }, + { + "type": "float", + "name": "angular_motor_y/target_velocity", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 17 + }, + { + "type": "float", + "name": "angular_motor_y/force_limit", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 18 + }, + { + "type": "bool", + "name": "angular_spring_y/enabled", + "setter": "set_flag_y", + "getter": "get_flag_y", + "index": 2 + }, + { + "type": "float", + "name": "angular_spring_y/stiffness", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 19 + }, + { + "type": "float", + "name": "angular_spring_y/damping", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 20 + }, + { + "type": "float", + "name": "angular_spring_y/equilibrium_point", + "setter": "set_param_y", + "getter": "get_param_y", + "index": 21 + }, + { + "type": "bool", + "name": "linear_limit_z/enabled", + "setter": "set_flag_z", + "getter": "get_flag_z", + "index": 0 + }, + { + "type": "float", + "name": "linear_limit_z/upper_distance", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 1 + }, + { + "type": "float", + "name": "linear_limit_z/lower_distance", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 0 + }, + { + "type": "float", + "name": "linear_limit_z/softness", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 2 + }, + { + "type": "float", + "name": "linear_limit_z/restitution", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 3 + }, + { + "type": "float", + "name": "linear_limit_z/damping", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 4 + }, + { + "type": "bool", + "name": "linear_motor_z/enabled", + "setter": "set_flag_z", + "getter": "get_flag_z", + "index": 5 + }, + { + "type": "float", + "name": "linear_motor_z/target_velocity", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 5 + }, + { + "type": "float", + "name": "linear_motor_z/force_limit", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 6 + }, + { + "type": "bool", + "name": "linear_spring_z/enabled", + "setter": "set_flag_z", + "getter": "get_flag_z", + "index": 3 + }, + { + "type": "float", + "name": "linear_spring_z/stiffness", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 7 + }, + { + "type": "float", + "name": "linear_spring_z/damping", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 8 + }, + { + "type": "float", + "name": "linear_spring_z/equilibrium_point", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 9 + }, + { + "type": "bool", + "name": "angular_limit_z/enabled", + "setter": "set_flag_z", + "getter": "get_flag_z", + "index": 1 + }, + { + "type": "float", + "name": "angular_limit_z/upper_angle", + "setter": "_set_angular_hi_limit_z", + "getter": "_get_angular_hi_limit_z", + "index": -1 + }, + { + "type": "float", + "name": "angular_limit_z/lower_angle", + "setter": "_set_angular_lo_limit_z", + "getter": "_get_angular_lo_limit_z", + "index": -1 + }, + { + "type": "float", + "name": "angular_limit_z/softness", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 12 + }, + { + "type": "float", + "name": "angular_limit_z/restitution", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 14 + }, + { + "type": "float", + "name": "angular_limit_z/damping", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 13 + }, + { + "type": "float", + "name": "angular_limit_z/force_limit", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 15 + }, + { + "type": "float", + "name": "angular_limit_z/erp", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 16 + }, + { + "type": "bool", + "name": "angular_motor_z/enabled", + "setter": "set_flag_z", + "getter": "get_flag_z", + "index": 4 + }, + { + "type": "float", + "name": "angular_motor_z/target_velocity", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 17 + }, + { + "type": "float", + "name": "angular_motor_z/force_limit", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 18 + }, + { + "type": "bool", + "name": "angular_spring_z/enabled", + "setter": "set_flag_z", + "getter": "get_flag_z", + "index": 2 + }, + { + "type": "float", + "name": "angular_spring_z/stiffness", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 19 + }, + { + "type": "float", + "name": "angular_spring_z/damping", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 20 + }, + { + "type": "float", + "name": "angular_spring_z/equilibrium_point", + "setter": "set_param_z", + "getter": "get_param_z", + "index": 21 + } + ] + }, + { + "name": "GeometryInstance3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "VisualInstance3D", + "api_type": "core", + "enums": [ + { + "name": "GIMode", + "values": [ + { + "name": "GI_MODE_DISABLED", + "value": 0 + }, + { + "name": "GI_MODE_BAKED", + "value": 1 + }, + { + "name": "GI_MODE_DYNAMIC", + "value": 2 + } + ] + }, + { + "name": "ShadowCastingSetting", + "values": [ + { + "name": "SHADOW_CASTING_SETTING_OFF", + "value": 0 + }, + { + "name": "SHADOW_CASTING_SETTING_ON", + "value": 1 + }, + { + "name": "SHADOW_CASTING_SETTING_DOUBLE_SIDED", + "value": 2 + }, + { + "name": "SHADOW_CASTING_SETTING_SHADOWS_ONLY", + "value": 3 + } + ] + }, + { + "name": "LightmapScale", + "values": [ + { + "name": "LIGHTMAP_SCALE_1X", + "value": 0 + }, + { + "name": "LIGHTMAP_SCALE_2X", + "value": 1 + }, + { + "name": "LIGHTMAP_SCALE_4X", + "value": 2 + }, + { + "name": "LIGHTMAP_SCALE_8X", + "value": 3 + }, + { + "name": "LIGHTMAP_SCALE_MAX", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "set_material_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_material_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + }, + { + "name": "set_cast_shadows_setting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shadow_casting_setting", + "type": "enum::GeometryInstance3D.ShadowCastingSetting" + } + ] + }, + { + "name": "get_cast_shadows_setting", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::GeometryInstance3D.ShadowCastingSetting" + } + }, + { + "name": "set_lod_bias", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bias", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_lod_bias", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_visibility_range_end_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_visibility_range_end_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_visibility_range_end", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_visibility_range_end", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_visibility_range_begin_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_visibility_range_begin_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_visibility_range_begin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_visibility_range_begin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_shader_instance_uniform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "uniform", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_shader_instance_uniform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "uniform", + "type": "StringName" + } + ] + }, + { + "name": "set_extra_cull_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_extra_cull_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_lightmap_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "enum::GeometryInstance3D.LightmapScale" + } + ] + }, + { + "name": "get_lightmap_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::GeometryInstance3D.LightmapScale" + } + }, + { + "name": "set_gi_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::GeometryInstance3D.GIMode" + } + ] + }, + { + "name": "get_gi_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::GeometryInstance3D.GIMode" + } + }, + { + "name": "set_ignore_occlusion_culling", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ignore_culling", + "type": "bool" + } + ] + }, + { + "name": "is_ignoring_occlusion_culling", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_custom_aabb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "aabb", + "type": "AABB" + } + ] + } + ], + "properties": [ + { + "type": "BaseMaterial3D,ShaderMaterial", + "name": "material_override", + "setter": "set_material_override", + "getter": "get_material_override", + "index": -1 + }, + { + "type": "int", + "name": "cast_shadow", + "setter": "set_cast_shadows_setting", + "getter": "get_cast_shadows_setting", + "index": -1 + }, + { + "type": "float", + "name": "extra_cull_margin", + "setter": "set_extra_cull_margin", + "getter": "get_extra_cull_margin", + "index": -1 + }, + { + "type": "float", + "name": "lod_bias", + "setter": "set_lod_bias", + "getter": "get_lod_bias", + "index": -1 + }, + { + "type": "bool", + "name": "ignore_occlusion_culling", + "setter": "set_ignore_occlusion_culling", + "getter": "is_ignoring_occlusion_culling", + "index": -1 + }, + { + "type": "int", + "name": "gi_mode", + "setter": "set_gi_mode", + "getter": "get_gi_mode", + "index": -1 + }, + { + "type": "int", + "name": "gi_lightmap_scale", + "setter": "set_lightmap_scale", + "getter": "get_lightmap_scale", + "index": -1 + }, + { + "type": "float", + "name": "visibility_range_begin", + "setter": "set_visibility_range_begin", + "getter": "get_visibility_range_begin", + "index": -1 + }, + { + "type": "float", + "name": "visibility_range_begin_margin", + "setter": "set_visibility_range_begin_margin", + "getter": "get_visibility_range_begin_margin", + "index": -1 + }, + { + "type": "float", + "name": "visibility_range_end", + "setter": "set_visibility_range_end", + "getter": "get_visibility_range_end", + "index": -1 + }, + { + "type": "float", + "name": "visibility_range_end_margin", + "setter": "set_visibility_range_end_margin", + "getter": "get_visibility_range_end_margin", + "index": -1 + } + ] + }, + { + "name": "Gradient", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "add_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "remove_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + }, + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "point", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "interpolate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_point_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_offsets", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offsets", + "type": "PackedFloat32Array" + } + ] + }, + { + "name": "get_offsets", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedFloat32Array" + } + }, + { + "name": "set_colors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "colors", + "type": "PackedColorArray" + } + ] + }, + { + "name": "get_colors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedColorArray" + } + } + ], + "properties": [ + { + "type": "PackedFloat32Array", + "name": "offsets", + "setter": "set_offsets", + "getter": "get_offsets", + "index": -1 + }, + { + "type": "PackedColorArray", + "name": "colors", + "setter": "set_colors", + "getter": "get_colors", + "index": -1 + } + ] + }, + { + "name": "GradientTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "methods": [ + { + "name": "set_gradient", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gradient", + "type": "Gradient" + } + ] + }, + { + "name": "get_gradient", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Gradient" + } + }, + { + "name": "set_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "Gradient", + "name": "gradient", + "setter": "set_gradient", + "getter": "get_gradient", + "index": -1 + }, + { + "type": "int", + "name": "width", + "setter": "set_width", + "getter": "get_width", + "index": -1 + } + ] + }, + { + "name": "GraphEdit", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "methods": [ + { + "name": "connect_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "from", + "type": "StringName" + }, + { + "name": "from_port", + "type": "int", + "meta": "int32" + }, + { + "name": "to", + "type": "StringName" + }, + { + "name": "to_port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_node_connected", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "from", + "type": "StringName" + }, + { + "name": "from_port", + "type": "int", + "meta": "int32" + }, + { + "name": "to", + "type": "StringName" + }, + { + "name": "to_port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "disconnect_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "from", + "type": "StringName" + }, + { + "name": "from_port", + "type": "int", + "meta": "int32" + }, + { + "name": "to", + "type": "StringName" + }, + { + "name": "to_port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_connection_activity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "from", + "type": "StringName" + }, + { + "name": "from_port", + "type": "int", + "meta": "int32" + }, + { + "name": "to", + "type": "StringName" + }, + { + "name": "to_port", + "type": "int", + "meta": "int32" + }, + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_connection_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "clear_connections", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_scroll_ofs", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_scroll_ofs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ofs", + "type": "Vector2" + } + ] + }, + { + "name": "add_valid_right_disconnect_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_valid_right_disconnect_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_valid_left_disconnect_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_valid_left_disconnect_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_valid_connection_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "from_type", + "type": "int", + "meta": "int32" + }, + { + "name": "to_type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_valid_connection_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "from_type", + "type": "int", + "meta": "int32" + }, + { + "name": "to_type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_valid_connection_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "from_type", + "type": "int", + "meta": "int32" + }, + { + "name": "to_type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_zoom", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "zoom", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_zoom", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_zoom_min", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "zoom_min", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_zoom_min", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_zoom_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "zoom_max", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_zoom_max", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_zoom_step", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "zoom_step", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_zoom_step", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_show_zoom_label", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_showing_zoom_label", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_snap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pixels", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_snap", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_use_snap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_snap", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_connection_lines_thickness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pixels", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_connection_lines_thickness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_connection_lines_antialiased", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pixels", + "type": "bool" + } + ] + }, + { + "name": "is_connection_lines_antialiased", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_minimap_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "get_minimap_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_minimap_opacity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "opacity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_minimap_opacity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_minimap_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_minimap_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_right_disconnects", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_right_disconnects_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_zoom_hbox", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "HBoxContainer" + } + }, + { + "name": "set_selected", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + } + ], + "signals": [ + { + "name": "delete_nodes_request" + }, + { + "name": "copy_nodes_request" + }, + { + "name": "duplicate_nodes_request" + }, + { + "name": "popup_request", + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "paste_nodes_request" + }, + { + "name": "scroll_offset_changed", + "arguments": [ + { + "name": "ofs", + "type": "Vector2" + } + ] + }, + { + "name": "node_selected", + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "node_deselected", + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "begin_node_move" + }, + { + "name": "connection_to_empty", + "arguments": [ + { + "name": "from", + "type": "StringName" + }, + { + "name": "from_slot", + "type": "int" + }, + { + "name": "release_position", + "type": "Vector2" + } + ] + }, + { + "name": "disconnection_request", + "arguments": [ + { + "name": "from", + "type": "StringName" + }, + { + "name": "from_slot", + "type": "int" + }, + { + "name": "to", + "type": "StringName" + }, + { + "name": "to_slot", + "type": "int" + } + ] + }, + { + "name": "connection_request", + "arguments": [ + { + "name": "from", + "type": "StringName" + }, + { + "name": "from_slot", + "type": "int" + }, + { + "name": "to", + "type": "StringName" + }, + { + "name": "to_slot", + "type": "int" + } + ] + }, + { + "name": "connection_from_empty", + "arguments": [ + { + "name": "to", + "type": "StringName" + }, + { + "name": "to_slot", + "type": "int" + }, + { + "name": "release_position", + "type": "Vector2" + } + ] + }, + { + "name": "end_node_move" + } + ], + "properties": [ + { + "type": "bool", + "name": "right_disconnects", + "setter": "set_right_disconnects", + "getter": "is_right_disconnects_enabled", + "index": -1 + }, + { + "type": "Vector2", + "name": "scroll_offset", + "setter": "set_scroll_ofs", + "getter": "get_scroll_ofs", + "index": -1 + }, + { + "type": "int", + "name": "snap_distance", + "setter": "set_snap", + "getter": "get_snap", + "index": -1 + }, + { + "type": "bool", + "name": "use_snap", + "setter": "set_use_snap", + "getter": "is_using_snap", + "index": -1 + }, + { + "type": "float", + "name": "connection_lines_thickness", + "setter": "set_connection_lines_thickness", + "getter": "get_connection_lines_thickness", + "index": -1 + }, + { + "type": "bool", + "name": "connection_lines_antialiased", + "setter": "set_connection_lines_antialiased", + "getter": "is_connection_lines_antialiased", + "index": -1 + }, + { + "type": "float", + "name": "zoom", + "setter": "set_zoom", + "getter": "get_zoom", + "index": -1 + }, + { + "type": "float", + "name": "zoom_min", + "setter": "set_zoom_min", + "getter": "get_zoom_min", + "index": -1 + }, + { + "type": "float", + "name": "zoom_max", + "setter": "set_zoom_max", + "getter": "get_zoom_max", + "index": -1 + }, + { + "type": "float", + "name": "zoom_step", + "setter": "set_zoom_step", + "getter": "get_zoom_step", + "index": -1 + }, + { + "type": "bool", + "name": "show_zoom_label", + "setter": "set_show_zoom_label", + "getter": "is_showing_zoom_label", + "index": -1 + }, + { + "type": "bool", + "name": "minimap_enabled", + "setter": "set_minimap_enabled", + "getter": "is_minimap_enabled", + "index": -1 + }, + { + "type": "Vector2", + "name": "minimap_size", + "setter": "set_minimap_size", + "getter": "get_minimap_size", + "index": -1 + }, + { + "type": "float", + "name": "minimap_opacity", + "setter": "set_minimap_opacity", + "getter": "get_minimap_opacity", + "index": -1 + } + ] + }, + { + "name": "GraphNode", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Container", + "api_type": "core", + "enums": [ + { + "name": "Overlay", + "values": [ + { + "name": "OVERLAY_DISABLED", + "value": 0 + }, + { + "name": "OVERLAY_BREAKPOINT", + "value": 1 + }, + { + "name": "OVERLAY_POSITION", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_title", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "title", + "type": "String" + } + ] + }, + { + "name": "get_title", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_text_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "get_text_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.TextDirection" + } + }, + { + "name": "set_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_opentype_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_slot", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 417479696, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enable_left", + "type": "bool" + }, + { + "name": "type_left", + "type": "int", + "meta": "int32" + }, + { + "name": "color_left", + "type": "Color" + }, + { + "name": "enable_right", + "type": "bool" + }, + { + "name": "type_right", + "type": "int", + "meta": "int32" + }, + { + "name": "color_right", + "type": "Color" + }, + { + "name": "custom_left", + "type": "Texture2D", + "default_value": "null" + }, + { + "name": "custom_right", + "type": "Texture2D", + "default_value": "null" + } + ] + }, + { + "name": "clear_slot", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_all_slots", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_slot_enabled_left", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_slot_enabled_left", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enable_left", + "type": "bool" + } + ] + }, + { + "name": "set_slot_type_left", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "type_left", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_slot_type_left", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_slot_color_left", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "color_left", + "type": "Color" + } + ] + }, + { + "name": "get_slot_color_left", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_slot_enabled_right", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_slot_enabled_right", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enable_right", + "type": "bool" + } + ] + }, + { + "name": "set_slot_type_right", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "type_right", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_slot_type_right", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_slot_color_right", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "color_right", + "type": "Color" + } + ] + }, + { + "name": "get_slot_color_right", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_position_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_position_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_comment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "comment", + "type": "bool" + } + ] + }, + { + "name": "is_comment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_resizable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "resizable", + "type": "bool" + } + ] + }, + { + "name": "is_resizable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_selected", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "selected", + "type": "bool" + } + ] + }, + { + "name": "is_selected", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_connection_output_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_connection_input_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_connection_output_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_output_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_output_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_input_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_input_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_input_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_show_close_button", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "show", + "type": "bool" + } + ] + }, + { + "name": "is_close_button_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_overlay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "overlay", + "type": "enum::GraphNode.Overlay" + } + ] + }, + { + "name": "get_overlay", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::GraphNode.Overlay" + } + } + ], + "signals": [ + { + "name": "raise_request" + }, + { + "name": "position_offset_changed" + }, + { + "name": "close_request" + }, + { + "name": "dragged", + "arguments": [ + { + "name": "from", + "type": "Vector2" + }, + { + "name": "to", + "type": "Vector2" + } + ] + }, + { + "name": "slot_updated", + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "resize_request", + "arguments": [ + { + "name": "new_minsize", + "type": "Vector2" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "title", + "setter": "set_title", + "getter": "get_title", + "index": -1 + }, + { + "type": "int", + "name": "text_direction", + "setter": "set_text_direction", + "getter": "get_text_direction", + "index": -1 + }, + { + "type": "String", + "name": "language", + "setter": "set_language", + "getter": "get_language", + "index": -1 + }, + { + "type": "Vector2", + "name": "position_offset", + "setter": "set_position_offset", + "getter": "get_position_offset", + "index": -1 + }, + { + "type": "bool", + "name": "show_close", + "setter": "set_show_close_button", + "getter": "is_close_button_visible", + "index": -1 + }, + { + "type": "bool", + "name": "resizable", + "setter": "set_resizable", + "getter": "is_resizable", + "index": -1 + }, + { + "type": "bool", + "name": "selected", + "setter": "set_selected", + "getter": "is_selected", + "index": -1 + }, + { + "type": "bool", + "name": "comment", + "setter": "set_comment", + "getter": "is_comment", + "index": -1 + }, + { + "type": "int", + "name": "overlay", + "setter": "set_overlay", + "getter": "get_overlay", + "index": -1 + } + ] + }, + { + "name": "GridContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Container", + "api_type": "core", + "methods": [ + { + "name": "set_columns", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "columns", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_columns", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "int", + "name": "columns", + "setter": "set_columns", + "getter": "get_columns", + "index": -1 + } + ] + }, + { + "name": "GridMap", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "constants": [ + { + "name": "INVALID_CELL_ITEM", + "value": -1 + } + ], + "methods": [ + { + "name": "set_collision_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_layer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_mask_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_mask_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_collision_layer_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_layer_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bake_navigation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bake_navigation", + "type": "bool" + } + ] + }, + { + "name": "is_baking_navigation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_navigation_layers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layers", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_navigation_layers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_mesh_library", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh_library", + "type": "MeshLibrary" + } + ] + }, + { + "name": "get_mesh_library", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "MeshLibrary" + } + }, + { + "name": "set_cell_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector3" + } + ] + }, + { + "name": "get_cell_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_cell_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_cell_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_octant_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_octant_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_cell_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "position", + "type": "Vector3i" + }, + { + "name": "item", + "type": "int", + "meta": "int32" + }, + { + "name": "orientation", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "get_cell_item", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "position", + "type": "Vector3i" + } + ] + }, + { + "name": "get_cell_item_orientation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "position", + "type": "Vector3i" + } + ] + }, + { + "name": "world_to_map", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3i" + }, + "arguments": [ + { + "name": "world_position", + "type": "Vector3" + } + ] + }, + { + "name": "map_to_world", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "map_position", + "type": "Vector3i" + } + ] + }, + { + "name": "resource_changed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "resource", + "type": "Resource" + } + ] + }, + { + "name": "set_center_x", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_center_x", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_center_y", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_center_y", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_center_z", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_center_z", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_clip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3063694157, + "arguments": [ + { + "name": "enabled", + "type": "bool" + }, + { + "name": "clipabove", + "type": "bool", + "default_value": "true" + }, + { + "name": "floor", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "axis", + "type": "enum::Vector3.Axis", + "default_value": "0" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_used_cells", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_meshes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_bake_meshes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_bake_mesh_instance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_baked_meshes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "make_baked_meshes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3650612583, + "arguments": [ + { + "name": "gen_lightmap_uv", + "type": "bool", + "default_value": "false" + }, + { + "name": "lightmap_uv_texel_size", + "type": "float", + "meta": "float", + "default_value": "0.1" + } + ] + } + ], + "signals": [ + { + "name": "cell_size_changed", + "arguments": [ + { + "name": "cell_size", + "type": "Vector3" + } + ] + } + ], + "properties": [ + { + "type": "MeshLibrary", + "name": "mesh_library", + "setter": "set_mesh_library", + "getter": "get_mesh_library", + "index": -1 + }, + { + "type": "Vector3", + "name": "cell_size", + "setter": "set_cell_size", + "getter": "get_cell_size", + "index": -1 + }, + { + "type": "int", + "name": "cell_octant_size", + "setter": "set_octant_size", + "getter": "get_octant_size", + "index": -1 + }, + { + "type": "bool", + "name": "cell_center_x", + "setter": "set_center_x", + "getter": "get_center_x", + "index": -1 + }, + { + "type": "bool", + "name": "cell_center_y", + "setter": "set_center_y", + "getter": "get_center_y", + "index": -1 + }, + { + "type": "bool", + "name": "cell_center_z", + "setter": "set_center_z", + "getter": "get_center_z", + "index": -1 + }, + { + "type": "float", + "name": "cell_scale", + "setter": "set_cell_scale", + "getter": "get_cell_scale", + "index": -1 + }, + { + "type": "int", + "name": "collision_layer", + "setter": "set_collision_layer", + "getter": "get_collision_layer", + "index": -1 + }, + { + "type": "int", + "name": "collision_mask", + "setter": "set_collision_mask", + "getter": "get_collision_mask", + "index": -1 + }, + { + "type": "bool", + "name": "bake_navigation", + "setter": "set_bake_navigation", + "getter": "is_baking_navigation", + "index": -1 + }, + { + "type": "int", + "name": "navigation_layers", + "setter": "set_navigation_layers", + "getter": "get_navigation_layers", + "index": -1 + } + ] + }, + { + "name": "GrooveJoint2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Joint2D", + "api_type": "core", + "methods": [ + { + "name": "set_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_initial_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_initial_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "length", + "setter": "set_length", + "getter": "get_length", + "index": -1 + }, + { + "type": "float", + "name": "initial_offset", + "setter": "set_initial_offset", + "getter": "get_initial_offset", + "index": -1 + } + ] + }, + { + "name": "HBoxContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "BoxContainer", + "api_type": "core" + }, + { + "name": "HMACContext", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "start", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "hash_type", + "type": "enum::HashingContext.HashType" + }, + { + "name": "key", + "type": "PackedByteArray" + } + ] + }, + { + "name": "update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "finish", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedByteArray" + } + } + ] + }, + { + "name": "HScrollBar", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "ScrollBar", + "api_type": "core" + }, + { + "name": "HSeparator", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Separator", + "api_type": "core" + }, + { + "name": "HSlider", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Slider", + "api_type": "core" + }, + { + "name": "HSplitContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "SplitContainer", + "api_type": "core" + }, + { + "name": "HTTPClient", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "Status", + "values": [ + { + "name": "STATUS_DISCONNECTED", + "value": 0 + }, + { + "name": "STATUS_RESOLVING", + "value": 1 + }, + { + "name": "STATUS_CANT_RESOLVE", + "value": 2 + }, + { + "name": "STATUS_CONNECTING", + "value": 3 + }, + { + "name": "STATUS_CANT_CONNECT", + "value": 4 + }, + { + "name": "STATUS_CONNECTED", + "value": 5 + }, + { + "name": "STATUS_REQUESTING", + "value": 6 + }, + { + "name": "STATUS_BODY", + "value": 7 + }, + { + "name": "STATUS_CONNECTION_ERROR", + "value": 8 + }, + { + "name": "STATUS_SSL_HANDSHAKE_ERROR", + "value": 9 + } + ] + }, + { + "name": "Method", + "values": [ + { + "name": "METHOD_GET", + "value": 0 + }, + { + "name": "METHOD_HEAD", + "value": 1 + }, + { + "name": "METHOD_POST", + "value": 2 + }, + { + "name": "METHOD_PUT", + "value": 3 + }, + { + "name": "METHOD_DELETE", + "value": 4 + }, + { + "name": "METHOD_OPTIONS", + "value": 5 + }, + { + "name": "METHOD_TRACE", + "value": 6 + }, + { + "name": "METHOD_CONNECT", + "value": 7 + }, + { + "name": "METHOD_PATCH", + "value": 8 + }, + { + "name": "METHOD_MAX", + "value": 9 + } + ] + }, + { + "name": "ResponseCode", + "values": [ + { + "name": "RESPONSE_CONTINUE", + "value": 100 + }, + { + "name": "RESPONSE_SWITCHING_PROTOCOLS", + "value": 101 + }, + { + "name": "RESPONSE_PROCESSING", + "value": 102 + }, + { + "name": "RESPONSE_OK", + "value": 200 + }, + { + "name": "RESPONSE_CREATED", + "value": 201 + }, + { + "name": "RESPONSE_ACCEPTED", + "value": 202 + }, + { + "name": "RESPONSE_NON_AUTHORITATIVE_INFORMATION", + "value": 203 + }, + { + "name": "RESPONSE_NO_CONTENT", + "value": 204 + }, + { + "name": "RESPONSE_RESET_CONTENT", + "value": 205 + }, + { + "name": "RESPONSE_PARTIAL_CONTENT", + "value": 206 + }, + { + "name": "RESPONSE_MULTI_STATUS", + "value": 207 + }, + { + "name": "RESPONSE_ALREADY_REPORTED", + "value": 208 + }, + { + "name": "RESPONSE_IM_USED", + "value": 226 + }, + { + "name": "RESPONSE_MULTIPLE_CHOICES", + "value": 300 + }, + { + "name": "RESPONSE_MOVED_PERMANENTLY", + "value": 301 + }, + { + "name": "RESPONSE_FOUND", + "value": 302 + }, + { + "name": "RESPONSE_SEE_OTHER", + "value": 303 + }, + { + "name": "RESPONSE_NOT_MODIFIED", + "value": 304 + }, + { + "name": "RESPONSE_USE_PROXY", + "value": 305 + }, + { + "name": "RESPONSE_SWITCH_PROXY", + "value": 306 + }, + { + "name": "RESPONSE_TEMPORARY_REDIRECT", + "value": 307 + }, + { + "name": "RESPONSE_PERMANENT_REDIRECT", + "value": 308 + }, + { + "name": "RESPONSE_BAD_REQUEST", + "value": 400 + }, + { + "name": "RESPONSE_UNAUTHORIZED", + "value": 401 + }, + { + "name": "RESPONSE_PAYMENT_REQUIRED", + "value": 402 + }, + { + "name": "RESPONSE_FORBIDDEN", + "value": 403 + }, + { + "name": "RESPONSE_NOT_FOUND", + "value": 404 + }, + { + "name": "RESPONSE_METHOD_NOT_ALLOWED", + "value": 405 + }, + { + "name": "RESPONSE_NOT_ACCEPTABLE", + "value": 406 + }, + { + "name": "RESPONSE_PROXY_AUTHENTICATION_REQUIRED", + "value": 407 + }, + { + "name": "RESPONSE_REQUEST_TIMEOUT", + "value": 408 + }, + { + "name": "RESPONSE_CONFLICT", + "value": 409 + }, + { + "name": "RESPONSE_GONE", + "value": 410 + }, + { + "name": "RESPONSE_LENGTH_REQUIRED", + "value": 411 + }, + { + "name": "RESPONSE_PRECONDITION_FAILED", + "value": 412 + }, + { + "name": "RESPONSE_REQUEST_ENTITY_TOO_LARGE", + "value": 413 + }, + { + "name": "RESPONSE_REQUEST_URI_TOO_LONG", + "value": 414 + }, + { + "name": "RESPONSE_UNSUPPORTED_MEDIA_TYPE", + "value": 415 + }, + { + "name": "RESPONSE_REQUESTED_RANGE_NOT_SATISFIABLE", + "value": 416 + }, + { + "name": "RESPONSE_EXPECTATION_FAILED", + "value": 417 + }, + { + "name": "RESPONSE_IM_A_TEAPOT", + "value": 418 + }, + { + "name": "RESPONSE_MISDIRECTED_REQUEST", + "value": 421 + }, + { + "name": "RESPONSE_UNPROCESSABLE_ENTITY", + "value": 422 + }, + { + "name": "RESPONSE_LOCKED", + "value": 423 + }, + { + "name": "RESPONSE_FAILED_DEPENDENCY", + "value": 424 + }, + { + "name": "RESPONSE_UPGRADE_REQUIRED", + "value": 426 + }, + { + "name": "RESPONSE_PRECONDITION_REQUIRED", + "value": 428 + }, + { + "name": "RESPONSE_TOO_MANY_REQUESTS", + "value": 429 + }, + { + "name": "RESPONSE_REQUEST_HEADER_FIELDS_TOO_LARGE", + "value": 431 + }, + { + "name": "RESPONSE_UNAVAILABLE_FOR_LEGAL_REASONS", + "value": 451 + }, + { + "name": "RESPONSE_INTERNAL_SERVER_ERROR", + "value": 500 + }, + { + "name": "RESPONSE_NOT_IMPLEMENTED", + "value": 501 + }, + { + "name": "RESPONSE_BAD_GATEWAY", + "value": 502 + }, + { + "name": "RESPONSE_SERVICE_UNAVAILABLE", + "value": 503 + }, + { + "name": "RESPONSE_GATEWAY_TIMEOUT", + "value": 504 + }, + { + "name": "RESPONSE_HTTP_VERSION_NOT_SUPPORTED", + "value": 505 + }, + { + "name": "RESPONSE_VARIANT_ALSO_NEGOTIATES", + "value": 506 + }, + { + "name": "RESPONSE_INSUFFICIENT_STORAGE", + "value": 507 + }, + { + "name": "RESPONSE_LOOP_DETECTED", + "value": 508 + }, + { + "name": "RESPONSE_NOT_EXTENDED", + "value": 510 + }, + { + "name": "RESPONSE_NETWORK_AUTH_REQUIRED", + "value": 511 + } + ] + } + ], + "methods": [ + { + "name": "connect_to_host", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2732392300, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "host", + "type": "String" + }, + { + "name": "port", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "use_ssl", + "type": "bool", + "default_value": "false" + }, + { + "name": "verify_host", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "set_connection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "connection", + "type": "StreamPeer" + } + ] + }, + { + "name": "get_connection", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StreamPeer" + } + }, + { + "name": "request_raw", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "method", + "type": "enum::HTTPClient.Method" + }, + { + "name": "url", + "type": "String" + }, + { + "name": "headers", + "type": "PackedStringArray" + }, + { + "name": "body", + "type": "PackedByteArray" + } + ] + }, + { + "name": "request", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 175971275, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "method", + "type": "enum::HTTPClient.Method" + }, + { + "name": "url", + "type": "String" + }, + { + "name": "headers", + "type": "PackedStringArray" + }, + { + "name": "body", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "close", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "has_response", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_response_chunked", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_response_code", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_response_headers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "get_response_headers_as_dictionary", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "get_response_body_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "read_response_body_chunk", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedByteArray" + } + }, + { + "name": "set_read_chunk_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bytes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_read_chunk_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_blocking_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_blocking_mode_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_status", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::HTTPClient.Status" + } + }, + { + "name": "poll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "query_string_from_dict", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "fields", + "type": "Dictionary" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "blocking_mode_enabled", + "setter": "set_blocking_mode", + "getter": "is_blocking_mode_enabled", + "index": -1 + }, + { + "type": "StreamPeer", + "name": "connection", + "setter": "set_connection", + "getter": "get_connection", + "index": -1 + }, + { + "type": "int", + "name": "read_chunk_size", + "setter": "set_read_chunk_size", + "getter": "get_read_chunk_size", + "index": -1 + } + ] + }, + { + "name": "HTTPRequest", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core", + "enums": [ + { + "name": "Result", + "values": [ + { + "name": "RESULT_SUCCESS", + "value": 0 + }, + { + "name": "RESULT_CHUNKED_BODY_SIZE_MISMATCH", + "value": 1 + }, + { + "name": "RESULT_CANT_CONNECT", + "value": 2 + }, + { + "name": "RESULT_CANT_RESOLVE", + "value": 3 + }, + { + "name": "RESULT_CONNECTION_ERROR", + "value": 4 + }, + { + "name": "RESULT_SSL_HANDSHAKE_ERROR", + "value": 5 + }, + { + "name": "RESULT_NO_RESPONSE", + "value": 6 + }, + { + "name": "RESULT_BODY_SIZE_LIMIT_EXCEEDED", + "value": 7 + }, + { + "name": "RESULT_BODY_DECOMPRESS_FAILED", + "value": 8 + }, + { + "name": "RESULT_REQUEST_FAILED", + "value": 9 + }, + { + "name": "RESULT_DOWNLOAD_FILE_CANT_OPEN", + "value": 10 + }, + { + "name": "RESULT_DOWNLOAD_FILE_WRITE_ERROR", + "value": 11 + }, + { + "name": "RESULT_REDIRECT_LIMIT_REACHED", + "value": 12 + }, + { + "name": "RESULT_TIMEOUT", + "value": 13 + } + ] + } + ], + "methods": [ + { + "name": "request", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3556230583, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "url", + "type": "String" + }, + { + "name": "custom_headers", + "type": "PackedStringArray", + "default_value": "PackedStringArray()" + }, + { + "name": "ssl_validate_domain", + "type": "bool", + "default_value": "true" + }, + { + "name": "method", + "type": "enum::HTTPClient.Method", + "default_value": "0" + }, + { + "name": "request_data", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "request_raw", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3556230583, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "url", + "type": "String" + }, + { + "name": "custom_headers", + "type": "PackedStringArray", + "default_value": "PackedStringArray()" + }, + { + "name": "ssl_validate_domain", + "type": "bool", + "default_value": "true" + }, + { + "name": "method", + "type": "enum::HTTPClient.Method", + "default_value": "0" + }, + { + "name": "request_data_raw", + "type": "PackedByteArray", + "default_value": "PackedByteArray()" + } + ] + }, + { + "name": "cancel_request", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_http_client_status", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::HTTPClient.Status" + } + }, + { + "name": "set_use_threads", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_threads", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_accept_gzip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_accepting_gzip", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_body_size_limit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bytes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_body_size_limit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_max_redirects", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max_redirects", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_download_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_download_file", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_downloaded_bytes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_body_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_timeout", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "timeout", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_timeout", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_download_chunk_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_download_chunk_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "signals": [ + { + "name": "request_completed", + "arguments": [ + { + "name": "result", + "type": "int" + }, + { + "name": "response_code", + "type": "int" + }, + { + "name": "headers", + "type": "PackedStringArray" + }, + { + "name": "body", + "type": "PackedByteArray" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "download_file", + "setter": "set_download_file", + "getter": "get_download_file", + "index": -1 + }, + { + "type": "int", + "name": "download_chunk_size", + "setter": "set_download_chunk_size", + "getter": "get_download_chunk_size", + "index": -1 + }, + { + "type": "bool", + "name": "use_threads", + "setter": "set_use_threads", + "getter": "is_using_threads", + "index": -1 + }, + { + "type": "bool", + "name": "accept_gzip", + "setter": "set_accept_gzip", + "getter": "is_accepting_gzip", + "index": -1 + }, + { + "type": "int", + "name": "body_size_limit", + "setter": "set_body_size_limit", + "getter": "get_body_size_limit", + "index": -1 + }, + { + "type": "int", + "name": "max_redirects", + "setter": "set_max_redirects", + "getter": "get_max_redirects", + "index": -1 + }, + { + "type": "int", + "name": "timeout", + "setter": "set_timeout", + "getter": "get_timeout", + "index": -1 + } + ] + }, + { + "name": "HashingContext", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "HashType", + "values": [ + { + "name": "HASH_MD5", + "value": 0 + }, + { + "name": "HASH_SHA1", + "value": 1 + }, + { + "name": "HASH_SHA256", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "start", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "type", + "type": "enum::HashingContext.HashType" + } + ] + }, + { + "name": "update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "chunk", + "type": "PackedByteArray" + } + ] + }, + { + "name": "finish", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedByteArray" + } + } + ] + }, + { + "name": "HeightMapShape3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape3D", + "api_type": "core", + "methods": [ + { + "name": "set_map_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_map_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_map_depth", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_map_depth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_map_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "data", + "type": "PackedFloat32Array" + } + ] + }, + { + "name": "get_map_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedFloat32Array" + } + } + ], + "properties": [ + { + "type": "int", + "name": "map_width", + "setter": "set_map_width", + "getter": "get_map_width", + "index": -1 + }, + { + "type": "int", + "name": "map_depth", + "setter": "set_map_depth", + "getter": "get_map_depth", + "index": -1 + }, + { + "type": "PackedFloat32Array", + "name": "map_data", + "setter": "set_map_data", + "getter": "get_map_data", + "index": -1 + } + ] + }, + { + "name": "HingeJoint3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Joint3D", + "api_type": "core", + "enums": [ + { + "name": "Param", + "values": [ + { + "name": "PARAM_BIAS", + "value": 0 + }, + { + "name": "PARAM_LIMIT_UPPER", + "value": 1 + }, + { + "name": "PARAM_LIMIT_LOWER", + "value": 2 + }, + { + "name": "PARAM_LIMIT_BIAS", + "value": 3 + }, + { + "name": "PARAM_LIMIT_SOFTNESS", + "value": 4 + }, + { + "name": "PARAM_LIMIT_RELAXATION", + "value": 5 + }, + { + "name": "PARAM_MOTOR_TARGET_VELOCITY", + "value": 6 + }, + { + "name": "PARAM_MOTOR_MAX_IMPULSE", + "value": 7 + }, + { + "name": "PARAM_MAX", + "value": 8 + } + ] + }, + { + "name": "Flag", + "values": [ + { + "name": "FLAG_USE_LIMIT", + "value": 0 + }, + { + "name": "FLAG_ENABLE_MOTOR", + "value": 1 + }, + { + "name": "FLAG_MAX", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::HingeJoint3D.Param" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::HingeJoint3D.Param" + } + ] + }, + { + "name": "set_flag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "flag", + "type": "enum::HingeJoint3D.Flag" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_flag", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "flag", + "type": "enum::HingeJoint3D.Flag" + } + ] + } + ], + "properties": [ + { + "type": "float", + "name": "params/bias", + "setter": "set_param", + "getter": "get_param", + "index": 0 + }, + { + "type": "bool", + "name": "angular_limit/enable", + "setter": "set_flag", + "getter": "get_flag", + "index": 0 + }, + { + "type": "float", + "name": "angular_limit/upper", + "setter": "_set_upper_limit", + "getter": "_get_upper_limit", + "index": -1 + }, + { + "type": "float", + "name": "angular_limit/lower", + "setter": "_set_lower_limit", + "getter": "_get_lower_limit", + "index": -1 + }, + { + "type": "float", + "name": "angular_limit/bias", + "setter": "set_param", + "getter": "get_param", + "index": 3 + }, + { + "type": "float", + "name": "angular_limit/softness", + "setter": "set_param", + "getter": "get_param", + "index": 4 + }, + { + "type": "float", + "name": "angular_limit/relaxation", + "setter": "set_param", + "getter": "get_param", + "index": 5 + }, + { + "type": "bool", + "name": "motor/enable", + "setter": "set_flag", + "getter": "get_flag", + "index": 1 + }, + { + "type": "float", + "name": "motor/target_velocity", + "setter": "set_param", + "getter": "get_param", + "index": 6 + }, + { + "type": "float", + "name": "motor/max_impulse", + "setter": "set_param", + "getter": "get_param", + "index": 7 + } + ] + }, + { + "name": "IP", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "constants": [ + { + "name": "RESOLVER_MAX_QUERIES", + "value": 32 + }, + { + "name": "RESOLVER_INVALID_ID", + "value": -1 + } + ], + "enums": [ + { + "name": "ResolverStatus", + "values": [ + { + "name": "RESOLVER_STATUS_NONE", + "value": 0 + }, + { + "name": "RESOLVER_STATUS_WAITING", + "value": 1 + }, + { + "name": "RESOLVER_STATUS_DONE", + "value": 2 + }, + { + "name": "RESOLVER_STATUS_ERROR", + "value": 3 + } + ] + }, + { + "name": "Type", + "values": [ + { + "name": "TYPE_NONE", + "value": 0 + }, + { + "name": "TYPE_IPV4", + "value": 1 + }, + { + "name": "TYPE_IPV6", + "value": 2 + }, + { + "name": "TYPE_ANY", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "resolve_hostname", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "host", + "type": "String" + }, + { + "name": "ip_type", + "type": "enum::IP.Type", + "default_value": "3" + } + ] + }, + { + "name": "resolve_hostname_addresses", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "host", + "type": "String" + }, + { + "name": "ip_type", + "type": "enum::IP.Type", + "default_value": "3" + } + ] + }, + { + "name": "resolve_hostname_queue_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "host", + "type": "String" + }, + { + "name": "ip_type", + "type": "enum::IP.Type", + "default_value": "3" + } + ] + }, + { + "name": "get_resolve_item_status", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::IP.ResolverStatus" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_resolve_item_address", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_resolve_item_addresses", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "erase_resolve_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_local_addresses", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_local_interfaces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "clear_cache", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 139138028, + "arguments": [ + { + "name": "hostname", + "type": "String", + "default_value": "\"\"" + } + ] + } + ] + }, + { + "name": "IPUnix", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "IP", + "api_type": "core" + }, + { + "name": "Image", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "constants": [ + { + "name": "MAX_WIDTH", + "value": 16777216 + }, + { + "name": "MAX_HEIGHT", + "value": 16777216 + } + ], + "enums": [ + { + "name": "AlphaMode", + "values": [ + { + "name": "ALPHA_NONE", + "value": 0 + }, + { + "name": "ALPHA_BIT", + "value": 1 + }, + { + "name": "ALPHA_BLEND", + "value": 2 + } + ] + }, + { + "name": "CompressSource", + "values": [ + { + "name": "COMPRESS_SOURCE_GENERIC", + "value": 0 + }, + { + "name": "COMPRESS_SOURCE_SRGB", + "value": 1 + }, + { + "name": "COMPRESS_SOURCE_NORMAL", + "value": 2 + } + ] + }, + { + "name": "UsedChannels", + "values": [ + { + "name": "USED_CHANNELS_L", + "value": 0 + }, + { + "name": "USED_CHANNELS_LA", + "value": 1 + }, + { + "name": "USED_CHANNELS_R", + "value": 2 + }, + { + "name": "USED_CHANNELS_RG", + "value": 3 + }, + { + "name": "USED_CHANNELS_RGB", + "value": 4 + }, + { + "name": "USED_CHANNELS_RGBA", + "value": 5 + } + ] + }, + { + "name": "Interpolation", + "values": [ + { + "name": "INTERPOLATE_NEAREST", + "value": 0 + }, + { + "name": "INTERPOLATE_BILINEAR", + "value": 1 + }, + { + "name": "INTERPOLATE_CUBIC", + "value": 2 + }, + { + "name": "INTERPOLATE_TRILINEAR", + "value": 3 + }, + { + "name": "INTERPOLATE_LANCZOS", + "value": 4 + } + ] + }, + { + "name": "CompressMode", + "values": [ + { + "name": "COMPRESS_S3TC", + "value": 0 + }, + { + "name": "COMPRESS_PVRTC1_4", + "value": 1 + }, + { + "name": "COMPRESS_ETC", + "value": 2 + }, + { + "name": "COMPRESS_ETC2", + "value": 3 + }, + { + "name": "COMPRESS_BPTC", + "value": 4 + } + ] + }, + { + "name": "Format", + "values": [ + { + "name": "FORMAT_L8", + "value": 0 + }, + { + "name": "FORMAT_LA8", + "value": 1 + }, + { + "name": "FORMAT_R8", + "value": 2 + }, + { + "name": "FORMAT_RG8", + "value": 3 + }, + { + "name": "FORMAT_RGB8", + "value": 4 + }, + { + "name": "FORMAT_RGBA8", + "value": 5 + }, + { + "name": "FORMAT_RGBA4444", + "value": 6 + }, + { + "name": "FORMAT_RGB565", + "value": 7 + }, + { + "name": "FORMAT_RF", + "value": 8 + }, + { + "name": "FORMAT_RGF", + "value": 9 + }, + { + "name": "FORMAT_RGBF", + "value": 10 + }, + { + "name": "FORMAT_RGBAF", + "value": 11 + }, + { + "name": "FORMAT_RH", + "value": 12 + }, + { + "name": "FORMAT_RGH", + "value": 13 + }, + { + "name": "FORMAT_RGBH", + "value": 14 + }, + { + "name": "FORMAT_RGBAH", + "value": 15 + }, + { + "name": "FORMAT_RGBE9995", + "value": 16 + }, + { + "name": "FORMAT_DXT1", + "value": 17 + }, + { + "name": "FORMAT_DXT3", + "value": 18 + }, + { + "name": "FORMAT_DXT5", + "value": 19 + }, + { + "name": "FORMAT_RGTC_R", + "value": 20 + }, + { + "name": "FORMAT_RGTC_RG", + "value": 21 + }, + { + "name": "FORMAT_BPTC_RGBA", + "value": 22 + }, + { + "name": "FORMAT_BPTC_RGBF", + "value": 23 + }, + { + "name": "FORMAT_BPTC_RGBFU", + "value": 24 + }, + { + "name": "FORMAT_PVRTC1_2", + "value": 25 + }, + { + "name": "FORMAT_PVRTC1_2A", + "value": 26 + }, + { + "name": "FORMAT_PVRTC1_4", + "value": 27 + }, + { + "name": "FORMAT_PVRTC1_4A", + "value": 28 + }, + { + "name": "FORMAT_ETC", + "value": 29 + }, + { + "name": "FORMAT_ETC2_R11", + "value": 30 + }, + { + "name": "FORMAT_ETC2_R11S", + "value": 31 + }, + { + "name": "FORMAT_ETC2_RG11", + "value": 32 + }, + { + "name": "FORMAT_ETC2_RG11S", + "value": 33 + }, + { + "name": "FORMAT_ETC2_RGB8", + "value": 34 + }, + { + "name": "FORMAT_ETC2_RGBA8", + "value": 35 + }, + { + "name": "FORMAT_ETC2_RGB8A1", + "value": 36 + }, + { + "name": "FORMAT_ETC2_RA_AS_RG", + "value": 37 + }, + { + "name": "FORMAT_DXT5_RA_AS_RG", + "value": 38 + }, + { + "name": "FORMAT_MAX", + "value": 39 + } + ] + } + ], + "methods": [ + { + "name": "get_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "has_mipmaps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Image.Format" + } + }, + { + "name": "get_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedByteArray" + } + }, + { + "name": "convert", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "format", + "type": "enum::Image.Format" + } + ] + }, + { + "name": "get_mipmap_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "mipmap", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "resize_to_po2", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 143533034, + "arguments": [ + { + "name": "square", + "type": "bool", + "default_value": "false" + }, + { + "name": "interpolation", + "type": "enum::Image.Interpolation", + "default_value": "1" + } + ] + }, + { + "name": "resize", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + }, + { + "name": "height", + "type": "int", + "meta": "int32" + }, + { + "name": "interpolation", + "type": "enum::Image.Interpolation", + "default_value": "1" + } + ] + }, + { + "name": "shrink_x2", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "crop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + }, + { + "name": "height", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "flip_x", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "flip_y", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "generate_mipmaps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "renormalize", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "clear_mipmaps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + }, + { + "name": "height", + "type": "int", + "meta": "int32" + }, + { + "name": "use_mipmaps", + "type": "bool" + }, + { + "name": "format", + "type": "enum::Image.Format" + } + ] + }, + { + "name": "create_from_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + }, + { + "name": "height", + "type": "int", + "meta": "int32" + }, + { + "name": "use_mipmaps", + "type": "bool" + }, + { + "name": "format", + "type": "enum::Image.Format" + }, + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "is_empty", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "load", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "save_png", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "save_png_to_buffer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedByteArray" + } + }, + { + "name": "save_exr", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "grayscale", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "detect_alpha", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Image.AlphaMode" + } + }, + { + "name": "is_invisible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "detect_used_channels", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "enum::Image.UsedChannels" + }, + "arguments": [ + { + "name": "source", + "type": "enum::Image.CompressSource", + "default_value": "0" + } + ] + }, + { + "name": "compress", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1474135307, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "mode", + "type": "enum::Image.CompressMode" + }, + { + "name": "source", + "type": "enum::Image.CompressSource", + "default_value": "0" + }, + { + "name": "lossy_quality", + "type": "float", + "meta": "float", + "default_value": "0.7" + } + ] + }, + { + "name": "compress_from_channels", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "mode", + "type": "enum::Image.CompressMode" + }, + { + "name": "channels", + "type": "enum::Image.UsedChannels" + }, + { + "name": "lossy_quality", + "type": "float", + "meta": "float", + "default_value": "0.7" + } + ] + }, + { + "name": "decompress", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "is_compressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "fix_alpha_edges", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "premultiply_alpha", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "srgb_to_linear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "normal_map_to_xy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "rgbe_to_srgb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Image" + } + }, + { + "name": "bump_map_to_normal_map", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3158860097, + "arguments": [ + { + "name": "bump_scale", + "type": "float", + "meta": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "blit_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "src", + "type": "Image" + }, + { + "name": "src_rect", + "type": "Rect2" + }, + { + "name": "dst", + "type": "Vector2" + } + ] + }, + { + "name": "blit_rect_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "src", + "type": "Image" + }, + { + "name": "mask", + "type": "Image" + }, + { + "name": "src_rect", + "type": "Rect2" + }, + { + "name": "dst", + "type": "Vector2" + } + ] + }, + { + "name": "blend_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "src", + "type": "Image" + }, + { + "name": "src_rect", + "type": "Rect2" + }, + { + "name": "dst", + "type": "Vector2" + } + ] + }, + { + "name": "blend_rect_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "src", + "type": "Image" + }, + { + "name": "mask", + "type": "Image" + }, + { + "name": "src_rect", + "type": "Rect2" + }, + { + "name": "dst", + "type": "Vector2" + } + ] + }, + { + "name": "fill", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_used_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "get_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Image" + }, + "arguments": [ + { + "name": "rect", + "type": "Rect2" + } + ] + }, + { + "name": "copy_from", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "src", + "type": "Image" + } + ] + }, + { + "name": "get_pixelv", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "point", + "type": "Vector2i" + } + ] + }, + { + "name": "get_pixel", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "x", + "type": "int", + "meta": "int32" + }, + { + "name": "y", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_pixelv", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "point", + "type": "Vector2i" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "set_pixel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "x", + "type": "int", + "meta": "int32" + }, + { + "name": "y", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "adjust_bcs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "brightness", + "type": "float", + "meta": "float" + }, + { + "name": "contrast", + "type": "float", + "meta": "float" + }, + { + "name": "saturation", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "load_png_from_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "buffer", + "type": "PackedByteArray" + } + ] + }, + { + "name": "load_jpg_from_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "buffer", + "type": "PackedByteArray" + } + ] + }, + { + "name": "load_webp_from_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "buffer", + "type": "PackedByteArray" + } + ] + }, + { + "name": "load_tga_from_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "buffer", + "type": "PackedByteArray" + } + ] + }, + { + "name": "load_bmp_from_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "buffer", + "type": "PackedByteArray" + } + ] + } + ], + "properties": [ + { + "type": "Dictionary", + "name": "data", + "setter": "_set_data", + "getter": "_get_data", + "index": -1 + } + ] + }, + { + "name": "ImageTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "methods": [ + { + "name": "create_from_image", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "image", + "type": "Image" + } + ] + }, + { + "name": "get_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Image.Format" + } + }, + { + "name": "update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "image", + "type": "Image" + } + ] + }, + { + "name": "set_size_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2" + } + ] + } + ] + }, + { + "name": "ImageTexture3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture3D", + "api_type": "core", + "methods": [ + { + "name": "create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135553772, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "format", + "type": "enum::Image.Format" + }, + { + "name": "width", + "type": "int", + "meta": "int32" + }, + { + "name": "height", + "type": "int", + "meta": "int32" + }, + { + "name": "depth", + "type": "int", + "meta": "int32" + }, + { + "name": "use_mipmaps", + "type": "bool" + }, + { + "name": "data", + "type": "Array" + } + ] + }, + { + "name": "update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "data", + "type": "Array" + } + ] + } + ] + }, + { + "name": "ImageTextureLayered", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "TextureLayered", + "api_type": "core", + "methods": [ + { + "name": "create_from_images", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "images", + "type": "Array" + } + ] + }, + { + "name": "update_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "image", + "type": "Image" + }, + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + } + ] + }, + { + "name": "ImmediateMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Mesh", + "api_type": "core", + "methods": [ + { + "name": "surface_begin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "primitive", + "type": "enum::Mesh.PrimitiveType" + }, + { + "name": "material", + "type": "Material", + "default_value": "null" + } + ] + }, + { + "name": "surface_set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "surface_set_normal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "normal", + "type": "Vector3" + } + ] + }, + { + "name": "surface_set_tangent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tangent", + "type": "Plane" + } + ] + }, + { + "name": "surface_set_uv", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "uv", + "type": "Vector2" + } + ] + }, + { + "name": "surface_set_uv2", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "uv2", + "type": "Vector2" + } + ] + }, + { + "name": "surface_add_vertex", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vertex", + "type": "Vector3" + } + ] + }, + { + "name": "surface_add_vertex_2d", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vertex", + "type": "Vector2" + } + ] + }, + { + "name": "surface_end", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "clear_surfaces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ] + }, + { + "name": "Input", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "MouseMode", + "values": [ + { + "name": "MOUSE_MODE_VISIBLE", + "value": 0 + }, + { + "name": "MOUSE_MODE_HIDDEN", + "value": 1 + }, + { + "name": "MOUSE_MODE_CAPTURED", + "value": 2 + }, + { + "name": "MOUSE_MODE_CONFINED", + "value": 3 + }, + { + "name": "MOUSE_MODE_CONFINED_HIDDEN", + "value": 4 + } + ] + }, + { + "name": "CursorShape", + "values": [ + { + "name": "CURSOR_ARROW", + "value": 0 + }, + { + "name": "CURSOR_IBEAM", + "value": 1 + }, + { + "name": "CURSOR_POINTING_HAND", + "value": 2 + }, + { + "name": "CURSOR_CROSS", + "value": 3 + }, + { + "name": "CURSOR_WAIT", + "value": 4 + }, + { + "name": "CURSOR_BUSY", + "value": 5 + }, + { + "name": "CURSOR_DRAG", + "value": 6 + }, + { + "name": "CURSOR_CAN_DROP", + "value": 7 + }, + { + "name": "CURSOR_FORBIDDEN", + "value": 8 + }, + { + "name": "CURSOR_VSIZE", + "value": 9 + }, + { + "name": "CURSOR_HSIZE", + "value": 10 + }, + { + "name": "CURSOR_BDIAGSIZE", + "value": 11 + }, + { + "name": "CURSOR_FDIAGSIZE", + "value": 12 + }, + { + "name": "CURSOR_MOVE", + "value": 13 + }, + { + "name": "CURSOR_VSPLIT", + "value": 14 + }, + { + "name": "CURSOR_HSPLIT", + "value": 15 + }, + { + "name": "CURSOR_HELP", + "value": 16 + } + ] + } + ], + "methods": [ + { + "name": "is_key_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "keycode", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_mouse_button_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "button", + "type": "enum::MouseButton" + } + ] + }, + { + "name": "is_joy_button_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "device", + "type": "int", + "meta": "int32" + }, + { + "name": "button", + "type": "enum::JoyButton" + } + ] + }, + { + "name": "is_action_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "exact_match", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "is_action_just_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "exact_match", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "is_action_just_released", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "exact_match", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_action_strength", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "exact_match", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_action_raw_strength", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "exact_match", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_axis", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "negative_action", + "type": "StringName" + }, + { + "name": "positive_action", + "type": "StringName" + } + ] + }, + { + "name": "get_vector", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 177157229, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "negative_x", + "type": "StringName" + }, + { + "name": "positive_x", + "type": "StringName" + }, + { + "name": "negative_y", + "type": "StringName" + }, + { + "name": "positive_y", + "type": "StringName" + }, + { + "name": "deadzone", + "type": "float", + "meta": "float", + "default_value": "-1.0" + } + ] + }, + { + "name": "add_joy_mapping", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "mapping", + "type": "String" + }, + { + "name": "update_existing", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "remove_joy_mapping", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "guid", + "type": "String" + } + ] + }, + { + "name": "joy_connection_changed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "device", + "type": "int", + "meta": "int32" + }, + { + "name": "connected", + "type": "bool" + }, + { + "name": "name", + "type": "String" + }, + { + "name": "guid", + "type": "String" + } + ] + }, + { + "name": "is_joy_known", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "device", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_joy_axis", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "device", + "type": "int", + "meta": "int32" + }, + { + "name": "axis", + "type": "enum::JoyAxis" + } + ] + }, + { + "name": "get_joy_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "device", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_joy_guid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "device", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connected_joypads", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_joy_vibration_strength", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "device", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_joy_vibration_duration", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "device", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "start_joy_vibration", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "device", + "type": "int", + "meta": "int32" + }, + { + "name": "weak_magnitude", + "type": "float", + "meta": "float" + }, + { + "name": "strong_magnitude", + "type": "float", + "meta": "float" + }, + { + "name": "duration", + "type": "float", + "meta": "float", + "default_value": "0" + } + ] + }, + { + "name": "stop_joy_vibration", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "device", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "vibrate_handheld", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133822619, + "arguments": [ + { + "name": "duration_ms", + "type": "int", + "meta": "int32", + "default_value": "500" + } + ] + }, + { + "name": "get_gravity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_accelerometer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_magnetometer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_gyroscope", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_last_mouse_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_mouse_button_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_mouse_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Input.MouseMode" + } + ] + }, + { + "name": "get_mouse_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Input.MouseMode" + } + }, + { + "name": "warp_mouse_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "to", + "type": "Vector2" + } + ] + }, + { + "name": "action_press", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "strength", + "type": "float", + "meta": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "action_release", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "action", + "type": "StringName" + } + ] + }, + { + "name": "set_default_cursor_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "shape", + "type": "enum::Input.CursorShape", + "default_value": "0" + } + ] + }, + { + "name": "get_current_cursor_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Input.CursorShape" + } + }, + { + "name": "set_custom_mouse_cursor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182667338, + "arguments": [ + { + "name": "image", + "type": "Resource" + }, + { + "name": "shape", + "type": "enum::Input.CursorShape", + "default_value": "0" + }, + { + "name": "hotspot", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "parse_input_event", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "set_use_accumulated_input", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + } + ], + "signals": [ + { + "name": "joy_connection_changed", + "arguments": [ + { + "name": "device", + "type": "int" + }, + { + "name": "connected", + "type": "bool" + } + ] + } + ] + }, + { + "name": "InputEvent", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_device", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "device", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_device", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "is_action", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "exact_match", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "is_action_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1474135340, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "allow_echo", + "type": "bool", + "default_value": "false" + }, + { + "name": "exact_match", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "is_action_released", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "exact_match", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_action_strength", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "exact_match", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "is_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_echo", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "as_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "is_match", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "event", + "type": "InputEvent" + }, + { + "name": "exact_match", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "is_action_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "accumulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "with_event", + "type": "InputEvent" + } + ] + }, + { + "name": "xformed_by", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "InputEvent" + }, + "arguments": [ + { + "name": "xform", + "type": "Transform2D" + }, + { + "name": "local_ofs", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "device", + "setter": "set_device", + "getter": "get_device", + "index": -1 + } + ] + }, + { + "name": "InputEventAction", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "InputEvent", + "api_type": "core", + "methods": [ + { + "name": "set_action", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "action", + "type": "StringName" + } + ] + }, + { + "name": "get_action", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + }, + { + "name": "set_strength", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "strength", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_strength", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "StringName", + "name": "action", + "setter": "set_action", + "getter": "get_action", + "index": -1 + }, + { + "type": "bool", + "name": "pressed", + "setter": "set_pressed", + "getter": "is_pressed", + "index": -1 + }, + { + "type": "float", + "name": "strength", + "setter": "set_strength", + "getter": "get_strength", + "index": -1 + } + ] + }, + { + "name": "InputEventFromWindow", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "InputEvent", + "api_type": "core", + "methods": [ + { + "name": "set_window_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "get_window_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int64" + } + } + ], + "properties": [ + { + "type": "int", + "name": "window_id", + "setter": "set_window_id", + "getter": "get_window_id", + "index": -1 + } + ] + }, + { + "name": "InputEventGesture", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "InputEventWithModifiers", + "api_type": "core", + "methods": [ + { + "name": "set_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "position", + "setter": "set_position", + "getter": "get_position", + "index": -1 + } + ] + }, + { + "name": "InputEventJoypadButton", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "InputEvent", + "api_type": "core", + "methods": [ + { + "name": "set_button_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "button_index", + "type": "enum::JoyButton" + } + ] + }, + { + "name": "get_button_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::JoyButton" + } + }, + { + "name": "set_pressure", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressure", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pressure", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "button_index", + "setter": "set_button_index", + "getter": "get_button_index", + "index": -1 + }, + { + "type": "float", + "name": "pressure", + "setter": "set_pressure", + "getter": "get_pressure", + "index": -1 + }, + { + "type": "bool", + "name": "pressed", + "setter": "set_pressed", + "getter": "is_pressed", + "index": -1 + } + ] + }, + { + "name": "InputEventJoypadMotion", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "InputEvent", + "api_type": "core", + "methods": [ + { + "name": "set_axis", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "axis", + "type": "enum::JoyAxis" + } + ] + }, + { + "name": "get_axis", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::JoyAxis" + } + }, + { + "name": "set_axis_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "axis_value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_axis_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "int", + "name": "axis", + "setter": "set_axis", + "getter": "get_axis", + "index": -1 + }, + { + "type": "float", + "name": "axis_value", + "setter": "set_axis_value", + "getter": "get_axis_value", + "index": -1 + } + ] + }, + { + "name": "InputEventKey", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "InputEventWithModifiers", + "api_type": "core", + "methods": [ + { + "name": "set_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + }, + { + "name": "set_keycode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "keycode", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_keycode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_physical_keycode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "physical_keycode", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_physical_keycode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_unicode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "unicode", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_unicode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_echo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "echo", + "type": "bool" + } + ] + }, + { + "name": "get_keycode_with_modifiers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "get_physical_keycode_with_modifiers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "pressed", + "setter": "set_pressed", + "getter": "is_pressed", + "index": -1 + }, + { + "type": "int", + "name": "keycode", + "setter": "set_keycode", + "getter": "get_keycode", + "index": -1 + }, + { + "type": "int", + "name": "physical_keycode", + "setter": "set_physical_keycode", + "getter": "get_physical_keycode", + "index": -1 + }, + { + "type": "int", + "name": "unicode", + "setter": "set_unicode", + "getter": "get_unicode", + "index": -1 + }, + { + "type": "bool", + "name": "echo", + "setter": "set_echo", + "getter": "is_echo", + "index": -1 + } + ] + }, + { + "name": "InputEventMIDI", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "InputEvent", + "api_type": "core", + "methods": [ + { + "name": "set_channel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "channel", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_channel", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_message", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "message", + "type": "enum::MIDIMessage" + } + ] + }, + { + "name": "get_message", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::MIDIMessage" + } + }, + { + "name": "set_pitch", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pitch", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_pitch", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "velocity", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_instrument", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "instrument", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_instrument", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_pressure", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressure", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_pressure", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_controller_number", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "controller_number", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_controller_number", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_controller_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "controller_value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_controller_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "int", + "name": "channel", + "setter": "set_channel", + "getter": "get_channel", + "index": -1 + }, + { + "type": "int", + "name": "message", + "setter": "set_message", + "getter": "get_message", + "index": -1 + }, + { + "type": "int", + "name": "pitch", + "setter": "set_pitch", + "getter": "get_pitch", + "index": -1 + }, + { + "type": "int", + "name": "velocity", + "setter": "set_velocity", + "getter": "get_velocity", + "index": -1 + }, + { + "type": "int", + "name": "instrument", + "setter": "set_instrument", + "getter": "get_instrument", + "index": -1 + }, + { + "type": "int", + "name": "pressure", + "setter": "set_pressure", + "getter": "get_pressure", + "index": -1 + }, + { + "type": "int", + "name": "controller_number", + "setter": "set_controller_number", + "getter": "get_controller_number", + "index": -1 + }, + { + "type": "int", + "name": "controller_value", + "setter": "set_controller_value", + "getter": "get_controller_value", + "index": -1 + } + ] + }, + { + "name": "InputEventMagnifyGesture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "InputEventGesture", + "api_type": "core", + "methods": [ + { + "name": "set_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "factor", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_factor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "factor", + "setter": "set_factor", + "getter": "get_factor", + "index": -1 + } + ] + }, + { + "name": "InputEventMouse", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "InputEventWithModifiers", + "api_type": "core", + "methods": [ + { + "name": "set_button_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "button_mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_button_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_global_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "global_position", + "type": "Vector2" + } + ] + }, + { + "name": "get_global_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "int", + "name": "button_mask", + "setter": "set_button_mask", + "getter": "get_button_mask", + "index": -1 + }, + { + "type": "Vector2", + "name": "position", + "setter": "set_position", + "getter": "get_position", + "index": -1 + }, + { + "type": "Vector2", + "name": "global_position", + "setter": "set_global_position", + "getter": "get_global_position", + "index": -1 + } + ] + }, + { + "name": "InputEventMouseButton", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "InputEventMouse", + "api_type": "core", + "methods": [ + { + "name": "set_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "factor", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_factor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_button_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "button_index", + "type": "enum::MouseButton" + } + ] + }, + { + "name": "get_button_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::MouseButton" + } + }, + { + "name": "set_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + }, + { + "name": "set_double_click", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "double_click", + "type": "bool" + } + ] + }, + { + "name": "is_double_click", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "float", + "name": "factor", + "setter": "set_factor", + "getter": "get_factor", + "index": -1 + }, + { + "type": "int", + "name": "button_index", + "setter": "set_button_index", + "getter": "get_button_index", + "index": -1 + }, + { + "type": "bool", + "name": "pressed", + "setter": "set_pressed", + "getter": "is_pressed", + "index": -1 + }, + { + "type": "bool", + "name": "double_click", + "setter": "set_double_click", + "getter": "is_double_click", + "index": -1 + } + ] + }, + { + "name": "InputEventMouseMotion", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "InputEventMouse", + "api_type": "core", + "methods": [ + { + "name": "set_tilt", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tilt", + "type": "Vector2" + } + ] + }, + { + "name": "get_tilt", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_pressure", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressure", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pressure", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_relative", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "relative", + "type": "Vector2" + } + ] + }, + { + "name": "get_relative", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_speed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "speed", + "type": "Vector2" + } + ] + }, + { + "name": "get_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "tilt", + "setter": "set_tilt", + "getter": "get_tilt", + "index": -1 + }, + { + "type": "float", + "name": "pressure", + "setter": "set_pressure", + "getter": "get_pressure", + "index": -1 + }, + { + "type": "Vector2", + "name": "relative", + "setter": "set_relative", + "getter": "get_relative", + "index": -1 + }, + { + "type": "Vector2", + "name": "speed", + "setter": "set_speed", + "getter": "get_speed", + "index": -1 + } + ] + }, + { + "name": "InputEventPanGesture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "InputEventGesture", + "api_type": "core", + "methods": [ + { + "name": "set_delta", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "delta", + "type": "Vector2" + } + ] + }, + { + "name": "get_delta", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "delta", + "setter": "set_delta", + "getter": "get_delta", + "index": -1 + } + ] + }, + { + "name": "InputEventScreenDrag", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "InputEventFromWindow", + "api_type": "core", + "methods": [ + { + "name": "set_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_relative", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "relative", + "type": "Vector2" + } + ] + }, + { + "name": "get_relative", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_speed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "speed", + "type": "Vector2" + } + ] + }, + { + "name": "get_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "int", + "name": "index", + "setter": "set_index", + "getter": "get_index", + "index": -1 + }, + { + "type": "Vector2", + "name": "position", + "setter": "set_position", + "getter": "get_position", + "index": -1 + }, + { + "type": "Vector2", + "name": "relative", + "setter": "set_relative", + "getter": "get_relative", + "index": -1 + }, + { + "type": "Vector2", + "name": "speed", + "setter": "set_speed", + "getter": "get_speed", + "index": -1 + } + ] + }, + { + "name": "InputEventScreenTouch", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "InputEventFromWindow", + "api_type": "core", + "methods": [ + { + "name": "set_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "index", + "setter": "set_index", + "getter": "get_index", + "index": -1 + }, + { + "type": "Vector2", + "name": "position", + "setter": "set_position", + "getter": "get_position", + "index": -1 + }, + { + "type": "bool", + "name": "pressed", + "setter": "set_pressed", + "getter": "is_pressed", + "index": -1 + } + ] + }, + { + "name": "InputEventWithModifiers", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "InputEventFromWindow", + "api_type": "core", + "methods": [ + { + "name": "set_store_command", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_storing_command", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_alt_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + }, + { + "name": "is_alt_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_shift_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + }, + { + "name": "is_shift_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_ctrl_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + }, + { + "name": "is_ctrl_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_meta_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + }, + { + "name": "is_meta_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_command_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressed", + "type": "bool" + } + ] + }, + { + "name": "is_command_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "store_command", + "setter": "set_store_command", + "getter": "is_storing_command", + "index": -1 + }, + { + "type": "bool", + "name": "alt_pressed", + "setter": "set_alt_pressed", + "getter": "is_alt_pressed", + "index": -1 + }, + { + "type": "bool", + "name": "shift_pressed", + "setter": "set_shift_pressed", + "getter": "is_shift_pressed", + "index": -1 + }, + { + "type": "bool", + "name": "ctrl_pressed", + "setter": "set_ctrl_pressed", + "getter": "is_ctrl_pressed", + "index": -1 + }, + { + "type": "bool", + "name": "meta_pressed", + "setter": "set_meta_pressed", + "getter": "is_meta_pressed", + "index": -1 + }, + { + "type": "bool", + "name": "command_pressed", + "setter": "set_command_pressed", + "getter": "is_command_pressed", + "index": -1 + } + ] + }, + { + "name": "InputMap", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "has_action", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + } + ] + }, + { + "name": "get_actions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "add_action", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "deadzone", + "type": "float", + "meta": "float", + "default_value": "0.5" + } + ] + }, + { + "name": "erase_action", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "action", + "type": "StringName" + } + ] + }, + { + "name": "action_set_deadzone", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "deadzone", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "action_get_deadzone", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + } + ] + }, + { + "name": "action_add_event", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "action_has_event", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "action_erase_event", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "action", + "type": "StringName" + }, + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "action_erase_events", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "action", + "type": "StringName" + } + ] + }, + { + "name": "action_get_events", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + } + ] + }, + { + "name": "event_is_action", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 174785387, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "event", + "type": "InputEvent" + }, + { + "name": "action", + "type": "StringName" + }, + { + "name": "exact_match", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "load_from_project_settings", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ] + }, + { + "name": "InstancePlaceholder", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node", + "api_type": "core", + "methods": [ + { + "name": "get_stored_values", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "with_order", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "create_instance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1434999914, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "replace", + "type": "bool", + "default_value": "false" + }, + { + "name": "custom_scene", + "type": "PackedScene", + "default_value": "null" + } + ] + }, + { + "name": "get_instance_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ] + }, + { + "name": "IntervalTweener", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Tweener", + "api_type": "core" + }, + { + "name": "ItemList", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "enums": [ + { + "name": "SelectMode", + "values": [ + { + "name": "SELECT_SINGLE", + "value": 0 + }, + { + "name": "SELECT_MULTI", + "value": 1 + } + ] + }, + { + "name": "IconMode", + "values": [ + { + "name": "ICON_MODE_TOP", + "value": 0 + }, + { + "name": "ICON_MODE_LEFT", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "add_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1474135307, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "text", + "type": "String" + }, + { + "name": "icon", + "type": "Texture2D", + "default_value": "null" + }, + { + "name": "selectable", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "add_icon_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "icon", + "type": "Texture2D" + }, + { + "name": "selectable", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "set_item_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_item_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "icon", + "type": "Texture2D" + } + ] + }, + { + "name": "get_item_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_text_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "get_item_text_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Control.TextDirection" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_item_opentype_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_item_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_icon_transposed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "transposed", + "type": "bool" + } + ] + }, + { + "name": "is_item_icon_transposed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_icon_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "rect", + "type": "Rect2" + } + ] + }, + { + "name": "get_item_icon_region", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Rect2" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_icon_modulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "modulate", + "type": "Color" + } + ] + }, + { + "name": "get_item_icon_modulate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_selectable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "selectable", + "type": "bool" + } + ] + }, + { + "name": "is_item_selectable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "is_item_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_metadata", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "metadata", + "type": "Variant" + } + ] + }, + { + "name": "get_item_metadata", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_custom_bg_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "custom_bg_color", + "type": "Color" + } + ] + }, + { + "name": "get_item_custom_bg_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_custom_fg_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "custom_fg_color", + "type": "Color" + } + ] + }, + { + "name": "get_item_custom_fg_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_tooltip_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_item_tooltip_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_tooltip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "tooltip", + "type": "String" + } + ] + }, + { + "name": "get_item_tooltip", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "select", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "single", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "deselect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "deselect_all", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_selected", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_selected_items", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "move_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "from_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "to_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "remove_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "sort_items_by_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_fixed_column_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_fixed_column_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_same_column_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_same_column_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_max_text_lines", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "lines", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max_text_lines", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_max_columns", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max_columns", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_select_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::ItemList.SelectMode" + } + ] + }, + { + "name": "get_select_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::ItemList.SelectMode" + } + }, + { + "name": "set_icon_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::ItemList.IconMode" + } + ] + }, + { + "name": "get_icon_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::ItemList.IconMode" + } + }, + { + "name": "set_fixed_icon_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "get_fixed_icon_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_icon_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_icon_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_allow_rmb_select", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "allow", + "type": "bool" + } + ] + }, + { + "name": "get_allow_rmb_select", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_allow_reselect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "allow", + "type": "bool" + } + ] + }, + { + "name": "get_allow_reselect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_auto_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "has_auto_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_anything_selected", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_item_at_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "exact", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "ensure_current_is_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_v_scroll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "VScrollBar" + } + } + ], + "signals": [ + { + "name": "item_activated", + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "multi_selected", + "arguments": [ + { + "name": "index", + "type": "int" + }, + { + "name": "selected", + "type": "bool" + } + ] + }, + { + "name": "nothing_selected" + }, + { + "name": "rmb_clicked", + "arguments": [ + { + "name": "at_position", + "type": "Vector2" + } + ] + }, + { + "name": "item_rmb_selected", + "arguments": [ + { + "name": "index", + "type": "int" + }, + { + "name": "at_position", + "type": "Vector2" + } + ] + }, + { + "name": "item_selected", + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "Array", + "name": "items", + "setter": "_set_items", + "getter": "_get_items", + "index": -1 + }, + { + "type": "int", + "name": "select_mode", + "setter": "set_select_mode", + "getter": "get_select_mode", + "index": -1 + }, + { + "type": "bool", + "name": "allow_reselect", + "setter": "set_allow_reselect", + "getter": "get_allow_reselect", + "index": -1 + }, + { + "type": "bool", + "name": "allow_rmb_select", + "setter": "set_allow_rmb_select", + "getter": "get_allow_rmb_select", + "index": -1 + }, + { + "type": "int", + "name": "max_text_lines", + "setter": "set_max_text_lines", + "getter": "get_max_text_lines", + "index": -1 + }, + { + "type": "bool", + "name": "auto_height", + "setter": "set_auto_height", + "getter": "has_auto_height", + "index": -1 + }, + { + "type": "int", + "name": "max_columns", + "setter": "set_max_columns", + "getter": "get_max_columns", + "index": -1 + }, + { + "type": "bool", + "name": "same_column_width", + "setter": "set_same_column_width", + "getter": "is_same_column_width", + "index": -1 + }, + { + "type": "int", + "name": "fixed_column_width", + "setter": "set_fixed_column_width", + "getter": "get_fixed_column_width", + "index": -1 + }, + { + "type": "int", + "name": "icon_mode", + "setter": "set_icon_mode", + "getter": "get_icon_mode", + "index": -1 + }, + { + "type": "float", + "name": "icon_scale", + "setter": "set_icon_scale", + "getter": "get_icon_scale", + "index": -1 + }, + { + "type": "Vector2", + "name": "fixed_icon_size", + "setter": "set_fixed_icon_size", + "getter": "get_fixed_icon_size", + "index": -1 + } + ] + }, + { + "name": "JNISingleton", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core" + }, + { + "name": "JSON", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "stringify", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2925806323, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "data", + "type": "Variant" + }, + { + "name": "indent", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "sort_keys", + "type": "bool", + "default_value": "true" + }, + { + "name": "full_precision", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "parse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "json_string", + "type": "String" + } + ] + }, + { + "name": "get_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Variant" + } + }, + { + "name": "get_error_line", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_error_message", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ] + }, + { + "name": "JSONRPC", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "ErrorCode", + "values": [ + { + "name": "PARSE_ERROR", + "value": -32700 + }, + { + "name": "INVALID_REQUEST", + "value": -32600 + }, + { + "name": "METHOD_NOT_FOUND", + "value": -32601 + }, + { + "name": "INVALID_PARAMS", + "value": -32602 + }, + { + "name": "INTERNAL_ERROR", + "value": -32603 + } + ] + } + ], + "methods": [ + { + "name": "set_scope", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "scope", + "type": "String" + }, + { + "name": "target", + "type": "Object" + } + ] + }, + { + "name": "process_action", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "action", + "type": "Variant" + }, + { + "name": "recurse", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "process_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "action", + "type": "String" + } + ] + }, + { + "name": "make_request", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "method", + "type": "String" + }, + { + "name": "params", + "type": "Variant" + }, + { + "name": "id", + "type": "Variant" + } + ] + }, + { + "name": "make_response", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "result", + "type": "Variant" + }, + { + "name": "id", + "type": "Variant" + } + ] + }, + { + "name": "make_notification", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "method", + "type": "String" + }, + { + "name": "params", + "type": "Variant" + } + ] + }, + { + "name": "make_response_error", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 174785387, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "code", + "type": "int", + "meta": "int32" + }, + { + "name": "message", + "type": "String" + }, + { + "name": "id", + "type": "Variant", + "default_value": "null" + } + ] + } + ] + }, + { + "name": "JavaClass", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core" + }, + { + "name": "JavaClassWrapper", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "wrap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "JavaClass" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + } + ] + }, + { + "name": "JavaScript", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "eval", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "code", + "type": "String" + }, + { + "name": "use_global_execution_context", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_interface", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "JavaScriptObject" + }, + "arguments": [ + { + "name": "interface", + "type": "String" + } + ] + }, + { + "name": "create_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "JavaScriptObject" + }, + "arguments": [ + { + "name": "callable", + "type": "Callable" + } + ] + }, + { + "name": "create_object", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135374088, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "object", + "type": "String" + } + ] + }, + { + "name": "download_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "buffer", + "type": "PackedByteArray" + }, + { + "name": "name", + "type": "String" + }, + { + "name": "mime", + "type": "String", + "default_value": "\"application/octet-stream\"" + } + ] + } + ] + }, + { + "name": "JavaScriptObject", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core" + }, + { + "name": "Joint2D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_node_a", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "NodePath" + } + ] + }, + { + "name": "get_node_a", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_node_b", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "NodePath" + } + ] + }, + { + "name": "get_node_b", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_bias", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bias", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bias", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_exclude_nodes_from_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_exclude_nodes_from_collision", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "NodePath", + "name": "node_a", + "setter": "set_node_a", + "getter": "get_node_a", + "index": -1 + }, + { + "type": "NodePath", + "name": "node_b", + "setter": "set_node_b", + "getter": "get_node_b", + "index": -1 + }, + { + "type": "float", + "name": "bias", + "setter": "set_bias", + "getter": "get_bias", + "index": -1 + }, + { + "type": "bool", + "name": "disable_collision", + "setter": "set_exclude_nodes_from_collision", + "getter": "get_exclude_nodes_from_collision", + "index": -1 + } + ] + }, + { + "name": "Joint3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_node_a", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "NodePath" + } + ] + }, + { + "name": "get_node_a", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_node_b", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "NodePath" + } + ] + }, + { + "name": "get_node_b", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_solver_priority", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "priority", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_solver_priority", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_exclude_nodes_from_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_exclude_nodes_from_collision", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "NodePath", + "name": "nodes/node_a", + "setter": "set_node_a", + "getter": "get_node_a", + "index": -1 + }, + { + "type": "NodePath", + "name": "nodes/node_b", + "setter": "set_node_b", + "getter": "get_node_b", + "index": -1 + }, + { + "type": "int", + "name": "solver/priority", + "setter": "set_solver_priority", + "getter": "get_solver_priority", + "index": -1 + }, + { + "type": "bool", + "name": "collision/exclude_nodes", + "setter": "set_exclude_nodes_from_collision", + "getter": "get_exclude_nodes_from_collision", + "index": -1 + } + ] + }, + { + "name": "KinematicCollision2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_travel", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_remainder", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_local_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Object" + } + }, + { + "name": "get_collider", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Object" + } + }, + { + "name": "get_collider_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_collider_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_collider_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Object" + } + }, + { + "name": "get_collider_shape_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_collider_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_collider_metadata", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Variant" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "position", + "setter": "", + "getter": "get_position", + "index": -1 + }, + { + "type": "Vector2", + "name": "normal", + "setter": "", + "getter": "get_normal", + "index": -1 + }, + { + "type": "Vector2", + "name": "travel", + "setter": "", + "getter": "get_travel", + "index": -1 + }, + { + "type": "Vector2", + "name": "remainder", + "setter": "", + "getter": "get_remainder", + "index": -1 + }, + { + "type": "Object", + "name": "local_shape", + "setter": "", + "getter": "get_local_shape", + "index": -1 + }, + { + "type": "Object", + "name": "collider", + "setter": "", + "getter": "get_collider", + "index": -1 + }, + { + "type": "int", + "name": "collider_id", + "setter": "", + "getter": "get_collider_id", + "index": -1 + }, + { + "type": "RID", + "name": "collider_rid", + "setter": "", + "getter": "get_collider_rid", + "index": -1 + }, + { + "type": "Object", + "name": "collider_shape", + "setter": "", + "getter": "get_collider_shape", + "index": -1 + }, + { + "type": "int", + "name": "collider_shape_index", + "setter": "", + "getter": "get_collider_shape_index", + "index": -1 + }, + { + "type": "Vector2", + "name": "collider_velocity", + "setter": "", + "getter": "get_collider_velocity", + "index": -1 + }, + { + "type": "Variant", + "name": "collider_metadata", + "setter": "", + "getter": "get_collider_metadata", + "index": -1 + } + ] + }, + { + "name": "KinematicCollision3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_travel", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_remainder", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_local_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Object" + } + }, + { + "name": "get_collider", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Object" + } + }, + { + "name": "get_collider_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_collider_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_collider_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Object" + } + }, + { + "name": "get_collider_shape_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_collider_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_collider_metadata", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Variant" + } + } + ], + "properties": [ + { + "type": "Vector3", + "name": "position", + "setter": "", + "getter": "get_position", + "index": -1 + }, + { + "type": "Vector3", + "name": "normal", + "setter": "", + "getter": "get_normal", + "index": -1 + }, + { + "type": "Vector3", + "name": "travel", + "setter": "", + "getter": "get_travel", + "index": -1 + }, + { + "type": "Vector3", + "name": "remainder", + "setter": "", + "getter": "get_remainder", + "index": -1 + }, + { + "type": "Object", + "name": "local_shape", + "setter": "", + "getter": "get_local_shape", + "index": -1 + }, + { + "type": "Object", + "name": "collider", + "setter": "", + "getter": "get_collider", + "index": -1 + }, + { + "type": "int", + "name": "collider_id", + "setter": "", + "getter": "get_collider_id", + "index": -1 + }, + { + "type": "RID", + "name": "collider_rid", + "setter": "", + "getter": "get_collider_rid", + "index": -1 + }, + { + "type": "Object", + "name": "collider_shape", + "setter": "", + "getter": "get_collider_shape", + "index": -1 + }, + { + "type": "int", + "name": "collider_shape_index", + "setter": "", + "getter": "get_collider_shape_index", + "index": -1 + }, + { + "type": "Vector3", + "name": "collider_velocity", + "setter": "", + "getter": "get_collider_velocity", + "index": -1 + }, + { + "type": "Variant", + "name": "collider_metadata", + "setter": "", + "getter": "get_collider_metadata", + "index": -1 + } + ] + }, + { + "name": "Label", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "enums": [ + { + "name": "Align", + "values": [ + { + "name": "ALIGN_LEFT", + "value": 0 + }, + { + "name": "ALIGN_CENTER", + "value": 1 + }, + { + "name": "ALIGN_RIGHT", + "value": 2 + }, + { + "name": "ALIGN_FILL", + "value": 3 + } + ] + }, + { + "name": "AutowrapMode", + "values": [ + { + "name": "AUTOWRAP_OFF", + "value": 0 + }, + { + "name": "AUTOWRAP_ARBITRARY", + "value": 1 + }, + { + "name": "AUTOWRAP_WORD", + "value": 2 + }, + { + "name": "AUTOWRAP_WORD_SMART", + "value": 3 + } + ] + }, + { + "name": "OverrunBehavior", + "values": [ + { + "name": "OVERRUN_NO_TRIMMING", + "value": 0 + }, + { + "name": "OVERRUN_TRIM_CHAR", + "value": 1 + }, + { + "name": "OVERRUN_TRIM_WORD", + "value": 2 + }, + { + "name": "OVERRUN_TRIM_ELLIPSIS", + "value": 3 + }, + { + "name": "OVERRUN_TRIM_WORD_ELLIPSIS", + "value": 4 + } + ] + }, + { + "name": "VAlign", + "values": [ + { + "name": "VALIGN_TOP", + "value": 0 + }, + { + "name": "VALIGN_CENTER", + "value": 1 + }, + { + "name": "VALIGN_BOTTOM", + "value": 2 + }, + { + "name": "VALIGN_FILL", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "align", + "type": "enum::Label.Align" + } + ] + }, + { + "name": "get_align", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Label.Align" + } + }, + { + "name": "set_valign", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "valign", + "type": "enum::Label.VAlign" + } + ] + }, + { + "name": "get_valign", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Label.VAlign" + } + }, + { + "name": "set_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_text_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "get_text_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.TextDirection" + } + }, + { + "name": "set_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_opentype_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_autowrap_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "autowrap_mode", + "type": "enum::Label.AutowrapMode" + } + ] + }, + { + "name": "get_autowrap_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Label.AutowrapMode" + } + }, + { + "name": "set_clip_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_clipping_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_text_overrun_behavior", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "overrun_behavior", + "type": "enum::Label.OverrunBehavior" + } + ] + }, + { + "name": "get_text_overrun_behavior", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Label.OverrunBehavior" + } + }, + { + "name": "set_uppercase", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_uppercase", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_line_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172412456, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_line_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_visible_line_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_total_character_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_visible_characters", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_visible_characters", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_percent_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "percent_visible", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_percent_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_lines_skipped", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "lines_skipped", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_lines_skipped", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_max_lines_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "lines_visible", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max_lines_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_structured_text_bidi_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "parser", + "type": "enum::Control.StructuredTextParser" + } + ] + }, + { + "name": "get_structured_text_bidi_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.StructuredTextParser" + } + }, + { + "name": "set_structured_text_bidi_override_options", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "args", + "type": "Array" + } + ] + }, + { + "name": "get_structured_text_bidi_override_options", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + } + ], + "properties": [ + { + "type": "String", + "name": "text", + "setter": "set_text", + "getter": "get_text", + "index": -1 + }, + { + "type": "int", + "name": "text_direction", + "setter": "set_text_direction", + "getter": "get_text_direction", + "index": -1 + }, + { + "type": "String", + "name": "language", + "setter": "set_language", + "getter": "get_language", + "index": -1 + }, + { + "type": "int", + "name": "align", + "setter": "set_align", + "getter": "get_align", + "index": -1 + }, + { + "type": "int", + "name": "valign", + "setter": "set_valign", + "getter": "get_valign", + "index": -1 + }, + { + "type": "int", + "name": "autowrap_mode", + "setter": "set_autowrap_mode", + "getter": "get_autowrap_mode", + "index": -1 + }, + { + "type": "bool", + "name": "clip_text", + "setter": "set_clip_text", + "getter": "is_clipping_text", + "index": -1 + }, + { + "type": "int", + "name": "text_overrun_behavior", + "setter": "set_text_overrun_behavior", + "getter": "get_text_overrun_behavior", + "index": -1 + }, + { + "type": "bool", + "name": "uppercase", + "setter": "set_uppercase", + "getter": "is_uppercase", + "index": -1 + }, + { + "type": "int", + "name": "visible_characters", + "setter": "set_visible_characters", + "getter": "get_visible_characters", + "index": -1 + }, + { + "type": "float", + "name": "percent_visible", + "setter": "set_percent_visible", + "getter": "get_percent_visible", + "index": -1 + }, + { + "type": "int", + "name": "lines_skipped", + "setter": "set_lines_skipped", + "getter": "get_lines_skipped", + "index": -1 + }, + { + "type": "int", + "name": "max_lines_visible", + "setter": "set_max_lines_visible", + "getter": "get_max_lines_visible", + "index": -1 + }, + { + "type": "int", + "name": "structured_text_bidi_override", + "setter": "set_structured_text_bidi_override", + "getter": "get_structured_text_bidi_override", + "index": -1 + }, + { + "type": "Array", + "name": "structured_text_bidi_override_options", + "setter": "set_structured_text_bidi_override_options", + "getter": "get_structured_text_bidi_override_options", + "index": -1 + } + ] + }, + { + "name": "Light2D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node2D", + "api_type": "core", + "enums": [ + { + "name": "ShadowFilter", + "values": [ + { + "name": "SHADOW_FILTER_NONE", + "value": 0 + }, + { + "name": "SHADOW_FILTER_PCF5", + "value": 1 + }, + { + "name": "SHADOW_FILTER_PCF13", + "value": 2 + } + ] + }, + { + "name": "BlendMode", + "values": [ + { + "name": "BLEND_MODE_ADD", + "value": 0 + }, + { + "name": "BLEND_MODE_SUB", + "value": 1 + }, + { + "name": "BLEND_MODE_MIX", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_editor_only", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "editor_only", + "type": "bool" + } + ] + }, + { + "name": "is_editor_only", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_z_range_min", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "z", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_z_range_min", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_z_range_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "z", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_z_range_max", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_layer_range_min", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_layer_range_min", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_layer_range_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_layer_range_max", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_item_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "item_cull_mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_cull_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_item_shadow_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "item_shadow_cull_mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_shadow_cull_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_shadow_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_shadow_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_shadow_smooth", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "smooth", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_shadow_smooth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_shadow_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filter", + "type": "enum::Light2D.ShadowFilter" + } + ] + }, + { + "name": "get_shadow_filter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Light2D.ShadowFilter" + } + }, + { + "name": "set_shadow_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shadow_color", + "type": "Color" + } + ] + }, + { + "name": "get_shadow_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_blend_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Light2D.BlendMode" + } + ] + }, + { + "name": "get_blend_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Light2D.BlendMode" + } + }, + { + "name": "set_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "enabled", + "setter": "set_enabled", + "getter": "is_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "editor_only", + "setter": "set_editor_only", + "getter": "is_editor_only", + "index": -1 + }, + { + "type": "Color", + "name": "color", + "setter": "set_color", + "getter": "get_color", + "index": -1 + }, + { + "type": "float", + "name": "energy", + "setter": "set_energy", + "getter": "get_energy", + "index": -1 + }, + { + "type": "int", + "name": "blend_mode", + "setter": "set_blend_mode", + "getter": "get_blend_mode", + "index": -1 + }, + { + "type": "int", + "name": "range_z_min", + "setter": "set_z_range_min", + "getter": "get_z_range_min", + "index": -1 + }, + { + "type": "int", + "name": "range_z_max", + "setter": "set_z_range_max", + "getter": "get_z_range_max", + "index": -1 + }, + { + "type": "int", + "name": "range_layer_min", + "setter": "set_layer_range_min", + "getter": "get_layer_range_min", + "index": -1 + }, + { + "type": "int", + "name": "range_layer_max", + "setter": "set_layer_range_max", + "getter": "get_layer_range_max", + "index": -1 + }, + { + "type": "int", + "name": "range_item_cull_mask", + "setter": "set_item_cull_mask", + "getter": "get_item_cull_mask", + "index": -1 + }, + { + "type": "bool", + "name": "shadow_enabled", + "setter": "set_shadow_enabled", + "getter": "is_shadow_enabled", + "index": -1 + }, + { + "type": "Color", + "name": "shadow_color", + "setter": "set_shadow_color", + "getter": "get_shadow_color", + "index": -1 + }, + { + "type": "int", + "name": "shadow_filter", + "setter": "set_shadow_filter", + "getter": "get_shadow_filter", + "index": -1 + }, + { + "type": "float", + "name": "shadow_filter_smooth", + "setter": "set_shadow_smooth", + "getter": "get_shadow_smooth", + "index": -1 + }, + { + "type": "int", + "name": "shadow_item_cull_mask", + "setter": "set_item_shadow_cull_mask", + "getter": "get_item_shadow_cull_mask", + "index": -1 + } + ] + }, + { + "name": "Light3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "VisualInstance3D", + "api_type": "core", + "enums": [ + { + "name": "BakeMode", + "values": [ + { + "name": "BAKE_DISABLED", + "value": 0 + }, + { + "name": "BAKE_DYNAMIC", + "value": 1 + }, + { + "name": "BAKE_STATIC", + "value": 2 + } + ] + }, + { + "name": "Param", + "values": [ + { + "name": "PARAM_ENERGY", + "value": 0 + }, + { + "name": "PARAM_INDIRECT_ENERGY", + "value": 1 + }, + { + "name": "PARAM_SPECULAR", + "value": 2 + }, + { + "name": "PARAM_RANGE", + "value": 3 + }, + { + "name": "PARAM_SIZE", + "value": 4 + }, + { + "name": "PARAM_ATTENUATION", + "value": 5 + }, + { + "name": "PARAM_SPOT_ANGLE", + "value": 6 + }, + { + "name": "PARAM_SPOT_ATTENUATION", + "value": 7 + }, + { + "name": "PARAM_SHADOW_MAX_DISTANCE", + "value": 8 + }, + { + "name": "PARAM_SHADOW_SPLIT_1_OFFSET", + "value": 9 + }, + { + "name": "PARAM_SHADOW_SPLIT_2_OFFSET", + "value": 10 + }, + { + "name": "PARAM_SHADOW_SPLIT_3_OFFSET", + "value": 11 + }, + { + "name": "PARAM_SHADOW_FADE_START", + "value": 12 + }, + { + "name": "PARAM_SHADOW_NORMAL_BIAS", + "value": 13 + }, + { + "name": "PARAM_SHADOW_BIAS", + "value": 14 + }, + { + "name": "PARAM_SHADOW_PANCAKE_SIZE", + "value": 15 + }, + { + "name": "PARAM_SHADOW_BLUR", + "value": 16 + }, + { + "name": "PARAM_SHADOW_VOLUMETRIC_FOG_FADE", + "value": 17 + }, + { + "name": "PARAM_TRANSMITTANCE_BIAS", + "value": 18 + }, + { + "name": "PARAM_MAX", + "value": 19 + } + ] + } + ], + "methods": [ + { + "name": "set_editor_only", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "editor_only", + "type": "bool" + } + ] + }, + { + "name": "is_editor_only", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::Light3D.Param" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::Light3D.Param" + } + ] + }, + { + "name": "set_shadow", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "has_shadow", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_negative", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_negative", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "cull_mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_cull_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_shadow_reverse_cull_face", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_shadow_reverse_cull_face", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_shadow_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shadow_color", + "type": "Color" + } + ] + }, + { + "name": "get_shadow_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_bake_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bake_mode", + "type": "enum::Light3D.BakeMode" + } + ] + }, + { + "name": "get_bake_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Light3D.BakeMode" + } + }, + { + "name": "set_projector", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "projector", + "type": "Texture2D" + } + ] + }, + { + "name": "get_projector", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + } + ], + "properties": [ + { + "type": "Color", + "name": "light_color", + "setter": "set_color", + "getter": "get_color", + "index": -1 + }, + { + "type": "float", + "name": "light_energy", + "setter": "set_param", + "getter": "get_param", + "index": 0 + }, + { + "type": "float", + "name": "light_indirect_energy", + "setter": "set_param", + "getter": "get_param", + "index": 1 + }, + { + "type": "Texture2D", + "name": "light_projector", + "setter": "set_projector", + "getter": "get_projector", + "index": -1 + }, + { + "type": "float", + "name": "light_size", + "setter": "set_param", + "getter": "get_param", + "index": 4 + }, + { + "type": "float", + "name": "light_angular_distance", + "setter": "set_param", + "getter": "get_param", + "index": 4 + }, + { + "type": "bool", + "name": "light_negative", + "setter": "set_negative", + "getter": "is_negative", + "index": -1 + }, + { + "type": "float", + "name": "light_specular", + "setter": "set_param", + "getter": "get_param", + "index": 2 + }, + { + "type": "int", + "name": "light_bake_mode", + "setter": "set_bake_mode", + "getter": "get_bake_mode", + "index": -1 + }, + { + "type": "int", + "name": "light_cull_mask", + "setter": "set_cull_mask", + "getter": "get_cull_mask", + "index": -1 + }, + { + "type": "bool", + "name": "shadow_enabled", + "setter": "set_shadow", + "getter": "has_shadow", + "index": -1 + }, + { + "type": "Color", + "name": "shadow_color", + "setter": "set_shadow_color", + "getter": "get_shadow_color", + "index": -1 + }, + { + "type": "float", + "name": "shadow_bias", + "setter": "set_param", + "getter": "get_param", + "index": 14 + }, + { + "type": "float", + "name": "shadow_normal_bias", + "setter": "set_param", + "getter": "get_param", + "index": 13 + }, + { + "type": "bool", + "name": "shadow_reverse_cull_face", + "setter": "set_shadow_reverse_cull_face", + "getter": "get_shadow_reverse_cull_face", + "index": -1 + }, + { + "type": "float", + "name": "shadow_transmittance_bias", + "setter": "set_param", + "getter": "get_param", + "index": 18 + }, + { + "type": "float", + "name": "shadow_fog_fade", + "setter": "set_param", + "getter": "get_param", + "index": 17 + }, + { + "type": "float", + "name": "shadow_blur", + "setter": "set_param", + "getter": "get_param", + "index": 16 + }, + { + "type": "bool", + "name": "editor_only", + "setter": "set_editor_only", + "getter": "is_editor_only", + "index": -1 + } + ] + }, + { + "name": "LightOccluder2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_occluder_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "polygon", + "type": "OccluderPolygon2D" + } + ] + }, + { + "name": "get_occluder_polygon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "OccluderPolygon2D" + } + }, + { + "name": "set_occluder_light_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_occluder_light_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_as_sdf_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_set_as_sdf_collision", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "OccluderPolygon2D", + "name": "occluder", + "setter": "set_occluder_polygon", + "getter": "get_occluder_polygon", + "index": -1 + }, + { + "type": "bool", + "name": "sdf_collision", + "setter": "set_as_sdf_collision", + "getter": "is_set_as_sdf_collision", + "index": -1 + }, + { + "type": "int", + "name": "occluder_light_mask", + "setter": "set_occluder_light_mask", + "getter": "get_occluder_light_mask", + "index": -1 + } + ] + }, + { + "name": "LightmapGI", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "VisualInstance3D", + "api_type": "core", + "enums": [ + { + "name": "BakeQuality", + "values": [ + { + "name": "BAKE_QUALITY_LOW", + "value": 0 + }, + { + "name": "BAKE_QUALITY_MEDIUM", + "value": 1 + }, + { + "name": "BAKE_QUALITY_HIGH", + "value": 2 + }, + { + "name": "BAKE_QUALITY_ULTRA", + "value": 3 + } + ] + }, + { + "name": "BakeError", + "values": [ + { + "name": "BAKE_ERROR_OK", + "value": 0 + }, + { + "name": "BAKE_ERROR_NO_LIGHTMAPPER", + "value": 1 + }, + { + "name": "BAKE_ERROR_NO_SAVE_PATH", + "value": 2 + }, + { + "name": "BAKE_ERROR_NO_MESHES", + "value": 3 + }, + { + "name": "BAKE_ERROR_MESHES_INVALID", + "value": 4 + }, + { + "name": "BAKE_ERROR_CANT_CREATE_IMAGE", + "value": 5 + }, + { + "name": "BAKE_ERROR_USER_ABORTED", + "value": 6 + } + ] + }, + { + "name": "GenerateProbes", + "values": [ + { + "name": "GENERATE_PROBES_DISABLED", + "value": 0 + }, + { + "name": "GENERATE_PROBES_SUBDIV_4", + "value": 1 + }, + { + "name": "GENERATE_PROBES_SUBDIV_8", + "value": 2 + }, + { + "name": "GENERATE_PROBES_SUBDIV_16", + "value": 3 + }, + { + "name": "GENERATE_PROBES_SUBDIV_32", + "value": 4 + } + ] + }, + { + "name": "EnvironmentMode", + "values": [ + { + "name": "ENVIRONMENT_MODE_DISABLED", + "value": 0 + }, + { + "name": "ENVIRONMENT_MODE_SCENE", + "value": 1 + }, + { + "name": "ENVIRONMENT_MODE_CUSTOM_SKY", + "value": 2 + }, + { + "name": "ENVIRONMENT_MODE_CUSTOM_COLOR", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_light_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "data", + "type": "LightmapGIData" + } + ] + }, + { + "name": "get_light_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "LightmapGIData" + } + }, + { + "name": "set_bake_quality", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bake_quality", + "type": "enum::LightmapGI.BakeQuality" + } + ] + }, + { + "name": "get_bake_quality", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::LightmapGI.BakeQuality" + } + }, + { + "name": "set_bounces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bounces", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bounces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_generate_probes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "subdivision", + "type": "enum::LightmapGI.GenerateProbes" + } + ] + }, + { + "name": "get_generate_probes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::LightmapGI.GenerateProbes" + } + }, + { + "name": "set_bias", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bias", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bias", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_environment_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::LightmapGI.EnvironmentMode" + } + ] + }, + { + "name": "get_environment_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::LightmapGI.EnvironmentMode" + } + }, + { + "name": "set_environment_custom_sky", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sky", + "type": "Sky" + } + ] + }, + { + "name": "get_environment_custom_sky", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Sky" + } + }, + { + "name": "set_environment_custom_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_environment_custom_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_environment_custom_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_environment_custom_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_texture_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_texture_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max_texture_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_use_denoiser", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "use_denoiser", + "type": "bool" + } + ] + }, + { + "name": "is_using_denoiser", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_interior", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_interior", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_directional", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "directional", + "type": "bool" + } + ] + }, + { + "name": "is_directional", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "quality", + "setter": "set_bake_quality", + "getter": "get_bake_quality", + "index": -1 + }, + { + "type": "int", + "name": "bounces", + "setter": "set_bounces", + "getter": "get_bounces", + "index": -1 + }, + { + "type": "bool", + "name": "directional", + "setter": "set_directional", + "getter": "is_directional", + "index": -1 + }, + { + "type": "bool", + "name": "interior", + "setter": "set_interior", + "getter": "is_interior", + "index": -1 + }, + { + "type": "bool", + "name": "use_denoiser", + "setter": "set_use_denoiser", + "getter": "is_using_denoiser", + "index": -1 + }, + { + "type": "float", + "name": "bias", + "setter": "set_bias", + "getter": "get_bias", + "index": -1 + }, + { + "type": "int", + "name": "max_texture_size", + "setter": "set_max_texture_size", + "getter": "get_max_texture_size", + "index": -1 + }, + { + "type": "int", + "name": "environment_mode", + "setter": "set_environment_mode", + "getter": "get_environment_mode", + "index": -1 + }, + { + "type": "Sky", + "name": "environment_custom_sky", + "setter": "set_environment_custom_sky", + "getter": "get_environment_custom_sky", + "index": -1 + }, + { + "type": "Color", + "name": "environment_custom_color", + "setter": "set_environment_custom_color", + "getter": "get_environment_custom_color", + "index": -1 + }, + { + "type": "float", + "name": "environment_custom_energy", + "setter": "set_environment_custom_energy", + "getter": "get_environment_custom_energy", + "index": -1 + }, + { + "type": "int", + "name": "generate_probes_subdiv", + "setter": "set_generate_probes", + "getter": "get_generate_probes", + "index": -1 + }, + { + "type": "LightmapGIData", + "name": "light_data", + "setter": "set_light_data", + "getter": "get_light_data", + "index": -1 + } + ] + }, + { + "name": "LightmapGIData", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_light_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "light_texture", + "type": "TextureLayered" + } + ] + }, + { + "name": "get_light_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "TextureLayered" + } + }, + { + "name": "set_uses_spherical_harmonics", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "uses_spherical_harmonics", + "type": "bool" + } + ] + }, + { + "name": "is_using_spherical_harmonics", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "add_user", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "path", + "type": "NodePath" + }, + { + "name": "uv_scale", + "type": "Rect2" + }, + { + "name": "slice_index", + "type": "int", + "meta": "int32" + }, + { + "name": "sub_instance", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_user_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_user_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "user_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_users", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "properties": [ + { + "type": "TextureLayered", + "name": "light_texture", + "setter": "set_light_texture", + "getter": "get_light_texture", + "index": -1 + }, + { + "type": "bool", + "name": "uses_spherical_harmonics", + "setter": "set_uses_spherical_harmonics", + "getter": "is_using_spherical_harmonics", + "index": -1 + }, + { + "type": "Array", + "name": "user_data", + "setter": "_set_user_data", + "getter": "_get_user_data", + "index": -1 + }, + { + "type": "Dictionary", + "name": "probe_data", + "setter": "_set_probe_data", + "getter": "_get_probe_data", + "index": -1 + } + ] + }, + { + "name": "LightmapProbe", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core" + }, + { + "name": "Lightmapper", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core" + }, + { + "name": "LightmapperRD", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Lightmapper", + "api_type": "core" + }, + { + "name": "Line2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "enums": [ + { + "name": "LineTextureMode", + "values": [ + { + "name": "LINE_TEXTURE_NONE", + "value": 0 + }, + { + "name": "LINE_TEXTURE_TILE", + "value": 1 + }, + { + "name": "LINE_TEXTURE_STRETCH", + "value": 2 + } + ] + }, + { + "name": "LineCapMode", + "values": [ + { + "name": "LINE_CAP_NONE", + "value": 0 + }, + { + "name": "LINE_CAP_BOX", + "value": 1 + }, + { + "name": "LINE_CAP_ROUND", + "value": 2 + } + ] + }, + { + "name": "LineJointMode", + "values": [ + { + "name": "LINE_JOINT_SHARP", + "value": 0 + }, + { + "name": "LINE_JOINT_BEVEL", + "value": 1 + }, + { + "name": "LINE_JOINT_ROUND", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "points", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_points", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + }, + { + "name": "set_point_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "i", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_point_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "i", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_point_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "add_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "position", + "type": "Vector2" + }, + { + "name": "at_position", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "remove_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "i", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_curve", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "Curve" + } + ] + }, + { + "name": "get_curve", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Curve" + } + }, + { + "name": "set_default_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_default_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_gradient", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Gradient" + } + ] + }, + { + "name": "get_gradient", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Gradient" + } + }, + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_texture_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Line2D.LineTextureMode" + } + ] + }, + { + "name": "get_texture_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Line2D.LineTextureMode" + } + }, + { + "name": "set_joint_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Line2D.LineJointMode" + } + ] + }, + { + "name": "get_joint_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Line2D.LineJointMode" + } + }, + { + "name": "set_begin_cap_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Line2D.LineCapMode" + } + ] + }, + { + "name": "get_begin_cap_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Line2D.LineCapMode" + } + }, + { + "name": "set_end_cap_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Line2D.LineCapMode" + } + ] + }, + { + "name": "get_end_cap_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Line2D.LineCapMode" + } + }, + { + "name": "set_sharp_limit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "limit", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sharp_limit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_round_precision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "precision", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_round_precision", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_antialiased", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "antialiased", + "type": "bool" + } + ] + }, + { + "name": "get_antialiased", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "PackedVector2Array", + "name": "points", + "setter": "set_points", + "getter": "get_points", + "index": -1 + }, + { + "type": "float", + "name": "width", + "setter": "set_width", + "getter": "get_width", + "index": -1 + }, + { + "type": "Curve", + "name": "width_curve", + "setter": "set_curve", + "getter": "get_curve", + "index": -1 + }, + { + "type": "Color", + "name": "default_color", + "setter": "set_default_color", + "getter": "get_default_color", + "index": -1 + }, + { + "type": "Gradient", + "name": "gradient", + "setter": "set_gradient", + "getter": "get_gradient", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "int", + "name": "texture_mode", + "setter": "set_texture_mode", + "getter": "get_texture_mode", + "index": -1 + }, + { + "type": "int", + "name": "joint_mode", + "setter": "set_joint_mode", + "getter": "get_joint_mode", + "index": -1 + }, + { + "type": "int", + "name": "begin_cap_mode", + "setter": "set_begin_cap_mode", + "getter": "get_begin_cap_mode", + "index": -1 + }, + { + "type": "int", + "name": "end_cap_mode", + "setter": "set_end_cap_mode", + "getter": "get_end_cap_mode", + "index": -1 + }, + { + "type": "float", + "name": "sharp_limit", + "setter": "set_sharp_limit", + "getter": "get_sharp_limit", + "index": -1 + }, + { + "type": "int", + "name": "round_precision", + "setter": "set_round_precision", + "getter": "get_round_precision", + "index": -1 + }, + { + "type": "bool", + "name": "antialiased", + "setter": "set_antialiased", + "getter": "get_antialiased", + "index": -1 + } + ] + }, + { + "name": "LineEdit", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "enums": [ + { + "name": "Align", + "values": [ + { + "name": "ALIGN_LEFT", + "value": 0 + }, + { + "name": "ALIGN_CENTER", + "value": 1 + }, + { + "name": "ALIGN_RIGHT", + "value": 2 + }, + { + "name": "ALIGN_FILL", + "value": 3 + } + ] + }, + { + "name": "MenuItems", + "values": [ + { + "name": "MENU_CUT", + "value": 0 + }, + { + "name": "MENU_COPY", + "value": 1 + }, + { + "name": "MENU_PASTE", + "value": 2 + }, + { + "name": "MENU_CLEAR", + "value": 3 + }, + { + "name": "MENU_SELECT_ALL", + "value": 4 + }, + { + "name": "MENU_UNDO", + "value": 5 + }, + { + "name": "MENU_REDO", + "value": 6 + }, + { + "name": "MENU_DIR_INHERITED", + "value": 7 + }, + { + "name": "MENU_DIR_AUTO", + "value": 8 + }, + { + "name": "MENU_DIR_LTR", + "value": 9 + }, + { + "name": "MENU_DIR_RTL", + "value": 10 + }, + { + "name": "MENU_DISPLAY_UCC", + "value": 11 + }, + { + "name": "MENU_INSERT_LRM", + "value": 12 + }, + { + "name": "MENU_INSERT_RLM", + "value": 13 + }, + { + "name": "MENU_INSERT_LRE", + "value": 14 + }, + { + "name": "MENU_INSERT_RLE", + "value": 15 + }, + { + "name": "MENU_INSERT_LRO", + "value": 16 + }, + { + "name": "MENU_INSERT_RLO", + "value": 17 + }, + { + "name": "MENU_INSERT_PDF", + "value": 18 + }, + { + "name": "MENU_INSERT_ALM", + "value": 19 + }, + { + "name": "MENU_INSERT_LRI", + "value": 20 + }, + { + "name": "MENU_INSERT_RLI", + "value": 21 + }, + { + "name": "MENU_INSERT_FSI", + "value": 22 + }, + { + "name": "MENU_INSERT_PDI", + "value": 23 + }, + { + "name": "MENU_INSERT_ZWJ", + "value": 24 + }, + { + "name": "MENU_INSERT_ZWNJ", + "value": 25 + }, + { + "name": "MENU_INSERT_WJ", + "value": 26 + }, + { + "name": "MENU_INSERT_SHY", + "value": 27 + }, + { + "name": "MENU_MAX", + "value": 28 + } + ] + } + ], + "methods": [ + { + "name": "set_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "align", + "type": "enum::LineEdit.Align" + } + ] + }, + { + "name": "get_align", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::LineEdit.Align" + } + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "select", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 143530856, + "arguments": [ + { + "name": "from", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "to", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "select_all", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "deselect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_draw_control_chars", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_draw_control_chars", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_text_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "get_text_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.TextDirection" + } + }, + { + "name": "set_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_opentype_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_structured_text_bidi_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "parser", + "type": "enum::Control.StructuredTextParser" + } + ] + }, + { + "name": "get_structured_text_bidi_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.StructuredTextParser" + } + }, + { + "name": "set_structured_text_bidi_override_options", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "args", + "type": "Array" + } + ] + }, + { + "name": "get_structured_text_bidi_override_options", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_placeholder", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_placeholder", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_placeholder_alpha", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "alpha", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_placeholder_alpha", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_caret_column", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_caret_column", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_scroll_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_expand_to_text_length_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_expand_to_text_length_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_caret_blink_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_caret_blink_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_caret_mid_grapheme_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_caret_mid_grapheme_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_caret_force_displayed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_caret_force_displayed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_caret_blink_speed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "blink_speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_caret_blink_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "chars", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "insert_text_at_caret", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "delete_char_at_caret", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "delete_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "from_column", + "type": "int", + "meta": "int32" + }, + { + "name": "to_column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_editable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_editable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_secret", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_secret", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_secret_character", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "character", + "type": "String" + } + ] + }, + { + "name": "get_secret_character", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "menu_option", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "option", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_menu", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PopupMenu" + } + }, + { + "name": "is_menu_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_context_menu_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_context_menu_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_virtual_keyboard_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_virtual_keyboard_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_clear_button_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_clear_button_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_shortcut_keys_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_shortcut_keys_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_selecting_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_selecting_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_right_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "icon", + "type": "Texture2D" + } + ] + }, + { + "name": "get_right_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Texture2D" + } + } + ], + "signals": [ + { + "name": "text_submitted", + "arguments": [ + { + "name": "new_text", + "type": "String" + } + ] + }, + { + "name": "text_changed", + "arguments": [ + { + "name": "new_text", + "type": "String" + } + ] + }, + { + "name": "text_change_rejected", + "arguments": [ + { + "name": "rejected_substring", + "type": "String" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "text", + "setter": "set_text", + "getter": "get_text", + "index": -1 + }, + { + "type": "int", + "name": "align", + "setter": "set_align", + "getter": "get_align", + "index": -1 + }, + { + "type": "int", + "name": "max_length", + "setter": "set_max_length", + "getter": "get_max_length", + "index": -1 + }, + { + "type": "bool", + "name": "editable", + "setter": "set_editable", + "getter": "is_editable", + "index": -1 + }, + { + "type": "bool", + "name": "secret", + "setter": "set_secret", + "getter": "is_secret", + "index": -1 + }, + { + "type": "String", + "name": "secret_character", + "setter": "set_secret_character", + "getter": "get_secret_character", + "index": -1 + }, + { + "type": "bool", + "name": "expand_to_text_length", + "setter": "set_expand_to_text_length_enabled", + "getter": "is_expand_to_text_length_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "context_menu_enabled", + "setter": "set_context_menu_enabled", + "getter": "is_context_menu_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "virtual_keyboard_enabled", + "setter": "set_virtual_keyboard_enabled", + "getter": "is_virtual_keyboard_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "clear_button_enabled", + "setter": "set_clear_button_enabled", + "getter": "is_clear_button_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "shortcut_keys_enabled", + "setter": "set_shortcut_keys_enabled", + "getter": "is_shortcut_keys_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "selecting_enabled", + "setter": "set_selecting_enabled", + "getter": "is_selecting_enabled", + "index": -1 + }, + { + "type": "Texture", + "name": "right_icon", + "setter": "set_right_icon", + "getter": "get_right_icon", + "index": -1 + }, + { + "type": "int", + "name": "text_direction", + "setter": "set_text_direction", + "getter": "get_text_direction", + "index": -1 + }, + { + "type": "String", + "name": "language", + "setter": "set_language", + "getter": "get_language", + "index": -1 + }, + { + "type": "bool", + "name": "draw_control_chars", + "setter": "set_draw_control_chars", + "getter": "get_draw_control_chars", + "index": -1 + }, + { + "type": "int", + "name": "structured_text_bidi_override", + "setter": "set_structured_text_bidi_override", + "getter": "get_structured_text_bidi_override", + "index": -1 + }, + { + "type": "Array", + "name": "structured_text_bidi_override_options", + "setter": "set_structured_text_bidi_override_options", + "getter": "get_structured_text_bidi_override_options", + "index": -1 + }, + { + "type": "String", + "name": "placeholder_text", + "setter": "set_placeholder", + "getter": "get_placeholder", + "index": -1 + }, + { + "type": "float", + "name": "placeholder_alpha", + "setter": "set_placeholder_alpha", + "getter": "get_placeholder_alpha", + "index": -1 + }, + { + "type": "bool", + "name": "caret_blink", + "setter": "set_caret_blink_enabled", + "getter": "is_caret_blink_enabled", + "index": -1 + }, + { + "type": "float", + "name": "caret_blink_speed", + "setter": "set_caret_blink_speed", + "getter": "get_caret_blink_speed", + "index": -1 + }, + { + "type": "int", + "name": "caret_column", + "setter": "set_caret_column", + "getter": "get_caret_column", + "index": -1 + }, + { + "type": "bool", + "name": "caret_force_displayed", + "setter": "set_caret_force_displayed", + "getter": "is_caret_force_displayed", + "index": -1 + }, + { + "type": "bool", + "name": "caret_mid_grapheme", + "setter": "set_caret_mid_grapheme_enabled", + "getter": "is_caret_mid_grapheme_enabled", + "index": -1 + } + ] + }, + { + "name": "LineShape2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape2D", + "api_type": "core", + "methods": [ + { + "name": "set_normal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "normal", + "type": "Vector2" + } + ] + }, + { + "name": "get_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "normal", + "setter": "set_normal", + "getter": "get_normal", + "index": -1 + }, + { + "type": "float", + "name": "distance", + "setter": "set_distance", + "getter": "get_distance", + "index": -1 + } + ] + }, + { + "name": "LinkButton", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "BaseButton", + "api_type": "core", + "enums": [ + { + "name": "UnderlineMode", + "values": [ + { + "name": "UNDERLINE_MODE_ALWAYS", + "value": 0 + }, + { + "name": "UNDERLINE_MODE_ON_HOVER", + "value": 1 + }, + { + "name": "UNDERLINE_MODE_NEVER", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_text_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "get_text_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.TextDirection" + } + }, + { + "name": "set_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_opentype_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_underline_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "underline_mode", + "type": "enum::LinkButton.UnderlineMode" + } + ] + }, + { + "name": "get_underline_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::LinkButton.UnderlineMode" + } + }, + { + "name": "set_structured_text_bidi_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "parser", + "type": "enum::Control.StructuredTextParser" + } + ] + }, + { + "name": "get_structured_text_bidi_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.StructuredTextParser" + } + }, + { + "name": "set_structured_text_bidi_override_options", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "args", + "type": "Array" + } + ] + }, + { + "name": "get_structured_text_bidi_override_options", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + } + ], + "properties": [ + { + "type": "String", + "name": "text", + "setter": "set_text", + "getter": "get_text", + "index": -1 + }, + { + "type": "int", + "name": "text_direction", + "setter": "set_text_direction", + "getter": "get_text_direction", + "index": -1 + }, + { + "type": "String", + "name": "language", + "setter": "set_language", + "getter": "get_language", + "index": -1 + }, + { + "type": "int", + "name": "underline", + "setter": "set_underline_mode", + "getter": "get_underline_mode", + "index": -1 + }, + { + "type": "int", + "name": "structured_text_bidi_override", + "setter": "set_structured_text_bidi_override", + "getter": "get_structured_text_bidi_override", + "index": -1 + }, + { + "type": "Array", + "name": "structured_text_bidi_override_options", + "setter": "set_structured_text_bidi_override_options", + "getter": "get_structured_text_bidi_override_options", + "index": -1 + } + ] + }, + { + "name": "Listener3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "make_current", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "clear_current", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_current", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_listener_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + } + ] + }, + { + "name": "MainLoop", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "constants": [ + { + "name": "NOTIFICATION_OS_MEMORY_WARNING", + "value": 2009 + }, + { + "name": "NOTIFICATION_TRANSLATION_CHANGED", + "value": 2010 + }, + { + "name": "NOTIFICATION_WM_ABOUT", + "value": 2011 + }, + { + "name": "NOTIFICATION_CRASH", + "value": 2012 + }, + { + "name": "NOTIFICATION_OS_IME_UPDATE", + "value": 2013 + }, + { + "name": "NOTIFICATION_APPLICATION_RESUMED", + "value": 2014 + }, + { + "name": "NOTIFICATION_APPLICATION_PAUSED", + "value": 2015 + }, + { + "name": "NOTIFICATION_APPLICATION_FOCUS_IN", + "value": 2016 + }, + { + "name": "NOTIFICATION_APPLICATION_FOCUS_OUT", + "value": 2017 + }, + { + "name": "NOTIFICATION_TEXT_SERVER_CHANGED", + "value": 2018 + } + ], + "methods": [ + { + "name": "_initialize", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_physics_process", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "delta", + "type": "float" + } + ] + }, + { + "name": "_process", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "delta", + "type": "float" + } + ] + }, + { + "name": "_finalize", + "is_const": false, + "is_vararg": false, + "is_virtual": true + } + ], + "signals": [ + { + "name": "on_request_permissions_result", + "arguments": [ + { + "name": "permission", + "type": "String" + }, + { + "name": "granted", + "type": "bool" + } + ] + } + ] + }, + { + "name": "MarginContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Container", + "api_type": "core" + }, + { + "name": "Material", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core", + "constants": [ + { + "name": "RENDER_PRIORITY_MAX", + "value": 127 + }, + { + "name": "RENDER_PRIORITY_MIN", + "value": -128 + } + ], + "methods": [ + { + "name": "set_next_pass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "next_pass", + "type": "Material" + } + ] + }, + { + "name": "get_next_pass", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + }, + { + "name": "set_render_priority", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "priority", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_render_priority", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "inspect_native_shader_code", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "properties": [ + { + "type": "int", + "name": "render_priority", + "setter": "set_render_priority", + "getter": "get_render_priority", + "index": -1 + }, + { + "type": "Material", + "name": "next_pass", + "setter": "set_next_pass", + "getter": "get_next_pass", + "index": -1 + } + ] + }, + { + "name": "MenuButton", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Button", + "api_type": "core", + "methods": [ + { + "name": "get_popup", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PopupMenu" + } + }, + { + "name": "set_switch_on_hover", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_switch_on_hover", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_disable_shortcuts", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "disabled", + "type": "bool" + } + ] + } + ], + "signals": [ + { + "name": "about_to_popup" + } + ], + "properties": [ + { + "type": "Array", + "name": "items", + "setter": "_set_items", + "getter": "_get_items", + "index": -1 + }, + { + "type": "bool", + "name": "switch_on_hover", + "setter": "set_switch_on_hover", + "getter": "is_switch_on_hover", + "index": -1 + } + ] + }, + { + "name": "Mesh", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "BlendShapeMode", + "values": [ + { + "name": "BLEND_SHAPE_MODE_NORMALIZED", + "value": 0 + }, + { + "name": "BLEND_SHAPE_MODE_RELATIVE", + "value": 1 + } + ] + }, + { + "name": "ArrayCustomFormat", + "values": [ + { + "name": "ARRAY_CUSTOM_RGBA8_UNORM", + "value": 0 + }, + { + "name": "ARRAY_CUSTOM_RGBA8_SNORM", + "value": 1 + }, + { + "name": "ARRAY_CUSTOM_RG_HALF", + "value": 2 + }, + { + "name": "ARRAY_CUSTOM_RGBA_HALF", + "value": 3 + }, + { + "name": "ARRAY_CUSTOM_R_FLOAT", + "value": 4 + }, + { + "name": "ARRAY_CUSTOM_RG_FLOAT", + "value": 5 + }, + { + "name": "ARRAY_CUSTOM_RGB_FLOAT", + "value": 6 + }, + { + "name": "ARRAY_CUSTOM_RGBA_FLOAT", + "value": 7 + }, + { + "name": "ARRAY_CUSTOM_MAX", + "value": 8 + } + ] + }, + { + "name": "PrimitiveType", + "values": [ + { + "name": "PRIMITIVE_POINTS", + "value": 0 + }, + { + "name": "PRIMITIVE_LINES", + "value": 1 + }, + { + "name": "PRIMITIVE_LINE_STRIP", + "value": 2 + }, + { + "name": "PRIMITIVE_TRIANGLES", + "value": 3 + }, + { + "name": "PRIMITIVE_TRIANGLE_STRIP", + "value": 4 + } + ] + }, + { + "name": "ArrayFormat", + "values": [ + { + "name": "ARRAY_FORMAT_VERTEX", + "value": 1 + }, + { + "name": "ARRAY_FORMAT_NORMAL", + "value": 2 + }, + { + "name": "ARRAY_FORMAT_TANGENT", + "value": 4 + }, + { + "name": "ARRAY_FORMAT_COLOR", + "value": 8 + }, + { + "name": "ARRAY_FORMAT_TEX_UV", + "value": 16 + }, + { + "name": "ARRAY_FORMAT_TEX_UV2", + "value": 32 + }, + { + "name": "ARRAY_FORMAT_CUSTOM0", + "value": 64 + }, + { + "name": "ARRAY_FORMAT_CUSTOM1", + "value": 128 + }, + { + "name": "ARRAY_FORMAT_CUSTOM2", + "value": 256 + }, + { + "name": "ARRAY_FORMAT_CUSTOM3", + "value": 512 + }, + { + "name": "ARRAY_FORMAT_BONES", + "value": 1024 + }, + { + "name": "ARRAY_FORMAT_WEIGHTS", + "value": 2048 + }, + { + "name": "ARRAY_FORMAT_INDEX", + "value": 4096 + }, + { + "name": "ARRAY_FORMAT_BLEND_SHAPE_MASK", + "value": 2147475463 + }, + { + "name": "ARRAY_FORMAT_CUSTOM_BASE", + "value": 13 + }, + { + "name": "ARRAY_FORMAT_CUSTOM0_SHIFT", + "value": 13 + }, + { + "name": "ARRAY_FORMAT_CUSTOM1_SHIFT", + "value": 16 + }, + { + "name": "ARRAY_FORMAT_CUSTOM2_SHIFT", + "value": 19 + }, + { + "name": "ARRAY_FORMAT_CUSTOM3_SHIFT", + "value": 22 + }, + { + "name": "ARRAY_FORMAT_CUSTOM_MASK", + "value": 7 + }, + { + "name": "ARRAY_COMPRESS_FLAGS_BASE", + "value": 25 + }, + { + "name": "ARRAY_FLAG_USE_2D_VERTICES", + "value": 33554432 + }, + { + "name": "ARRAY_FLAG_USE_DYNAMIC_UPDATE", + "value": 67108864 + }, + { + "name": "ARRAY_FLAG_USE_8_BONE_WEIGHTS", + "value": 134217728 + } + ] + }, + { + "name": "ArrayType", + "values": [ + { + "name": "ARRAY_VERTEX", + "value": 0 + }, + { + "name": "ARRAY_NORMAL", + "value": 1 + }, + { + "name": "ARRAY_TANGENT", + "value": 2 + }, + { + "name": "ARRAY_COLOR", + "value": 3 + }, + { + "name": "ARRAY_TEX_UV", + "value": 4 + }, + { + "name": "ARRAY_TEX_UV2", + "value": 5 + }, + { + "name": "ARRAY_CUSTOM0", + "value": 6 + }, + { + "name": "ARRAY_CUSTOM1", + "value": 7 + }, + { + "name": "ARRAY_CUSTOM2", + "value": 8 + }, + { + "name": "ARRAY_CUSTOM3", + "value": 9 + }, + { + "name": "ARRAY_BONES", + "value": 10 + }, + { + "name": "ARRAY_WEIGHTS", + "value": 11 + }, + { + "name": "ARRAY_INDEX", + "value": 12 + }, + { + "name": "ARRAY_MAX", + "value": 13 + } + ] + } + ], + "methods": [ + { + "name": "set_lightmap_size_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2i" + } + ] + }, + { + "name": "get_lightmap_size_hint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "get_aabb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AABB" + } + }, + { + "name": "get_surface_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "surface_get_arrays", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "surface_get_blend_shape_arrays", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "surface_set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "surface_get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Material" + }, + "arguments": [ + { + "name": "surf_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "create_trimesh_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Shape3D" + } + }, + { + "name": "create_convex_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1435035884, + "return_value": { + "type": "Shape3D" + }, + "arguments": [ + { + "name": "clean", + "type": "bool", + "default_value": "true" + }, + { + "name": "simplify", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "create_outline", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Mesh" + }, + "arguments": [ + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_faces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector3Array" + } + }, + { + "name": "generate_triangle_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "TriangleMesh" + } + } + ], + "properties": [ + { + "type": "Vector2i", + "name": "lightmap_size_hint", + "setter": "set_lightmap_size_hint", + "getter": "get_lightmap_size_hint", + "index": -1 + } + ] + }, + { + "name": "MeshDataTool", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "create_from_surface", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "mesh", + "type": "ArrayMesh" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "commit_to_surface", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "mesh", + "type": "ArrayMesh" + } + ] + }, + { + "name": "get_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_vertex_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_edge_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_face_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_vertex", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "vertex", + "type": "Vector3" + } + ] + }, + { + "name": "get_vertex", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_vertex_normal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "normal", + "type": "Vector3" + } + ] + }, + { + "name": "get_vertex_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_vertex_tangent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "tangent", + "type": "Plane" + } + ] + }, + { + "name": "get_vertex_tangent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Plane" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_vertex_uv", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "uv", + "type": "Vector2" + } + ] + }, + { + "name": "get_vertex_uv", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_vertex_uv2", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "uv2", + "type": "Vector2" + } + ] + }, + { + "name": "get_vertex_uv2", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_vertex_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_vertex_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_vertex_bones", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "bones", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_vertex_bones", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_vertex_weights", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "weights", + "type": "PackedFloat32Array" + } + ] + }, + { + "name": "get_vertex_weights", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedFloat32Array" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_vertex_meta", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "meta", + "type": "Variant" + } + ] + }, + { + "name": "get_vertex_meta", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_vertex_edges", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_vertex_faces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_edge_vertex", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "vertex", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_edge_faces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_edge_meta", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "meta", + "type": "Variant" + } + ] + }, + { + "name": "get_edge_meta", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_face_vertex", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "vertex", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_face_edge", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "edge", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_face_meta", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "meta", + "type": "Variant" + } + ] + }, + { + "name": "get_face_meta", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_face_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + } + ] + }, + { + "name": "MeshInstance2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh", + "type": "Mesh" + } + ] + }, + { + "name": "get_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Mesh" + } + }, + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_normal_map", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "normal_map", + "type": "Texture2D" + } + ] + }, + { + "name": "get_normal_map", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + } + ], + "signals": [ + { + "name": "texture_changed" + } + ], + "properties": [ + { + "type": "Mesh", + "name": "mesh", + "setter": "set_mesh", + "getter": "get_mesh", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "normal_map", + "setter": "set_normal_map", + "getter": "get_normal_map", + "index": -1 + } + ] + }, + { + "name": "MeshInstance3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GeometryInstance3D", + "api_type": "core", + "methods": [ + { + "name": "set_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh", + "type": "Mesh" + } + ] + }, + { + "name": "get_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Mesh" + } + }, + { + "name": "set_skeleton_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skeleton_path", + "type": "NodePath" + } + ] + }, + { + "name": "get_skeleton_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_skin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skin", + "type": "Skin" + } + ] + }, + { + "name": "get_skin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Skin" + } + }, + { + "name": "get_surface_override_material_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_surface_override_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "surface", + "type": "int", + "meta": "int32" + }, + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_surface_override_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Material" + }, + "arguments": [ + { + "name": "surface", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_active_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Material" + }, + "arguments": [ + { + "name": "surface", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "create_trimesh_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "create_convex_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 143567882, + "arguments": [ + { + "name": "clean", + "type": "bool", + "default_value": "true" + }, + { + "name": "simplify", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "create_multiple_convex_collisions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "create_debug_tangents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "properties": [ + { + "type": "Mesh", + "name": "mesh", + "setter": "set_mesh", + "getter": "get_mesh", + "index": -1 + }, + { + "type": "Skin", + "name": "skin", + "setter": "set_skin", + "getter": "get_skin", + "index": -1 + }, + { + "type": "NodePath", + "name": "skeleton", + "setter": "set_skeleton_path", + "getter": "get_skeleton_path", + "index": -1 + } + ] + }, + { + "name": "MeshLibrary", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "create_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_item_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "mesh", + "type": "Mesh" + } + ] + }, + { + "name": "set_item_navmesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "navmesh", + "type": "NavigationMesh" + } + ] + }, + { + "name": "set_item_navmesh_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "navmesh", + "type": "Transform3D" + } + ] + }, + { + "name": "set_item_shapes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "shapes", + "type": "Array" + } + ] + }, + { + "name": "set_item_preview", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_item_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Mesh" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_navmesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NavigationMesh" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_navmesh_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_shapes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_preview", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "find_item_by_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_item_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "get_last_unused_item_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ] + }, + { + "name": "MeshTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "methods": [ + { + "name": "set_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh", + "type": "Mesh" + } + ] + }, + { + "name": "get_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Mesh" + } + }, + { + "name": "set_image_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "get_image_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_base_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_base_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + } + ], + "properties": [ + { + "type": "Mesh", + "name": "mesh", + "setter": "set_mesh", + "getter": "get_mesh", + "index": -1 + }, + { + "type": "Texture2D", + "name": "base_texture", + "setter": "set_base_texture", + "getter": "get_base_texture", + "index": -1 + }, + { + "type": "Vector2", + "name": "image_size", + "setter": "set_image_size", + "getter": "get_image_size", + "index": -1 + } + ] + }, + { + "name": "MethodTweener", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Tweener", + "api_type": "core", + "methods": [ + { + "name": "set_delay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "MethodTweener" + }, + "arguments": [ + { + "name": "delay", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_trans", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "MethodTweener" + }, + "arguments": [ + { + "name": "trans", + "type": "enum::Tween.TransitionType" + } + ] + }, + { + "name": "set_ease", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "MethodTweener" + }, + "arguments": [ + { + "name": "ease", + "type": "enum::Tween.EaseType" + } + ] + } + ] + }, + { + "name": "MobileVRInterface", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "XRInterface", + "api_type": "core", + "methods": [ + { + "name": "set_eye_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "eye_height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_eye_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_iod", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "iod", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_iod", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_display_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "display_width", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_display_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_display_to_lens", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "display_to_lens", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_display_to_lens", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_oversample", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "oversample", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_oversample", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_k1", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "k", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_k1", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_k2", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "k", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_k2", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "eye_height", + "setter": "set_eye_height", + "getter": "get_eye_height", + "index": -1 + }, + { + "type": "float", + "name": "iod", + "setter": "set_iod", + "getter": "get_iod", + "index": -1 + }, + { + "type": "float", + "name": "display_width", + "setter": "set_display_width", + "getter": "get_display_width", + "index": -1 + }, + { + "type": "float", + "name": "display_to_lens", + "setter": "set_display_to_lens", + "getter": "get_display_to_lens", + "index": -1 + }, + { + "type": "float", + "name": "oversample", + "setter": "set_oversample", + "getter": "get_oversample", + "index": -1 + }, + { + "type": "float", + "name": "k1", + "setter": "set_k1", + "getter": "get_k1", + "index": -1 + }, + { + "type": "float", + "name": "k2", + "setter": "set_k2", + "getter": "get_k2", + "index": -1 + } + ] + }, + { + "name": "MultiMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "TransformFormat", + "values": [ + { + "name": "TRANSFORM_2D", + "value": 0 + }, + { + "name": "TRANSFORM_3D", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh", + "type": "Mesh" + } + ] + }, + { + "name": "get_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Mesh" + } + }, + { + "name": "set_use_colors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_colors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_use_custom_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_custom_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_transform_format", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "format", + "type": "enum::MultiMesh.TransformFormat" + } + ] + }, + { + "name": "get_transform_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::MultiMesh.TransformFormat" + } + }, + { + "name": "set_instance_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_instance_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_visible_instance_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_visible_instance_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_instance_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "int", + "meta": "int32" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "set_instance_transform_2d", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "int", + "meta": "int32" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "get_instance_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "instance", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_instance_transform_2d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform2D" + }, + "arguments": [ + { + "name": "instance", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_instance_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_instance_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "instance", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_instance_custom_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "int", + "meta": "int32" + }, + { + "name": "custom_data", + "type": "Color" + } + ] + }, + { + "name": "get_instance_custom_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "instance", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_aabb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AABB" + } + }, + { + "name": "get_buffer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedFloat32Array" + } + }, + { + "name": "set_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "buffer", + "type": "PackedFloat32Array" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "transform_format", + "setter": "set_transform_format", + "getter": "get_transform_format", + "index": -1 + }, + { + "type": "bool", + "name": "use_colors", + "setter": "set_use_colors", + "getter": "is_using_colors", + "index": -1 + }, + { + "type": "bool", + "name": "use_custom_data", + "setter": "set_use_custom_data", + "getter": "is_using_custom_data", + "index": -1 + }, + { + "type": "int", + "name": "instance_count", + "setter": "set_instance_count", + "getter": "get_instance_count", + "index": -1 + }, + { + "type": "int", + "name": "visible_instance_count", + "setter": "set_visible_instance_count", + "getter": "get_visible_instance_count", + "index": -1 + }, + { + "type": "Mesh", + "name": "mesh", + "setter": "set_mesh", + "getter": "get_mesh", + "index": -1 + }, + { + "type": "PackedFloat32Array", + "name": "buffer", + "setter": "set_buffer", + "getter": "get_buffer", + "index": -1 + }, + { + "type": "PackedVector3Array", + "name": "transform_array", + "setter": "_set_transform_array", + "getter": "_get_transform_array", + "index": -1 + }, + { + "type": "PackedVector2Array", + "name": "transform_2d_array", + "setter": "_set_transform_2d_array", + "getter": "_get_transform_2d_array", + "index": -1 + }, + { + "type": "PackedColorArray", + "name": "color_array", + "setter": "_set_color_array", + "getter": "_get_color_array", + "index": -1 + }, + { + "type": "PackedColorArray", + "name": "custom_data_array", + "setter": "_set_custom_data_array", + "getter": "_get_custom_data_array", + "index": -1 + } + ] + }, + { + "name": "MultiMeshInstance2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_multimesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "multimesh", + "type": "MultiMesh" + } + ] + }, + { + "name": "get_multimesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "MultiMesh" + } + }, + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_normal_map", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "normal_map", + "type": "Texture2D" + } + ] + }, + { + "name": "get_normal_map", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + } + ], + "signals": [ + { + "name": "texture_changed" + } + ], + "properties": [ + { + "type": "MultiMesh", + "name": "multimesh", + "setter": "set_multimesh", + "getter": "get_multimesh", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "normal_map", + "setter": "set_normal_map", + "getter": "get_normal_map", + "index": -1 + } + ] + }, + { + "name": "MultiMeshInstance3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GeometryInstance3D", + "api_type": "core", + "methods": [ + { + "name": "set_multimesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "multimesh", + "type": "MultiMesh" + } + ] + }, + { + "name": "get_multimesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "MultiMesh" + } + } + ], + "properties": [ + { + "type": "MultiMesh", + "name": "multimesh", + "setter": "set_multimesh", + "getter": "get_multimesh", + "index": -1 + } + ] + }, + { + "name": "MultiplayerAPI", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "RPCMode", + "values": [ + { + "name": "RPC_MODE_DISABLED", + "value": 0 + }, + { + "name": "RPC_MODE_REMOTE", + "value": 1 + }, + { + "name": "RPC_MODE_MASTER", + "value": 2 + }, + { + "name": "RPC_MODE_PUPPET", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_root_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "get_root_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Node" + } + }, + { + "name": "send_bytes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2732430415, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "bytes", + "type": "PackedByteArray" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "mode", + "type": "enum::MultiplayerPeer.TransferMode", + "default_value": "2" + }, + { + "name": "channel", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "has_network_peer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_network_peer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "MultiplayerPeer" + } + }, + { + "name": "get_network_unique_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "is_network_server", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_rpc_sender_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_network_peer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "peer", + "type": "MultiplayerPeer" + } + ] + }, + { + "name": "poll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_network_connected_peers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_refuse_new_network_connections", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "refuse", + "type": "bool" + } + ] + }, + { + "name": "is_refusing_new_network_connections", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_allow_object_decoding", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_object_decoding_allowed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "connected_to_server" + }, + { + "name": "connection_failed" + }, + { + "name": "network_peer_packet", + "arguments": [ + { + "name": "id", + "type": "int" + }, + { + "name": "packet", + "type": "PackedByteArray" + } + ] + }, + { + "name": "network_peer_disconnected", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "network_peer_connected", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "server_disconnected" + } + ], + "properties": [ + { + "type": "bool", + "name": "allow_object_decoding", + "setter": "set_allow_object_decoding", + "getter": "is_object_decoding_allowed", + "index": -1 + }, + { + "type": "bool", + "name": "refuse_new_network_connections", + "setter": "set_refuse_new_network_connections", + "getter": "is_refusing_new_network_connections", + "index": -1 + }, + { + "type": "MultiplayerPeer", + "name": "network_peer", + "setter": "set_network_peer", + "getter": "get_network_peer", + "index": -1 + }, + { + "type": "Node", + "name": "root_node", + "setter": "set_root_node", + "getter": "get_root_node", + "index": -1 + } + ] + }, + { + "name": "MultiplayerPeer", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "PacketPeer", + "api_type": "core", + "constants": [ + { + "name": "TARGET_PEER_BROADCAST", + "value": 0 + }, + { + "name": "TARGET_PEER_SERVER", + "value": 1 + } + ], + "enums": [ + { + "name": "ConnectionStatus", + "values": [ + { + "name": "CONNECTION_DISCONNECTED", + "value": 0 + }, + { + "name": "CONNECTION_CONNECTING", + "value": 1 + }, + { + "name": "CONNECTION_CONNECTED", + "value": 2 + } + ] + }, + { + "name": "TransferMode", + "values": [ + { + "name": "TRANSFER_MODE_UNRELIABLE", + "value": 0 + }, + { + "name": "TRANSFER_MODE_UNRELIABLE_ORDERED", + "value": 1 + }, + { + "name": "TRANSFER_MODE_RELIABLE", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_transfer_channel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "channel", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_transfer_channel", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_transfer_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::MultiplayerPeer.TransferMode" + } + ] + }, + { + "name": "get_transfer_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::MultiplayerPeer.TransferMode" + } + }, + { + "name": "set_target_peer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_packet_peer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "poll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_connection_status", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::MultiplayerPeer.ConnectionStatus" + } + }, + { + "name": "get_unique_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "generate_unique_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_refuse_new_connections", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_refusing_new_connections", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "connection_failed" + }, + { + "name": "connection_succeeded" + }, + { + "name": "peer_disconnected", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "peer_connected", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "server_disconnected" + } + ], + "properties": [ + { + "type": "bool", + "name": "refuse_new_connections", + "setter": "set_refuse_new_connections", + "getter": "is_refusing_new_connections", + "index": -1 + }, + { + "type": "int", + "name": "transfer_mode", + "setter": "set_transfer_mode", + "getter": "get_transfer_mode", + "index": -1 + }, + { + "type": "int", + "name": "transfer_channel", + "setter": "set_transfer_channel", + "getter": "get_transfer_channel", + "index": -1 + } + ] + }, + { + "name": "MultiplayerPeerGDNative", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "MultiplayerPeer", + "api_type": "core" + }, + { + "name": "NativeExtension", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "InitializationLevel", + "values": [ + { + "name": "INITIALIZATION_LEVEL_CORE", + "value": 0 + }, + { + "name": "INITIALIZATION_LEVEL_SERVERS", + "value": 1 + }, + { + "name": "INITIALIZATION_LEVEL_SCENE", + "value": 2 + }, + { + "name": "INITIALIZATION_LEVEL_EDITOR", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "open_library", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "entry_symbol", + "type": "String" + } + ] + }, + { + "name": "close_library", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_library_open", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_minimum_library_initialization_level", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::NativeExtension.InitializationLevel" + } + }, + { + "name": "initialize_library", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "level", + "type": "enum::NativeExtension.InitializationLevel" + } + ] + } + ] + }, + { + "name": "NativeExtensionManager", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "LoadStatus", + "values": [ + { + "name": "LOAD_STATUS_OK", + "value": 0 + }, + { + "name": "LOAD_STATUS_FAILED", + "value": 1 + }, + { + "name": "LOAD_STATUS_ALREADY_LOADED", + "value": 2 + }, + { + "name": "LOAD_STATUS_NOT_LOADED", + "value": 3 + }, + { + "name": "LOAD_STATUS_NEEDS_RESTART", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "load_extension", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::NativeExtensionManager.LoadStatus" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "reload_extension", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::NativeExtensionManager.LoadStatus" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "unload_extension", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::NativeExtensionManager.LoadStatus" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_loaded_extensions", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "get_extension", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "NativeExtension" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + } + ] + }, + { + "name": "NativeScript", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Script", + "api_type": "core", + "methods": [ + { + "name": "set_class_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "class_name", + "type": "String" + } + ] + }, + { + "name": "get_class_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_library", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "library", + "type": "GDNativeLibrary" + } + ] + }, + { + "name": "get_library", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "GDNativeLibrary" + } + }, + { + "name": "set_script_class_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "class_name", + "type": "String" + } + ] + }, + { + "name": "get_script_class_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_script_class_icon_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "icon_path", + "type": "String" + } + ] + }, + { + "name": "get_script_class_icon_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_class_documentation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_method_documentation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "get_signal_documentation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "signal_name", + "type": "StringName" + } + ] + }, + { + "name": "get_property_documentation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "path", + "type": "StringName" + } + ] + }, + { + "name": "new", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135338151, + "return_value": { + "type": "Variant" + } + } + ], + "properties": [ + { + "type": "String", + "name": "class_name", + "setter": "set_class_name", + "getter": "get_class_name", + "index": -1 + }, + { + "type": "GDNativeLibrary", + "name": "library", + "setter": "set_library", + "getter": "get_library", + "index": -1 + }, + { + "type": "String", + "name": "script_class_name", + "setter": "set_script_class_name", + "getter": "get_script_class_name", + "index": -1 + }, + { + "type": "String", + "name": "script_class_icon_path", + "setter": "set_script_class_icon_path", + "getter": "get_script_class_icon_path", + "index": -1 + } + ] + }, + { + "name": "NavigationAgent2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core", + "methods": [ + { + "name": "get_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_target_desired_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "desired_distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_target_desired_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_neighbor_dist", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "neighbor_dist", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_neighbor_dist", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_neighbors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_neighbors", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max_neighbors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_time_horizon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "time_horizon", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_time_horizon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_speed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_max_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_path_max_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_max_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_target_location", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "location", + "type": "Vector2" + } + ] + }, + { + "name": "get_target_location", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_next_location", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "distance_to_target", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "velocity", + "type": "Vector2" + } + ] + }, + { + "name": "get_nav_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + }, + { + "name": "get_nav_path_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "is_target_reached", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_target_reachable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_navigation_finished", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_final_location", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Vector2" + } + } + ], + "signals": [ + { + "name": "path_changed" + }, + { + "name": "velocity_computed", + "arguments": [ + { + "name": "safe_velocity", + "type": "Vector3" + } + ] + }, + { + "name": "navigation_finished" + }, + { + "name": "target_reached" + } + ], + "properties": [ + { + "type": "float", + "name": "target_desired_distance", + "setter": "set_target_desired_distance", + "getter": "get_target_desired_distance", + "index": -1 + }, + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + }, + { + "type": "float", + "name": "neighbor_dist", + "setter": "set_neighbor_dist", + "getter": "get_neighbor_dist", + "index": -1 + }, + { + "type": "int", + "name": "max_neighbors", + "setter": "set_max_neighbors", + "getter": "get_max_neighbors", + "index": -1 + }, + { + "type": "float", + "name": "time_horizon", + "setter": "set_time_horizon", + "getter": "get_time_horizon", + "index": -1 + }, + { + "type": "float", + "name": "max_speed", + "setter": "set_max_speed", + "getter": "get_max_speed", + "index": -1 + }, + { + "type": "float", + "name": "path_max_distance", + "setter": "set_path_max_distance", + "getter": "get_path_max_distance", + "index": -1 + } + ] + }, + { + "name": "NavigationAgent3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core", + "methods": [ + { + "name": "get_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_target_desired_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "desired_distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_target_desired_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_agent_height_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "agent_height_offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_agent_height_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ignore_y", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ignore", + "type": "bool" + } + ] + }, + { + "name": "get_ignore_y", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_neighbor_dist", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "neighbor_dist", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_neighbor_dist", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_neighbors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_neighbors", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max_neighbors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_time_horizon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "time_horizon", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_time_horizon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_speed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_max_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_path_max_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_max_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_target_location", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "location", + "type": "Vector3" + } + ] + }, + { + "name": "get_target_location", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_next_location", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "distance_to_target", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "velocity", + "type": "Vector3" + } + ] + }, + { + "name": "get_nav_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector3Array" + } + }, + { + "name": "get_nav_path_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "is_target_reached", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_target_reachable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_navigation_finished", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_final_location", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Vector3" + } + } + ], + "signals": [ + { + "name": "path_changed" + }, + { + "name": "velocity_computed", + "arguments": [ + { + "name": "safe_velocity", + "type": "Vector3" + } + ] + }, + { + "name": "navigation_finished" + }, + { + "name": "target_reached" + } + ], + "properties": [ + { + "type": "float", + "name": "target_desired_distance", + "setter": "set_target_desired_distance", + "getter": "get_target_desired_distance", + "index": -1 + }, + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + }, + { + "type": "float", + "name": "agent_height_offset", + "setter": "set_agent_height_offset", + "getter": "get_agent_height_offset", + "index": -1 + }, + { + "type": "float", + "name": "neighbor_dist", + "setter": "set_neighbor_dist", + "getter": "get_neighbor_dist", + "index": -1 + }, + { + "type": "int", + "name": "max_neighbors", + "setter": "set_max_neighbors", + "getter": "get_max_neighbors", + "index": -1 + }, + { + "type": "float", + "name": "time_horizon", + "setter": "set_time_horizon", + "getter": "get_time_horizon", + "index": -1 + }, + { + "type": "float", + "name": "max_speed", + "setter": "set_max_speed", + "getter": "get_max_speed", + "index": -1 + }, + { + "type": "float", + "name": "path_max_distance", + "setter": "set_path_max_distance", + "getter": "get_path_max_distance", + "index": -1 + }, + { + "type": "bool", + "name": "ignore_y", + "setter": "set_ignore_y", + "getter": "get_ignore_y", + "index": -1 + } + ] + }, + { + "name": "NavigationMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "constants": [ + { + "name": "SAMPLE_PARTITION_WATERSHED", + "value": 0 + }, + { + "name": "SAMPLE_PARTITION_MONOTONE", + "value": 1 + }, + { + "name": "SAMPLE_PARTITION_LAYERS", + "value": 2 + }, + { + "name": "PARSED_GEOMETRY_MESH_INSTANCES", + "value": 0 + }, + { + "name": "PARSED_GEOMETRY_STATIC_COLLIDERS", + "value": 1 + }, + { + "name": "PARSED_GEOMETRY_BOTH", + "value": 2 + } + ], + "methods": [ + { + "name": "set_sample_partition_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sample_partition_type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_sample_partition_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_parsed_geometry_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "geometry_type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_parsed_geometry_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_mask_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_mask_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_source_geometry_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_source_geometry_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_source_group_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "StringName" + } + ] + }, + { + "name": "get_source_group_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_cell_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "cell_size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_cell_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_cell_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "cell_height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_cell_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_agent_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "agent_height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_agent_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_agent_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "agent_radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_agent_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_agent_max_climb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "agent_max_climb", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_agent_max_climb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_agent_max_slope", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "agent_max_slope", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_agent_max_slope", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_region_min_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "region_min_size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_region_min_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_region_merge_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "region_merge_size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_region_merge_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_edge_max_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "edge_max_length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_edge_max_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_edge_max_error", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "edge_max_error", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_edge_max_error", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_verts_per_poly", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "verts_per_poly", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_verts_per_poly", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_detail_sample_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "detail_sample_dist", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_detail_sample_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_detail_sample_max_error", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "detail_sample_max_error", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_detail_sample_max_error", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_filter_low_hanging_obstacles", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filter_low_hanging_obstacles", + "type": "bool" + } + ] + }, + { + "name": "get_filter_low_hanging_obstacles", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_filter_ledge_spans", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filter_ledge_spans", + "type": "bool" + } + ] + }, + { + "name": "get_filter_ledge_spans", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_filter_walkable_low_height_spans", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filter_walkable_low_height_spans", + "type": "bool" + } + ] + }, + { + "name": "get_filter_walkable_low_height_spans", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_vertices", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vertices", + "type": "PackedVector3Array" + } + ] + }, + { + "name": "get_vertices", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector3Array" + } + }, + { + "name": "add_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "polygon", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_polygon_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_polygons", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "create_from_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh", + "type": "Mesh" + } + ] + } + ], + "properties": [ + { + "type": "PackedVector3Array", + "name": "vertices", + "setter": "set_vertices", + "getter": "get_vertices", + "index": -1 + }, + { + "type": "Array", + "name": "polygons", + "setter": "_set_polygons", + "getter": "_get_polygons", + "index": -1 + }, + { + "type": "int", + "name": "sample_partition_type/sample_partition_type", + "setter": "set_sample_partition_type", + "getter": "get_sample_partition_type", + "index": -1 + }, + { + "type": "int", + "name": "geometry/parsed_geometry_type", + "setter": "set_parsed_geometry_type", + "getter": "get_parsed_geometry_type", + "index": -1 + }, + { + "type": "int", + "name": "geometry/collision_mask", + "setter": "set_collision_mask", + "getter": "get_collision_mask", + "index": -1 + }, + { + "type": "int", + "name": "geometry/source_geometry_mode", + "setter": "set_source_geometry_mode", + "getter": "get_source_geometry_mode", + "index": -1 + }, + { + "type": "String", + "name": "geometry/source_group_name", + "setter": "set_source_group_name", + "getter": "get_source_group_name", + "index": -1 + }, + { + "type": "float", + "name": "cell/size", + "setter": "set_cell_size", + "getter": "get_cell_size", + "index": -1 + }, + { + "type": "float", + "name": "cell/height", + "setter": "set_cell_height", + "getter": "get_cell_height", + "index": -1 + }, + { + "type": "float", + "name": "agent/height", + "setter": "set_agent_height", + "getter": "get_agent_height", + "index": -1 + }, + { + "type": "float", + "name": "agent/radius", + "setter": "set_agent_radius", + "getter": "get_agent_radius", + "index": -1 + }, + { + "type": "float", + "name": "agent/max_climb", + "setter": "set_agent_max_climb", + "getter": "get_agent_max_climb", + "index": -1 + }, + { + "type": "float", + "name": "agent/max_slope", + "setter": "set_agent_max_slope", + "getter": "get_agent_max_slope", + "index": -1 + }, + { + "type": "float", + "name": "region/min_size", + "setter": "set_region_min_size", + "getter": "get_region_min_size", + "index": -1 + }, + { + "type": "float", + "name": "region/merge_size", + "setter": "set_region_merge_size", + "getter": "get_region_merge_size", + "index": -1 + }, + { + "type": "float", + "name": "edge/max_length", + "setter": "set_edge_max_length", + "getter": "get_edge_max_length", + "index": -1 + }, + { + "type": "float", + "name": "edge/max_error", + "setter": "set_edge_max_error", + "getter": "get_edge_max_error", + "index": -1 + }, + { + "type": "float", + "name": "polygon/verts_per_poly", + "setter": "set_verts_per_poly", + "getter": "get_verts_per_poly", + "index": -1 + }, + { + "type": "float", + "name": "detail/sample_distance", + "setter": "set_detail_sample_distance", + "getter": "get_detail_sample_distance", + "index": -1 + }, + { + "type": "float", + "name": "detail/sample_max_error", + "setter": "set_detail_sample_max_error", + "getter": "get_detail_sample_max_error", + "index": -1 + }, + { + "type": "bool", + "name": "filter/low_hanging_obstacles", + "setter": "set_filter_low_hanging_obstacles", + "getter": "get_filter_low_hanging_obstacles", + "index": -1 + }, + { + "type": "bool", + "name": "filter/ledge_spans", + "setter": "set_filter_ledge_spans", + "getter": "get_filter_ledge_spans", + "index": -1 + }, + { + "type": "bool", + "name": "filter/filter_walkable_low_height_spans", + "setter": "set_filter_walkable_low_height_spans", + "getter": "get_filter_walkable_low_height_spans", + "index": -1 + } + ] + }, + { + "name": "NavigationMeshGenerator", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "bake", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "nav_mesh", + "type": "NavigationMesh" + }, + { + "name": "root_node", + "type": "Node" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "nav_mesh", + "type": "NavigationMesh" + } + ] + } + ] + }, + { + "name": "NavigationObstacle2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core" + }, + { + "name": "NavigationObstacle3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core" + }, + { + "name": "NavigationPolygon", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_vertices", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vertices", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_vertices", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + }, + { + "name": "add_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "polygon", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_polygon_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_polygons", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "add_outline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "outline", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "add_outline_at_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "outline", + "type": "PackedVector2Array" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_outline_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_outline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "outline", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_outline", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedVector2Array" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_outline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_outlines", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "make_polygons_from_outlines", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "properties": [ + { + "type": "PackedVector2Array", + "name": "vertices", + "setter": "set_vertices", + "getter": "get_vertices", + "index": -1 + }, + { + "type": "Array", + "name": "polygons", + "setter": "_set_polygons", + "getter": "_get_polygons", + "index": -1 + }, + { + "type": "Array", + "name": "outlines", + "setter": "_set_outlines", + "getter": "_get_outlines", + "index": -1 + } + ] + }, + { + "name": "NavigationRegion2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_navigation_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "navpoly", + "type": "NavigationPolygon" + } + ] + }, + { + "name": "get_navigation_polygon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NavigationPolygon" + } + }, + { + "name": "set_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_layers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layers", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_layers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + } + ], + "properties": [ + { + "type": "NavigationPolygon", + "name": "navpoly", + "setter": "set_navigation_polygon", + "getter": "get_navigation_polygon", + "index": -1 + }, + { + "type": "bool", + "name": "enabled", + "setter": "set_enabled", + "getter": "is_enabled", + "index": -1 + }, + { + "type": "int", + "name": "layers", + "setter": "set_layers", + "getter": "get_layers", + "index": -1 + } + ] + }, + { + "name": "NavigationRegion3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_navigation_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "navmesh", + "type": "NavigationMesh" + } + ] + }, + { + "name": "get_navigation_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NavigationMesh" + } + }, + { + "name": "set_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_layers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layers", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_layers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "bake_navigation_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "signals": [ + { + "name": "bake_finished" + }, + { + "name": "navigation_mesh_changed" + } + ], + "properties": [ + { + "type": "NavigationMesh", + "name": "navmesh", + "setter": "set_navigation_mesh", + "getter": "get_navigation_mesh", + "index": -1 + }, + { + "type": "bool", + "name": "enabled", + "setter": "set_enabled", + "getter": "is_enabled", + "index": -1 + }, + { + "type": "int", + "name": "layers", + "setter": "set_layers", + "getter": "get_layers", + "index": -1 + } + ] + }, + { + "name": "NavigationServer2D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "map_create", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "map_set_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "map_is_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "nap", + "type": "RID" + } + ] + }, + { + "name": "map_set_cell_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "cell_size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "map_get_cell_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + }, + { + "name": "map_set_edge_connection_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "map_get_edge_connection_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + }, + { + "name": "map_get_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 177157229, + "return_value": { + "type": "PackedVector2Array" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "origin", + "type": "Vector2" + }, + { + "name": "destination", + "type": "Vector2" + }, + { + "name": "optimize", + "type": "bool" + }, + { + "name": "layers", + "type": "int", + "meta": "uint32", + "default_value": "1" + } + ] + }, + { + "name": "map_get_closest_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "to_point", + "type": "Vector2" + } + ] + }, + { + "name": "map_get_closest_point_owner", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "to_point", + "type": "Vector2" + } + ] + }, + { + "name": "region_create", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "region_set_map", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "map", + "type": "RID" + } + ] + }, + { + "name": "region_set_layers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "layers", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "region_get_layers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + } + ] + }, + { + "name": "region_set_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "region_set_navpoly", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "nav_poly", + "type": "NavigationPolygon" + } + ] + }, + { + "name": "region_get_connections_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + } + ] + }, + { + "name": "region_get_connection_pathway_start", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "connection", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "region_get_connection_pathway_end", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "connection", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "agent_create", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "agent_set_map", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "map", + "type": "RID" + } + ] + }, + { + "name": "agent_set_neighbor_dist", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "dist", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "agent_set_max_neighbors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "agent_set_time_horizon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "time", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "agent_set_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "agent_set_max_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "max_speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "agent_set_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "velocity", + "type": "Vector2" + } + ] + }, + { + "name": "agent_set_target_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "target_velocity", + "type": "Vector2" + } + ] + }, + { + "name": "agent_set_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "agent_is_map_changed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "agent", + "type": "RID" + } + ] + }, + { + "name": "agent_set_callback", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 136835915, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "receiver", + "type": "Object" + }, + { + "name": "method", + "type": "StringName" + }, + { + "name": "userdata", + "type": "Variant", + "default_value": "null" + } + ] + }, + { + "name": "free", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134188199, + "arguments": [ + { + "name": "object", + "type": "RID" + } + ] + } + ], + "signals": [ + { + "name": "map_changed", + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + } + ] + }, + { + "name": "NavigationServer3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "map_create", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "map_set_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "map_is_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "nap", + "type": "RID" + } + ] + }, + { + "name": "map_set_up", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "up", + "type": "Vector3" + } + ] + }, + { + "name": "map_get_up", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + }, + { + "name": "map_set_cell_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "cell_size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "map_get_cell_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + }, + { + "name": "map_set_edge_connection_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "map_get_edge_connection_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + }, + { + "name": "map_get_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 177157229, + "return_value": { + "type": "PackedVector3Array" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "origin", + "type": "Vector3" + }, + { + "name": "destination", + "type": "Vector3" + }, + { + "name": "optimize", + "type": "bool" + }, + { + "name": "layers", + "type": "int", + "meta": "uint32", + "default_value": "1" + } + ] + }, + { + "name": "map_get_closest_point_to_segment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 175971308, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "start", + "type": "Vector3" + }, + { + "name": "end", + "type": "Vector3" + }, + { + "name": "use_collision", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "map_get_closest_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "to_point", + "type": "Vector3" + } + ] + }, + { + "name": "map_get_closest_point_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "to_point", + "type": "Vector3" + } + ] + }, + { + "name": "map_get_closest_point_owner", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "to_point", + "type": "Vector3" + } + ] + }, + { + "name": "region_create", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "region_set_map", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "map", + "type": "RID" + } + ] + }, + { + "name": "region_set_layers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "layers", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "region_get_layers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + } + ] + }, + { + "name": "region_set_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "region_set_navmesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "nav_mesh", + "type": "NavigationMesh" + } + ] + }, + { + "name": "region_bake_navmesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "mesh", + "type": "NavigationMesh" + }, + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "region_get_connections_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + } + ] + }, + { + "name": "region_get_connection_pathway_start", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "connection", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "region_get_connection_pathway_end", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "connection", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "agent_create", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "agent_set_map", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "map", + "type": "RID" + } + ] + }, + { + "name": "agent_set_neighbor_dist", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "dist", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "agent_set_max_neighbors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "agent_set_time_horizon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "time", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "agent_set_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "agent_set_max_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "max_speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "agent_set_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "velocity", + "type": "Vector3" + } + ] + }, + { + "name": "agent_set_target_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "target_velocity", + "type": "Vector3" + } + ] + }, + { + "name": "agent_set_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "position", + "type": "Vector3" + } + ] + }, + { + "name": "agent_is_map_changed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "agent", + "type": "RID" + } + ] + }, + { + "name": "agent_set_callback", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 136835915, + "arguments": [ + { + "name": "agent", + "type": "RID" + }, + { + "name": "receiver", + "type": "Object" + }, + { + "name": "method", + "type": "StringName" + }, + { + "name": "userdata", + "type": "Variant", + "default_value": "null" + } + ] + }, + { + "name": "free", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134188199, + "arguments": [ + { + "name": "object", + "type": "RID" + } + ] + }, + { + "name": "set_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134188199, + "arguments": [ + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "process", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "delta_time", + "type": "float", + "meta": "float" + } + ] + } + ], + "signals": [ + { + "name": "map_changed", + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + } + ] + }, + { + "name": "NinePatchRect", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "enums": [ + { + "name": "AxisStretchMode", + "values": [ + { + "name": "AXIS_STRETCH_MODE_STRETCH", + "value": 0 + }, + { + "name": "AXIS_STRETCH_MODE_TILE", + "value": 1 + }, + { + "name": "AXIS_STRETCH_MODE_TILE_FIT", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_patch_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_patch_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + } + ] + }, + { + "name": "set_region_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rect", + "type": "Rect2" + } + ] + }, + { + "name": "get_region_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "set_draw_center", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "draw_center", + "type": "bool" + } + ] + }, + { + "name": "is_draw_center_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_h_axis_stretch_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::NinePatchRect.AxisStretchMode" + } + ] + }, + { + "name": "get_h_axis_stretch_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::NinePatchRect.AxisStretchMode" + } + }, + { + "name": "set_v_axis_stretch_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::NinePatchRect.AxisStretchMode" + } + ] + }, + { + "name": "get_v_axis_stretch_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::NinePatchRect.AxisStretchMode" + } + } + ], + "signals": [ + { + "name": "texture_changed" + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "bool", + "name": "draw_center", + "setter": "set_draw_center", + "getter": "is_draw_center_enabled", + "index": -1 + }, + { + "type": "Rect2", + "name": "region_rect", + "setter": "set_region_rect", + "getter": "get_region_rect", + "index": -1 + }, + { + "type": "int", + "name": "patch_margin_left", + "setter": "set_patch_margin", + "getter": "get_patch_margin", + "index": 0 + }, + { + "type": "int", + "name": "patch_margin_top", + "setter": "set_patch_margin", + "getter": "get_patch_margin", + "index": 1 + }, + { + "type": "int", + "name": "patch_margin_right", + "setter": "set_patch_margin", + "getter": "get_patch_margin", + "index": 2 + }, + { + "type": "int", + "name": "patch_margin_bottom", + "setter": "set_patch_margin", + "getter": "get_patch_margin", + "index": 3 + }, + { + "type": "int", + "name": "axis_stretch_horizontal", + "setter": "set_h_axis_stretch_mode", + "getter": "get_h_axis_stretch_mode", + "index": -1 + }, + { + "type": "int", + "name": "axis_stretch_vertical", + "setter": "set_v_axis_stretch_mode", + "getter": "get_v_axis_stretch_mode", + "index": -1 + } + ] + }, + { + "name": "Node", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "constants": [ + { + "name": "NOTIFICATION_ENTER_TREE", + "value": 10 + }, + { + "name": "NOTIFICATION_EXIT_TREE", + "value": 11 + }, + { + "name": "NOTIFICATION_MOVED_IN_PARENT", + "value": 12 + }, + { + "name": "NOTIFICATION_READY", + "value": 13 + }, + { + "name": "NOTIFICATION_PAUSED", + "value": 14 + }, + { + "name": "NOTIFICATION_UNPAUSED", + "value": 15 + }, + { + "name": "NOTIFICATION_PHYSICS_PROCESS", + "value": 16 + }, + { + "name": "NOTIFICATION_PROCESS", + "value": 17 + }, + { + "name": "NOTIFICATION_PARENTED", + "value": 18 + }, + { + "name": "NOTIFICATION_UNPARENTED", + "value": 19 + }, + { + "name": "NOTIFICATION_INSTANCED", + "value": 20 + }, + { + "name": "NOTIFICATION_DRAG_BEGIN", + "value": 21 + }, + { + "name": "NOTIFICATION_DRAG_END", + "value": 22 + }, + { + "name": "NOTIFICATION_PATH_CHANGED", + "value": 23 + }, + { + "name": "NOTIFICATION_INTERNAL_PROCESS", + "value": 25 + }, + { + "name": "NOTIFICATION_INTERNAL_PHYSICS_PROCESS", + "value": 26 + }, + { + "name": "NOTIFICATION_POST_ENTER_TREE", + "value": 27 + }, + { + "name": "NOTIFICATION_DISABLED", + "value": 28 + }, + { + "name": "NOTIFICATION_ENABLED", + "value": 29 + }, + { + "name": "NOTIFICATION_EDITOR_PRE_SAVE", + "value": 9001 + }, + { + "name": "NOTIFICATION_EDITOR_POST_SAVE", + "value": 9002 + }, + { + "name": "NOTIFICATION_WM_MOUSE_ENTER", + "value": 1002 + }, + { + "name": "NOTIFICATION_WM_MOUSE_EXIT", + "value": 1003 + }, + { + "name": "NOTIFICATION_WM_WINDOW_FOCUS_IN", + "value": 1004 + }, + { + "name": "NOTIFICATION_WM_WINDOW_FOCUS_OUT", + "value": 1005 + }, + { + "name": "NOTIFICATION_WM_CLOSE_REQUEST", + "value": 1006 + }, + { + "name": "NOTIFICATION_WM_GO_BACK_REQUEST", + "value": 1007 + }, + { + "name": "NOTIFICATION_WM_SIZE_CHANGED", + "value": 1008 + }, + { + "name": "NOTIFICATION_OS_MEMORY_WARNING", + "value": 2009 + }, + { + "name": "NOTIFICATION_TRANSLATION_CHANGED", + "value": 2010 + }, + { + "name": "NOTIFICATION_WM_ABOUT", + "value": 2011 + }, + { + "name": "NOTIFICATION_CRASH", + "value": 2012 + }, + { + "name": "NOTIFICATION_OS_IME_UPDATE", + "value": 2013 + }, + { + "name": "NOTIFICATION_APPLICATION_RESUMED", + "value": 2014 + }, + { + "name": "NOTIFICATION_APPLICATION_PAUSED", + "value": 2015 + }, + { + "name": "NOTIFICATION_APPLICATION_FOCUS_IN", + "value": 2016 + }, + { + "name": "NOTIFICATION_APPLICATION_FOCUS_OUT", + "value": 2017 + }, + { + "name": "NOTIFICATION_TEXT_SERVER_CHANGED", + "value": 2018 + } + ], + "enums": [ + { + "name": "ProcessMode", + "values": [ + { + "name": "PROCESS_MODE_INHERIT", + "value": 0 + }, + { + "name": "PROCESS_MODE_PAUSABLE", + "value": 1 + }, + { + "name": "PROCESS_MODE_WHEN_PAUSED", + "value": 2 + }, + { + "name": "PROCESS_MODE_ALWAYS", + "value": 3 + }, + { + "name": "PROCESS_MODE_DISABLED", + "value": 4 + } + ] + }, + { + "name": "DuplicateFlags", + "values": [ + { + "name": "DUPLICATE_SIGNALS", + "value": 1 + }, + { + "name": "DUPLICATE_GROUPS", + "value": 2 + }, + { + "name": "DUPLICATE_SCRIPTS", + "value": 4 + }, + { + "name": "DUPLICATE_USE_INSTANCING", + "value": 8 + } + ] + } + ], + "methods": [ + { + "name": "_process", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "delta", + "type": "float" + } + ] + }, + { + "name": "_physics_process", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "delta", + "type": "float" + } + ] + }, + { + "name": "_enter_tree", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_exit_tree", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_ready", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_input", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "_unhandled_input", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "_unhandled_key_input", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "event", + "type": "InputEventKey" + } + ] + }, + { + "name": "_get_configuration_warnings", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Array" + } + }, + { + "name": "add_sibling", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "sibling", + "type": "Node" + }, + { + "name": "legible_unique_name", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "set_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "add_child", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "node", + "type": "Node" + }, + { + "name": "legible_unique_name", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "remove_child", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "get_child_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_children", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_child", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_node_or_null", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_parent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Node" + } + }, + { + "name": "find_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1474136429, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "mask", + "type": "String" + }, + { + "name": "recursive", + "type": "bool", + "default_value": "true" + }, + { + "name": "owned", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "find_parent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "mask", + "type": "String" + } + ] + }, + { + "name": "has_node_and_resource", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_node_and_resource", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "is_inside_tree", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_ancestor_of", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "is_greater_than", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "get_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "get_path_to", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "add_to_group", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "group", + "type": "StringName" + }, + { + "name": "persistent", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "remove_from_group", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "group", + "type": "StringName" + } + ] + }, + { + "name": "is_in_group", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "group", + "type": "StringName" + } + ] + }, + { + "name": "move_child", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "child_node", + "type": "Node" + }, + { + "name": "to_position", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_groups", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "raise", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_owner", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "owner", + "type": "Node" + } + ] + }, + { + "name": "get_owner", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Node" + } + }, + { + "name": "remove_and_skip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "print_tree", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "print_tree_pretty", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_filename", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filename", + "type": "String" + } + ] + }, + { + "name": "get_filename", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "propagate_notification", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "what", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "propagate_call", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 376044335, + "arguments": [ + { + "name": "method", + "type": "StringName" + }, + { + "name": "args", + "type": "Array", + "default_value": "[]" + }, + { + "name": "parent_first", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "set_physics_process", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_physics_process_delta_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "is_physics_processing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_process_delta_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_process", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_process_priority", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "priority", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_process_priority", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "is_processing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_process_input", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_processing_input", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_process_unhandled_input", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_processing_unhandled_input", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_process_unhandled_key_input", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_processing_unhandled_key_input", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_process_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Node.ProcessMode" + } + ] + }, + { + "name": "get_process_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Node.ProcessMode" + } + }, + { + "name": "can_process", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "print_stray_nodes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_display_folded", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fold", + "type": "bool" + } + ] + }, + { + "name": "is_displayed_folded", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_process_internal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_processing_internal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_physics_process_internal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_physics_processing_internal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_tree", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "SceneTree" + } + }, + { + "name": "create_tween", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Tween" + } + }, + { + "name": "duplicate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172429880, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "flags", + "type": "int", + "meta": "int32", + "default_value": "15" + } + ] + }, + { + "name": "replace_by", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "node", + "type": "Node" + }, + { + "name": "keep_groups", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "set_scene_instance_load_placeholder", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "load_placeholder", + "type": "bool" + } + ] + }, + { + "name": "get_scene_instance_load_placeholder", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_viewport", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Viewport" + } + }, + { + "name": "queue_free", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "request_ready", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_network_master", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "recursive", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "get_network_master", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "is_network_master", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_multiplayer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "MultiplayerAPI" + } + }, + { + "name": "get_custom_multiplayer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "MultiplayerAPI" + } + }, + { + "name": "set_custom_multiplayer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "api", + "type": "MultiplayerAPI" + } + ] + }, + { + "name": "rpc_config", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1513270700, + "return_value": { + "type": "int", + "meta": "uint16" + }, + "arguments": [ + { + "name": "method", + "type": "StringName" + }, + { + "name": "rpc_mode", + "type": "enum::MultiplayerAPI.RPCMode" + }, + { + "name": "transfer_mode", + "type": "enum::MultiplayerPeer.TransferMode", + "default_value": "2" + }, + { + "name": "channel", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "set_editor_description", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "editor_description", + "type": "String" + } + ] + }, + { + "name": "get_editor_description", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "rpc", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135374088, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "rpc_id", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135410025, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "peer_id", + "type": "int" + }, + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "update_configuration_warnings", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "signals": [ + { + "name": "renamed" + }, + { + "name": "ready" + }, + { + "name": "tree_entered" + }, + { + "name": "tree_exiting" + }, + { + "name": "tree_exited" + } + ], + "properties": [ + { + "type": "StringName", + "name": "name", + "setter": "set_name", + "getter": "get_name", + "index": -1 + }, + { + "type": "String", + "name": "filename", + "setter": "set_filename", + "getter": "get_filename", + "index": -1 + }, + { + "type": "Node", + "name": "owner", + "setter": "set_owner", + "getter": "get_owner", + "index": -1 + }, + { + "type": "MultiplayerAPI", + "name": "multiplayer", + "setter": "", + "getter": "get_multiplayer", + "index": -1 + }, + { + "type": "MultiplayerAPI", + "name": "custom_multiplayer", + "setter": "set_custom_multiplayer", + "getter": "get_custom_multiplayer", + "index": -1 + }, + { + "type": "int", + "name": "process_mode", + "setter": "set_process_mode", + "getter": "get_process_mode", + "index": -1 + }, + { + "type": "int", + "name": "process_priority", + "setter": "set_process_priority", + "getter": "get_process_priority", + "index": -1 + }, + { + "type": "String", + "name": "editor_description", + "setter": "set_editor_description", + "getter": "get_editor_description", + "index": -1 + } + ] + }, + { + "name": "Node2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "CanvasItem", + "api_type": "core", + "methods": [ + { + "name": "set_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "set_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radians", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_skew", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radians", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "Vector2" + } + ] + }, + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_skew", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "rotate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radians", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "move_local_x", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "delta", + "type": "float", + "meta": "float" + }, + { + "name": "scaled", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "move_local_y", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "delta", + "type": "float", + "meta": "float" + }, + { + "name": "scaled", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "translate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "global_translate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "apply_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "Vector2" + } + ] + }, + { + "name": "set_global_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_global_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_global_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radians", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_global_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_global_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "Vector2" + } + ] + }, + { + "name": "get_global_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "xform", + "type": "Transform2D" + } + ] + }, + { + "name": "set_global_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "xform", + "type": "Transform2D" + } + ] + }, + { + "name": "look_at", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "point", + "type": "Vector2" + } + ] + }, + { + "name": "get_angle_to", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "point", + "type": "Vector2" + } + ] + }, + { + "name": "to_local", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "global_point", + "type": "Vector2" + } + ] + }, + { + "name": "to_global", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "local_point", + "type": "Vector2" + } + ] + }, + { + "name": "set_z_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "z_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_z_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_z_as_relative", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_z_relative", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_y_sort_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_y_sort_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_relative_transform_to_parent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform2D" + }, + "arguments": [ + { + "name": "parent", + "type": "Node" + } + ] + } + ], + "properties": [ + { + "type": "Vector2", + "name": "position", + "setter": "set_position", + "getter": "get_position", + "index": -1 + }, + { + "type": "float", + "name": "rotation", + "setter": "set_rotation", + "getter": "get_rotation", + "index": -1 + }, + { + "type": "Vector2", + "name": "scale", + "setter": "set_scale", + "getter": "get_scale", + "index": -1 + }, + { + "type": "float", + "name": "skew", + "setter": "set_skew", + "getter": "get_skew", + "index": -1 + }, + { + "type": "Transform2D", + "name": "transform", + "setter": "set_transform", + "getter": "get_transform", + "index": -1 + }, + { + "type": "Vector2", + "name": "global_position", + "setter": "set_global_position", + "getter": "get_global_position", + "index": -1 + }, + { + "type": "float", + "name": "global_rotation", + "setter": "set_global_rotation", + "getter": "get_global_rotation", + "index": -1 + }, + { + "type": "Vector2", + "name": "global_scale", + "setter": "set_global_scale", + "getter": "get_global_scale", + "index": -1 + }, + { + "type": "Transform2D", + "name": "global_transform", + "setter": "set_global_transform", + "getter": "get_global_transform", + "index": -1 + }, + { + "type": "int", + "name": "z_index", + "setter": "set_z_index", + "getter": "get_z_index", + "index": -1 + }, + { + "type": "bool", + "name": "z_as_relative", + "setter": "set_z_as_relative", + "getter": "is_z_relative", + "index": -1 + }, + { + "type": "bool", + "name": "y_sort_enabled", + "setter": "set_y_sort_enabled", + "getter": "is_y_sort_enabled", + "index": -1 + } + ] + }, + { + "name": "Node3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core", + "constants": [ + { + "name": "NOTIFICATION_TRANSFORM_CHANGED", + "value": 2000 + }, + { + "name": "NOTIFICATION_ENTER_WORLD", + "value": 41 + }, + { + "name": "NOTIFICATION_EXIT_WORLD", + "value": 42 + }, + { + "name": "NOTIFICATION_VISIBILITY_CHANGED", + "value": 43 + } + ], + "methods": [ + { + "name": "set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "local", + "type": "Transform3D" + } + ] + }, + { + "name": "get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "set_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector3" + } + ] + }, + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "euler", + "type": "Vector3" + } + ] + }, + { + "name": "get_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "Vector3" + } + ] + }, + { + "name": "get_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_global_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "global", + "type": "Transform3D" + } + ] + }, + { + "name": "get_global_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "get_parent_node_3d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Node3D" + } + }, + { + "name": "set_ignore_transform_notification", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "set_as_top_level", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_set_as_top_level", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_disable_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "is_scale_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_world_3d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "World3D" + } + }, + { + "name": "force_update_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_visibility_parent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_visibility_parent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "update_gizmos", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "add_gizmo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gizmo", + "type": "Node3DGizmo" + } + ] + }, + { + "name": "get_gizmos", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "clear_gizmos", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "clear_subgizmo_selection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "visible", + "type": "bool" + } + ] + }, + { + "name": "is_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_visible_in_tree", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "show", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "hide", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_notify_local_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_local_transform_notification_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_notify_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_transform_notification_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "rotate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "axis", + "type": "Vector3" + }, + { + "name": "angle", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "global_rotate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "axis", + "type": "Vector3" + }, + { + "name": "angle", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "global_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "Vector3" + } + ] + }, + { + "name": "global_translate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector3" + } + ] + }, + { + "name": "rotate_object_local", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "axis", + "type": "Vector3" + }, + { + "name": "angle", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "scale_object_local", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "Vector3" + } + ] + }, + { + "name": "translate_object_local", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector3" + } + ] + }, + { + "name": "rotate_x", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angle", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "rotate_y", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angle", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "rotate_z", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angle", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "translate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector3" + } + ] + }, + { + "name": "orthonormalize", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_identity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "look_at", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "target", + "type": "Vector3" + }, + { + "name": "up", + "type": "Vector3", + "default_value": "Vector3(0, 1, 0)" + } + ] + }, + { + "name": "look_at_from_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "position", + "type": "Vector3" + }, + { + "name": "target", + "type": "Vector3" + }, + { + "name": "up", + "type": "Vector3", + "default_value": "Vector3(0, 1, 0)" + } + ] + }, + { + "name": "to_local", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "global_point", + "type": "Vector3" + } + ] + }, + { + "name": "to_global", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "local_point", + "type": "Vector3" + } + ] + } + ], + "signals": [ + { + "name": "visibility_changed" + } + ], + "properties": [ + { + "type": "Transform3D", + "name": "global_transform", + "setter": "set_global_transform", + "getter": "get_global_transform", + "index": -1 + }, + { + "type": "Vector3", + "name": "position", + "setter": "set_position", + "getter": "get_position", + "index": -1 + }, + { + "type": "Vector3", + "name": "rotation", + "setter": "set_rotation", + "getter": "get_rotation", + "index": -1 + }, + { + "type": "Vector3", + "name": "scale", + "setter": "set_scale", + "getter": "get_scale", + "index": -1 + }, + { + "type": "bool", + "name": "top_level", + "setter": "set_as_top_level", + "getter": "is_set_as_top_level", + "index": -1 + }, + { + "type": "Transform3D", + "name": "transform", + "setter": "set_transform", + "getter": "get_transform", + "index": -1 + }, + { + "type": "bool", + "name": "visible", + "setter": "set_visible", + "getter": "is_visible", + "index": -1 + }, + { + "type": "NodePath", + "name": "visibility_parent", + "setter": "set_visibility_parent", + "getter": "get_visibility_parent", + "index": -1 + } + ] + }, + { + "name": "Node3DGizmo", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core" + }, + { + "name": "NoiseTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "methods": [ + { + "name": "set_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_noise", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "noise", + "type": "OpenSimplexNoise" + } + ] + }, + { + "name": "get_noise", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "OpenSimplexNoise" + } + }, + { + "name": "set_noise_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "noise_offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_noise_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_seamless", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "seamless", + "type": "bool" + } + ] + }, + { + "name": "get_seamless", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_as_normal_map", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "as_normal_map", + "type": "bool" + } + ] + }, + { + "name": "is_normal_map", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_bump_strength", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bump_strength", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bump_strength", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "int", + "name": "width", + "setter": "set_width", + "getter": "get_width", + "index": -1 + }, + { + "type": "int", + "name": "height", + "setter": "set_height", + "getter": "get_height", + "index": -1 + }, + { + "type": "bool", + "name": "seamless", + "setter": "set_seamless", + "getter": "get_seamless", + "index": -1 + }, + { + "type": "bool", + "name": "as_normal_map", + "setter": "set_as_normal_map", + "getter": "is_normal_map", + "index": -1 + }, + { + "type": "float", + "name": "bump_strength", + "setter": "set_bump_strength", + "getter": "get_bump_strength", + "index": -1 + }, + { + "type": "OpenSimplexNoise", + "name": "noise", + "setter": "set_noise", + "getter": "get_noise", + "index": -1 + }, + { + "type": "Vector2", + "name": "noise_offset", + "setter": "set_noise_offset", + "getter": "get_noise_offset", + "index": -1 + } + ] + }, + { + "name": "ORMMaterial3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "BaseMaterial3D", + "api_type": "core" + }, + { + "name": "Object", + "is_refcounted": false, + "is_instantiable": true, + "api_type": "core", + "constants": [ + { + "name": "NOTIFICATION_POSTINITIALIZE", + "value": 0 + }, + { + "name": "NOTIFICATION_PREDELETE", + "value": 1 + } + ], + "enums": [ + { + "name": "ConnectFlags", + "values": [ + { + "name": "CONNECT_DEFERRED", + "value": 1 + }, + { + "name": "CONNECT_PERSIST", + "value": 2 + }, + { + "name": "CONNECT_ONESHOT", + "value": 4 + }, + { + "name": "CONNECT_REFERENCE_COUNTED", + "value": 8 + } + ] + } + ], + "methods": [ + { + "name": "_notification", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "what", + "type": "int" + } + ] + }, + { + "name": "_set", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "property", + "type": "StringName" + }, + { + "name": "value", + "type": "void" + } + ] + }, + { + "name": "_get", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "property", + "type": "StringName" + } + ] + }, + { + "name": "_get_property_list", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Array" + } + }, + { + "name": "_init", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_to_string", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "get_class", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "is_class", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "class", + "type": "String" + } + ] + }, + { + "name": "set", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "property", + "type": "String" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "property", + "type": "String" + } + ] + }, + { + "name": "set_indexed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "property", + "type": "NodePath" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_indexed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "property", + "type": "NodePath" + } + ] + }, + { + "name": "get_property_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_method_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "notification", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "what", + "type": "int", + "meta": "int32" + }, + { + "name": "reversed", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "to_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "get_instance_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "set_script", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "script", + "type": "Variant" + } + ] + }, + { + "name": "get_script", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Variant" + } + }, + { + "name": "set_meta", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "remove_meta", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_meta", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "has_meta", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_meta_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "add_user_signal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "signal", + "type": "String" + }, + { + "name": "arguments", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "has_user_signal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "signal", + "type": "StringName" + } + ] + }, + { + "name": "emit_signal", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135374088, + "return_value": { + "type": "void" + }, + "arguments": [ + { + "name": "signal", + "type": "StringName" + } + ] + }, + { + "name": "call", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135374088, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "call_deferred", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135374088, + "return_value": { + "type": "void" + }, + "arguments": [ + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "set_deferred", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "property", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "callv", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "method", + "type": "StringName" + }, + { + "name": "arg_array", + "type": "Array" + } + ] + }, + { + "name": "has_method", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "has_signal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "signal", + "type": "StringName" + } + ] + }, + { + "name": "get_signal_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_signal_connection_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "signal", + "type": "String" + } + ] + }, + { + "name": "get_incoming_connections", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "connect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1513270700, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "signal", + "type": "StringName" + }, + { + "name": "callable", + "type": "Callable" + }, + { + "name": "binds", + "type": "Array", + "default_value": "[]" + }, + { + "name": "flags", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "disconnect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "signal", + "type": "StringName" + }, + { + "name": "callable", + "type": "Callable" + } + ] + }, + { + "name": "is_connected", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "signal", + "type": "StringName" + }, + { + "name": "callable", + "type": "Callable" + } + ] + }, + { + "name": "set_block_signals", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_blocking_signals", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "notify_property_list_changed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_message_translation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "can_translate_messages", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "tr", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "message", + "type": "StringName" + }, + { + "name": "context", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "tr_n", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 175971308, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "message", + "type": "StringName" + }, + { + "name": "plural_message", + "type": "StringName" + }, + { + "name": "n", + "type": "int", + "meta": "int32" + }, + { + "name": "context", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "is_queued_for_deletion", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "script_changed" + }, + { + "name": "property_list_changed" + } + ] + }, + { + "name": "Occluder3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_vertices", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vertices", + "type": "PackedVector3Array" + } + ] + }, + { + "name": "get_vertices", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector3Array" + } + }, + { + "name": "set_indices", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "indices", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_indices", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedInt32Array" + } + } + ], + "properties": [ + { + "type": "PackedVector3Array", + "name": "vertices", + "setter": "set_vertices", + "getter": "get_vertices", + "index": -1 + }, + { + "type": "PackedInt32Array", + "name": "indices", + "setter": "set_indices", + "getter": "get_indices", + "index": -1 + } + ] + }, + { + "name": "OccluderInstance3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_bake_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_bake_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_bake_mask_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_bake_mask_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_occluder", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "occluder", + "type": "Occluder3D" + } + ] + }, + { + "name": "get_occluder", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Occluder3D" + } + } + ], + "properties": [ + { + "type": "Occluder3D", + "name": "occluder", + "setter": "set_occluder", + "getter": "get_occluder", + "index": -1 + }, + { + "type": "int", + "name": "bake_mask", + "setter": "set_bake_mask", + "getter": "get_bake_mask", + "index": -1 + } + ] + }, + { + "name": "OccluderPolygon2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "CullMode", + "values": [ + { + "name": "CULL_DISABLED", + "value": 0 + }, + { + "name": "CULL_CLOCKWISE", + "value": 1 + }, + { + "name": "CULL_COUNTER_CLOCKWISE", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_closed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "closed", + "type": "bool" + } + ] + }, + { + "name": "is_closed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_cull_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "cull_mode", + "type": "enum::OccluderPolygon2D.CullMode" + } + ] + }, + { + "name": "get_cull_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::OccluderPolygon2D.CullMode" + } + }, + { + "name": "set_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "polygon", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_polygon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "closed", + "setter": "set_closed", + "getter": "is_closed", + "index": -1 + }, + { + "type": "int", + "name": "cull_mode", + "setter": "set_cull_mode", + "getter": "get_cull_mode", + "index": -1 + }, + { + "type": "PackedVector2Array", + "name": "polygon", + "setter": "set_polygon", + "getter": "get_polygon", + "index": -1 + } + ] + }, + { + "name": "OmniLight3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Light3D", + "api_type": "core", + "enums": [ + { + "name": "ShadowMode", + "values": [ + { + "name": "SHADOW_DUAL_PARABOLOID", + "value": 0 + }, + { + "name": "SHADOW_CUBE", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_shadow_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::OmniLight3D.ShadowMode" + } + ] + }, + { + "name": "get_shadow_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::OmniLight3D.ShadowMode" + } + } + ], + "properties": [ + { + "type": "float", + "name": "omni_range", + "setter": "set_param", + "getter": "get_param", + "index": 3 + }, + { + "type": "float", + "name": "omni_attenuation", + "setter": "set_param", + "getter": "get_param", + "index": 5 + }, + { + "type": "int", + "name": "omni_shadow_mode", + "setter": "set_shadow_mode", + "getter": "get_shadow_mode", + "index": -1 + } + ] + }, + { + "name": "OpenSimplexNoise", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_seed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_seed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "seed", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_octaves", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "octave_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_octaves", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_period", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "period", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_period", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_persistence", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "persistence", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_persistence", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_lacunarity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "lacunarity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_lacunarity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_image", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 174785387, + "return_value": { + "type": "Image" + }, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + }, + { + "name": "height", + "type": "int", + "meta": "int32" + }, + { + "name": "noise_offset", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "get_seamless_image", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Image" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_noise_1d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "x", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_noise_2d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "x", + "type": "float", + "meta": "float" + }, + { + "name": "y", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_noise_3d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "x", + "type": "float", + "meta": "float" + }, + { + "name": "y", + "type": "float", + "meta": "float" + }, + { + "name": "z", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_noise_4d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135481931, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "x", + "type": "float", + "meta": "float" + }, + { + "name": "y", + "type": "float", + "meta": "float" + }, + { + "name": "z", + "type": "float", + "meta": "float" + }, + { + "name": "w", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_noise_2dv", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "pos", + "type": "Vector2" + } + ] + }, + { + "name": "get_noise_3dv", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "pos", + "type": "Vector3" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "seed", + "setter": "set_seed", + "getter": "get_seed", + "index": -1 + }, + { + "type": "int", + "name": "octaves", + "setter": "set_octaves", + "getter": "get_octaves", + "index": -1 + }, + { + "type": "float", + "name": "period", + "setter": "set_period", + "getter": "get_period", + "index": -1 + }, + { + "type": "float", + "name": "persistence", + "setter": "set_persistence", + "getter": "get_persistence", + "index": -1 + }, + { + "type": "float", + "name": "lacunarity", + "setter": "set_lacunarity", + "getter": "get_lacunarity", + "index": -1 + } + ] + }, + { + "name": "OptimizedTranslation", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Translation", + "api_type": "core", + "methods": [ + { + "name": "generate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "from", + "type": "Translation" + } + ] + } + ] + }, + { + "name": "OptionButton", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Button", + "api_type": "core", + "methods": [ + { + "name": "add_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "label", + "type": "String" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "add_icon_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + }, + { + "name": "label", + "type": "String" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "set_item_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "set_item_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "set_item_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "set_item_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_metadata", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "metadata", + "type": "Variant" + } + ] + }, + { + "name": "get_item_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_metadata", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_item_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "add_separator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "select", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_selected", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_selected_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_selected_metadata", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Variant" + } + }, + { + "name": "remove_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_popup", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PopupMenu" + } + } + ], + "signals": [ + { + "name": "item_focused", + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "item_selected", + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "Array", + "name": "items", + "setter": "_set_items", + "getter": "_get_items", + "index": -1 + }, + { + "type": "int", + "name": "selected", + "setter": "_select_int", + "getter": "get_selected", + "index": -1 + } + ] + }, + { + "name": "PCKPacker", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "pck_start", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2738288146, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "pck_name", + "type": "String" + }, + { + "name": "alignment", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "key", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "encrypt_directory", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "add_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "pck_path", + "type": "String" + }, + { + "name": "source_path", + "type": "String" + }, + { + "name": "encrypt", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "flush", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "verbose", + "type": "bool", + "default_value": "false" + } + ] + } + ] + }, + { + "name": "PackedDataContainer", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "pack", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ] + }, + { + "name": "PackedDataContainerRef", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ] + }, + { + "name": "PackedScene", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "GenEditState", + "values": [ + { + "name": "GEN_EDIT_STATE_DISABLED", + "value": 0 + }, + { + "name": "GEN_EDIT_STATE_INSTANCE", + "value": 1 + }, + { + "name": "GEN_EDIT_STATE_MAIN", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "pack", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "Node" + } + ] + }, + { + "name": "instantiate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "edit_state", + "type": "enum::PackedScene.GenEditState", + "default_value": "0" + } + ] + }, + { + "name": "can_instantiate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "SceneState" + } + } + ] + }, + { + "name": "PackedSceneGLTF", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PackedScene", + "api_type": "core", + "methods": [ + { + "name": "export_gltf", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1513270700, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "node", + "type": "Node" + }, + { + "name": "path", + "type": "String" + }, + { + "name": "flags", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "bake_fps", + "type": "float", + "meta": "float", + "default_value": "1000.0" + } + ] + }, + { + "name": "pack_gltf", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3965762337, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "flags", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "bake_fps", + "type": "float", + "meta": "float", + "default_value": "1000.0" + }, + { + "name": "state", + "type": "GLTFState", + "default_value": "null" + } + ] + }, + { + "name": "import_gltf_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3634532354, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "flags", + "type": "int", + "meta": "uint32", + "default_value": "0" + }, + { + "name": "bake_fps", + "type": "float", + "meta": "float", + "default_value": "1000.0" + }, + { + "name": "state", + "type": "GLTFState", + "default_value": "null" + } + ] + } + ] + }, + { + "name": "PacketPeer", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "get_var", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "allow_objects", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "put_var", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "var", + "type": "Variant" + }, + { + "name": "full_objects", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_packet", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedByteArray" + } + }, + { + "name": "put_packet", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "buffer", + "type": "PackedByteArray" + } + ] + }, + { + "name": "get_packet_error", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "get_available_packet_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_encode_buffer_max_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_encode_buffer_max_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_size", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "encode_buffer_max_size", + "setter": "set_encode_buffer_max_size", + "getter": "get_encode_buffer_max_size", + "index": -1 + } + ] + }, + { + "name": "PacketPeerDTLS", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PacketPeer", + "api_type": "core", + "enums": [ + { + "name": "Status", + "values": [ + { + "name": "STATUS_DISCONNECTED", + "value": 0 + }, + { + "name": "STATUS_HANDSHAKING", + "value": 1 + }, + { + "name": "STATUS_CONNECTED", + "value": 2 + }, + { + "name": "STATUS_ERROR", + "value": 3 + }, + { + "name": "STATUS_ERROR_HOSTNAME_MISMATCH", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "poll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "connect_to_peer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2738324083, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "packet_peer", + "type": "PacketPeerUDP" + }, + { + "name": "validate_certs", + "type": "bool", + "default_value": "true" + }, + { + "name": "for_hostname", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "valid_certificate", + "type": "X509Certificate", + "default_value": "null" + } + ] + }, + { + "name": "get_status", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::PacketPeerDTLS.Status" + } + }, + { + "name": "disconnect_from_peer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ] + }, + { + "name": "PacketPeerGDNative", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PacketPeer", + "api_type": "core" + }, + { + "name": "PacketPeerStream", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PacketPeer", + "api_type": "core", + "methods": [ + { + "name": "set_stream_peer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "peer", + "type": "StreamPeer" + } + ] + }, + { + "name": "get_stream_peer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StreamPeer" + } + }, + { + "name": "set_input_buffer_max_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_size_bytes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_output_buffer_max_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_size_bytes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_input_buffer_max_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_output_buffer_max_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "int", + "name": "input_buffer_max_size", + "setter": "set_input_buffer_max_size", + "getter": "get_input_buffer_max_size", + "index": -1 + }, + { + "type": "int", + "name": "output_buffer_max_size", + "setter": "set_output_buffer_max_size", + "getter": "get_output_buffer_max_size", + "index": -1 + }, + { + "type": "StreamPeer", + "name": "stream_peer", + "setter": "set_stream_peer", + "getter": "get_stream_peer", + "index": -1 + } + ] + }, + { + "name": "PacketPeerUDP", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PacketPeer", + "api_type": "core", + "methods": [ + { + "name": "bind", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1667558042, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + }, + { + "name": "bind_address", + "type": "String", + "default_value": "\"*\"" + }, + { + "name": "recv_buf_size", + "type": "int", + "meta": "int32", + "default_value": "65536" + } + ] + }, + { + "name": "close", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "wait", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "is_bound", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "connect_to_host", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "host", + "type": "String" + }, + { + "name": "port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_connected_to_host", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_packet_ip", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_packet_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_local_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_dest_address", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "host", + "type": "String" + }, + { + "name": "port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_broadcast_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "join_multicast_group", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "multicast_address", + "type": "String" + }, + { + "name": "interface_name", + "type": "String" + } + ] + }, + { + "name": "leave_multicast_group", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "multicast_address", + "type": "String" + }, + { + "name": "interface_name", + "type": "String" + } + ] + } + ] + }, + { + "name": "Panel", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "enums": [ + { + "name": "Mode", + "values": [ + { + "name": "MODE_BACKGROUND", + "value": 0 + }, + { + "name": "MODE_FOREGROUND", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Panel.Mode" + } + ] + }, + { + "name": "get_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Panel.Mode" + } + } + ], + "properties": [ + { + "type": "int", + "name": "mode", + "setter": "set_mode", + "getter": "get_mode", + "index": -1 + } + ] + }, + { + "name": "PanelContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Container", + "api_type": "core" + }, + { + "name": "PanoramaSkyMaterial", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Material", + "api_type": "core", + "methods": [ + { + "name": "set_panorama", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_panorama", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "panorama", + "setter": "set_panorama", + "getter": "get_panorama", + "index": -1 + } + ] + }, + { + "name": "ParallaxBackground", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "CanvasLayer", + "api_type": "core", + "methods": [ + { + "name": "set_scroll_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ofs", + "type": "Vector2" + } + ] + }, + { + "name": "get_scroll_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_scroll_base_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ofs", + "type": "Vector2" + } + ] + }, + { + "name": "get_scroll_base_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_scroll_base_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "Vector2" + } + ] + }, + { + "name": "get_scroll_base_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_limit_begin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ofs", + "type": "Vector2" + } + ] + }, + { + "name": "get_limit_begin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_limit_end", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ofs", + "type": "Vector2" + } + ] + }, + { + "name": "get_limit_end", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_ignore_camera_zoom", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ignore", + "type": "bool" + } + ] + }, + { + "name": "is_ignore_camera_zoom", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "scroll_offset", + "setter": "set_scroll_offset", + "getter": "get_scroll_offset", + "index": -1 + }, + { + "type": "Vector2", + "name": "scroll_base_offset", + "setter": "set_scroll_base_offset", + "getter": "get_scroll_base_offset", + "index": -1 + }, + { + "type": "Vector2", + "name": "scroll_base_scale", + "setter": "set_scroll_base_scale", + "getter": "get_scroll_base_scale", + "index": -1 + }, + { + "type": "Vector2", + "name": "scroll_limit_begin", + "setter": "set_limit_begin", + "getter": "get_limit_begin", + "index": -1 + }, + { + "type": "Vector2", + "name": "scroll_limit_end", + "setter": "set_limit_end", + "getter": "get_limit_end", + "index": -1 + }, + { + "type": "bool", + "name": "scroll_ignore_camera_zoom", + "setter": "set_ignore_camera_zoom", + "getter": "is_ignore_camera_zoom", + "index": -1 + } + ] + }, + { + "name": "ParallaxLayer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_motion_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "Vector2" + } + ] + }, + { + "name": "get_motion_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_motion_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_motion_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_mirroring", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mirror", + "type": "Vector2" + } + ] + }, + { + "name": "get_mirroring", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "motion_scale", + "setter": "set_motion_scale", + "getter": "get_motion_scale", + "index": -1 + }, + { + "type": "Vector2", + "name": "motion_offset", + "setter": "set_motion_offset", + "getter": "get_motion_offset", + "index": -1 + }, + { + "type": "Vector2", + "name": "motion_mirroring", + "setter": "set_mirroring", + "getter": "get_mirroring", + "index": -1 + } + ] + }, + { + "name": "ParticlesMaterial", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Material", + "api_type": "core", + "enums": [ + { + "name": "EmissionShape", + "values": [ + { + "name": "EMISSION_SHAPE_POINT", + "value": 0 + }, + { + "name": "EMISSION_SHAPE_SPHERE", + "value": 1 + }, + { + "name": "EMISSION_SHAPE_BOX", + "value": 2 + }, + { + "name": "EMISSION_SHAPE_POINTS", + "value": 3 + }, + { + "name": "EMISSION_SHAPE_DIRECTED_POINTS", + "value": 4 + }, + { + "name": "EMISSION_SHAPE_RING", + "value": 5 + }, + { + "name": "EMISSION_SHAPE_MAX", + "value": 6 + } + ] + }, + { + "name": "SubEmitterMode", + "values": [ + { + "name": "SUB_EMITTER_DISABLED", + "value": 0 + }, + { + "name": "SUB_EMITTER_CONSTANT", + "value": 1 + }, + { + "name": "SUB_EMITTER_AT_END", + "value": 2 + }, + { + "name": "SUB_EMITTER_AT_COLLISION", + "value": 3 + }, + { + "name": "SUB_EMITTER_MAX", + "value": 4 + } + ] + }, + { + "name": "ParticleFlags", + "values": [ + { + "name": "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY", + "value": 0 + }, + { + "name": "PARTICLE_FLAG_ROTATE_Y", + "value": 1 + }, + { + "name": "PARTICLE_FLAG_DISABLE_Z", + "value": 2 + }, + { + "name": "PARTICLE_FLAG_MAX", + "value": 3 + } + ] + }, + { + "name": "Parameter", + "values": [ + { + "name": "PARAM_INITIAL_LINEAR_VELOCITY", + "value": 0 + }, + { + "name": "PARAM_ANGULAR_VELOCITY", + "value": 1 + }, + { + "name": "PARAM_ORBIT_VELOCITY", + "value": 2 + }, + { + "name": "PARAM_LINEAR_ACCEL", + "value": 3 + }, + { + "name": "PARAM_RADIAL_ACCEL", + "value": 4 + }, + { + "name": "PARAM_TANGENTIAL_ACCEL", + "value": 5 + }, + { + "name": "PARAM_DAMPING", + "value": 6 + }, + { + "name": "PARAM_ANGLE", + "value": 7 + }, + { + "name": "PARAM_SCALE", + "value": 8 + }, + { + "name": "PARAM_HUE_VARIATION", + "value": 9 + }, + { + "name": "PARAM_ANIM_SPEED", + "value": 10 + }, + { + "name": "PARAM_ANIM_OFFSET", + "value": 11 + }, + { + "name": "PARAM_MAX", + "value": 12 + } + ] + } + ], + "methods": [ + { + "name": "set_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "degrees", + "type": "Vector3" + } + ] + }, + { + "name": "get_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_spread", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "degrees", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_spread", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_flatness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_flatness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::ParticlesMaterial.Parameter" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::ParticlesMaterial.Parameter" + } + ] + }, + { + "name": "set_param_randomness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::ParticlesMaterial.Parameter" + }, + { + "name": "randomness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param_randomness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::ParticlesMaterial.Parameter" + } + ] + }, + { + "name": "set_param_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::ParticlesMaterial.Parameter" + }, + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_param_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "param", + "type": "enum::ParticlesMaterial.Parameter" + } + ] + }, + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_color_ramp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ramp", + "type": "Texture2D" + } + ] + }, + { + "name": "get_color_ramp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_particle_flag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particle_flag", + "type": "enum::ParticlesMaterial.ParticleFlags" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_particle_flag", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "particle_flag", + "type": "enum::ParticlesMaterial.ParticleFlags" + } + ] + }, + { + "name": "set_emission_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "enum::ParticlesMaterial.EmissionShape" + } + ] + }, + { + "name": "get_emission_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::ParticlesMaterial.EmissionShape" + } + }, + { + "name": "set_emission_sphere_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_sphere_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_emission_box_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "get_emission_box_extents", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_emission_point_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_emission_point_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_emission_normal_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_emission_normal_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_emission_color_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_emission_color_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_emission_point_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "point_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_emission_point_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_emission_ring_axis", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "axis", + "type": "Vector3" + } + ] + }, + { + "name": "get_emission_ring_axis", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_emission_ring_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_ring_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_emission_ring_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_ring_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_emission_ring_inner_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "inner_radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_emission_ring_inner_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_gravity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_gravity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "accel_vec", + "type": "Vector3" + } + ] + }, + { + "name": "set_lifetime_randomness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "randomness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_lifetime_randomness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_sub_emitter_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::ParticlesMaterial.SubEmitterMode" + } + }, + { + "name": "set_sub_emitter_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::ParticlesMaterial.SubEmitterMode" + } + ] + }, + { + "name": "get_sub_emitter_frequency", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sub_emitter_frequency", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hz", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sub_emitter_amount_at_end", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_sub_emitter_amount_at_end", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_sub_emitter_keep_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_sub_emitter_keep_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_attractor_interaction_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_attractor_interaction_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_collision_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_collision_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_collision_use_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "bool" + } + ] + }, + { + "name": "is_collision_using_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_collision_friction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "friction", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_collision_friction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_collision_bounce", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bounce", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_collision_bounce", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "lifetime_randomness", + "setter": "set_lifetime_randomness", + "getter": "get_lifetime_randomness", + "index": -1 + }, + { + "type": "int", + "name": "emission_shape", + "setter": "set_emission_shape", + "getter": "get_emission_shape", + "index": -1 + }, + { + "type": "float", + "name": "emission_sphere_radius", + "setter": "set_emission_sphere_radius", + "getter": "get_emission_sphere_radius", + "index": -1 + }, + { + "type": "Vector3", + "name": "emission_box_extents", + "setter": "set_emission_box_extents", + "getter": "get_emission_box_extents", + "index": -1 + }, + { + "type": "Texture2D", + "name": "emission_point_texture", + "setter": "set_emission_point_texture", + "getter": "get_emission_point_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "emission_normal_texture", + "setter": "set_emission_normal_texture", + "getter": "get_emission_normal_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "emission_color_texture", + "setter": "set_emission_color_texture", + "getter": "get_emission_color_texture", + "index": -1 + }, + { + "type": "int", + "name": "emission_point_count", + "setter": "set_emission_point_count", + "getter": "get_emission_point_count", + "index": -1 + }, + { + "type": "Vector3", + "name": "emission_ring_axis", + "setter": "set_emission_ring_axis", + "getter": "get_emission_ring_axis", + "index": -1 + }, + { + "type": "float", + "name": "emission_ring_height", + "setter": "set_emission_ring_height", + "getter": "get_emission_ring_height", + "index": -1 + }, + { + "type": "float", + "name": "emission_ring_radius", + "setter": "set_emission_ring_radius", + "getter": "get_emission_ring_radius", + "index": -1 + }, + { + "type": "float", + "name": "emission_ring_inner_radius", + "setter": "set_emission_ring_inner_radius", + "getter": "get_emission_ring_inner_radius", + "index": -1 + }, + { + "type": "bool", + "name": "particle_flag_align_y", + "setter": "set_particle_flag", + "getter": "get_particle_flag", + "index": 0 + }, + { + "type": "bool", + "name": "particle_flag_rotate_y", + "setter": "set_particle_flag", + "getter": "get_particle_flag", + "index": 1 + }, + { + "type": "bool", + "name": "particle_flag_disable_z", + "setter": "set_particle_flag", + "getter": "get_particle_flag", + "index": 2 + }, + { + "type": "Vector3", + "name": "direction", + "setter": "set_direction", + "getter": "get_direction", + "index": -1 + }, + { + "type": "float", + "name": "spread", + "setter": "set_spread", + "getter": "get_spread", + "index": -1 + }, + { + "type": "float", + "name": "flatness", + "setter": "set_flatness", + "getter": "get_flatness", + "index": -1 + }, + { + "type": "Vector3", + "name": "gravity", + "setter": "set_gravity", + "getter": "get_gravity", + "index": -1 + }, + { + "type": "float", + "name": "initial_velocity", + "setter": "set_param", + "getter": "get_param", + "index": 0 + }, + { + "type": "float", + "name": "initial_velocity_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 0 + }, + { + "type": "float", + "name": "angular_velocity", + "setter": "set_param", + "getter": "get_param", + "index": 1 + }, + { + "type": "float", + "name": "angular_velocity_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 1 + }, + { + "type": "CurveTexture", + "name": "angular_velocity_curve", + "setter": "set_param_texture", + "getter": "get_param_texture", + "index": 1 + }, + { + "type": "float", + "name": "orbit_velocity", + "setter": "set_param", + "getter": "get_param", + "index": 2 + }, + { + "type": "float", + "name": "orbit_velocity_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 2 + }, + { + "type": "CurveTexture", + "name": "orbit_velocity_curve", + "setter": "set_param_texture", + "getter": "get_param_texture", + "index": 2 + }, + { + "type": "float", + "name": "linear_accel", + "setter": "set_param", + "getter": "get_param", + "index": 3 + }, + { + "type": "float", + "name": "linear_accel_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 3 + }, + { + "type": "CurveTexture", + "name": "linear_accel_curve", + "setter": "set_param_texture", + "getter": "get_param_texture", + "index": 3 + }, + { + "type": "float", + "name": "radial_accel", + "setter": "set_param", + "getter": "get_param", + "index": 4 + }, + { + "type": "float", + "name": "radial_accel_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 4 + }, + { + "type": "CurveTexture", + "name": "radial_accel_curve", + "setter": "set_param_texture", + "getter": "get_param_texture", + "index": 4 + }, + { + "type": "float", + "name": "tangential_accel", + "setter": "set_param", + "getter": "get_param", + "index": 5 + }, + { + "type": "float", + "name": "tangential_accel_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 5 + }, + { + "type": "CurveTexture", + "name": "tangential_accel_curve", + "setter": "set_param_texture", + "getter": "get_param_texture", + "index": 5 + }, + { + "type": "float", + "name": "damping", + "setter": "set_param", + "getter": "get_param", + "index": 6 + }, + { + "type": "float", + "name": "damping_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 6 + }, + { + "type": "CurveTexture", + "name": "damping_curve", + "setter": "set_param_texture", + "getter": "get_param_texture", + "index": 6 + }, + { + "type": "float", + "name": "angle", + "setter": "set_param", + "getter": "get_param", + "index": 7 + }, + { + "type": "float", + "name": "angle_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 7 + }, + { + "type": "CurveTexture", + "name": "angle_curve", + "setter": "set_param_texture", + "getter": "get_param_texture", + "index": 7 + }, + { + "type": "float", + "name": "scale", + "setter": "set_param", + "getter": "get_param", + "index": 8 + }, + { + "type": "float", + "name": "scale_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 8 + }, + { + "type": "CurveTexture", + "name": "scale_curve", + "setter": "set_param_texture", + "getter": "get_param_texture", + "index": 8 + }, + { + "type": "Color", + "name": "color", + "setter": "set_color", + "getter": "get_color", + "index": -1 + }, + { + "type": "GradientTexture", + "name": "color_ramp", + "setter": "set_color_ramp", + "getter": "get_color_ramp", + "index": -1 + }, + { + "type": "float", + "name": "hue_variation", + "setter": "set_param", + "getter": "get_param", + "index": 9 + }, + { + "type": "float", + "name": "hue_variation_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 9 + }, + { + "type": "CurveTexture", + "name": "hue_variation_curve", + "setter": "set_param_texture", + "getter": "get_param_texture", + "index": 9 + }, + { + "type": "float", + "name": "anim_speed", + "setter": "set_param", + "getter": "get_param", + "index": 10 + }, + { + "type": "float", + "name": "anim_speed_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 10 + }, + { + "type": "CurveTexture", + "name": "anim_speed_curve", + "setter": "set_param_texture", + "getter": "get_param_texture", + "index": 10 + }, + { + "type": "float", + "name": "anim_offset", + "setter": "set_param", + "getter": "get_param", + "index": 11 + }, + { + "type": "float", + "name": "anim_offset_random", + "setter": "set_param_randomness", + "getter": "get_param_randomness", + "index": 11 + }, + { + "type": "CurveTexture", + "name": "anim_offset_curve", + "setter": "set_param_texture", + "getter": "get_param_texture", + "index": 11 + }, + { + "type": "int", + "name": "sub_emitter_mode", + "setter": "set_sub_emitter_mode", + "getter": "get_sub_emitter_mode", + "index": -1 + }, + { + "type": "float", + "name": "sub_emitter_frequency", + "setter": "set_sub_emitter_frequency", + "getter": "get_sub_emitter_frequency", + "index": -1 + }, + { + "type": "int", + "name": "sub_emitter_amount_at_end", + "setter": "set_sub_emitter_amount_at_end", + "getter": "get_sub_emitter_amount_at_end", + "index": -1 + }, + { + "type": "bool", + "name": "sub_emitter_keep_velocity", + "setter": "set_sub_emitter_keep_velocity", + "getter": "get_sub_emitter_keep_velocity", + "index": -1 + }, + { + "type": "bool", + "name": "attractor_interaction_enabled", + "setter": "set_attractor_interaction_enabled", + "getter": "is_attractor_interaction_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "collision_enabled", + "setter": "set_collision_enabled", + "getter": "is_collision_enabled", + "index": -1 + }, + { + "type": "float", + "name": "collision_friction", + "setter": "set_collision_friction", + "getter": "get_collision_friction", + "index": -1 + }, + { + "type": "float", + "name": "collision_bounce", + "setter": "set_collision_bounce", + "getter": "get_collision_bounce", + "index": -1 + }, + { + "type": "bool", + "name": "collision_use_scale", + "setter": "set_collision_use_scale", + "getter": "is_collision_using_scale", + "index": -1 + } + ] + }, + { + "name": "Path2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_curve", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "Curve2D" + } + ] + }, + { + "name": "get_curve", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Curve2D" + } + } + ], + "properties": [ + { + "type": "Curve2D", + "name": "curve", + "setter": "set_curve", + "getter": "get_curve", + "index": -1 + } + ] + }, + { + "name": "Path3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_curve", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "Curve3D" + } + ] + }, + { + "name": "get_curve", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Curve3D" + } + } + ], + "signals": [ + { + "name": "curve_changed" + } + ], + "properties": [ + { + "type": "Curve3D", + "name": "curve", + "setter": "set_curve", + "getter": "get_curve", + "index": -1 + } + ] + }, + { + "name": "PathFollow2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_h_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "h_offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_h_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_v_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "v_offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_v_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_unit_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "unit_offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_unit_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_rotates", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_rotating", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_cubic_interpolation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_cubic_interpolation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_loop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "loop", + "type": "bool" + } + ] + }, + { + "name": "has_loop", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_lookahead", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "lookahead", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_lookahead", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "offset", + "setter": "set_offset", + "getter": "get_offset", + "index": -1 + }, + { + "type": "float", + "name": "unit_offset", + "setter": "set_unit_offset", + "getter": "get_unit_offset", + "index": -1 + }, + { + "type": "float", + "name": "h_offset", + "setter": "set_h_offset", + "getter": "get_h_offset", + "index": -1 + }, + { + "type": "float", + "name": "v_offset", + "setter": "set_v_offset", + "getter": "get_v_offset", + "index": -1 + }, + { + "type": "bool", + "name": "rotates", + "setter": "set_rotates", + "getter": "is_rotating", + "index": -1 + }, + { + "type": "bool", + "name": "cubic_interp", + "setter": "set_cubic_interpolation", + "getter": "get_cubic_interpolation", + "index": -1 + }, + { + "type": "bool", + "name": "loop", + "setter": "set_loop", + "getter": "has_loop", + "index": -1 + }, + { + "type": "float", + "name": "lookahead", + "setter": "set_lookahead", + "getter": "get_lookahead", + "index": -1 + } + ] + }, + { + "name": "PathFollow3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "enums": [ + { + "name": "RotationMode", + "values": [ + { + "name": "ROTATION_NONE", + "value": 0 + }, + { + "name": "ROTATION_Y", + "value": 1 + }, + { + "name": "ROTATION_XY", + "value": 2 + }, + { + "name": "ROTATION_XYZ", + "value": 3 + }, + { + "name": "ROTATION_ORIENTED", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "set_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_h_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "h_offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_h_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_v_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "v_offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_v_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_unit_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "unit_offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_unit_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_rotation_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rotation_mode", + "type": "enum::PathFollow3D.RotationMode" + } + ] + }, + { + "name": "get_rotation_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::PathFollow3D.RotationMode" + } + }, + { + "name": "set_cubic_interpolation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_cubic_interpolation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_loop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "loop", + "type": "bool" + } + ] + }, + { + "name": "has_loop", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "float", + "name": "offset", + "setter": "set_offset", + "getter": "get_offset", + "index": -1 + }, + { + "type": "float", + "name": "unit_offset", + "setter": "set_unit_offset", + "getter": "get_unit_offset", + "index": -1 + }, + { + "type": "float", + "name": "h_offset", + "setter": "set_h_offset", + "getter": "get_h_offset", + "index": -1 + }, + { + "type": "float", + "name": "v_offset", + "setter": "set_v_offset", + "getter": "get_v_offset", + "index": -1 + }, + { + "type": "int", + "name": "rotation_mode", + "setter": "set_rotation_mode", + "getter": "get_rotation_mode", + "index": -1 + }, + { + "type": "bool", + "name": "cubic_interp", + "setter": "set_cubic_interpolation", + "getter": "get_cubic_interpolation", + "index": -1 + }, + { + "type": "bool", + "name": "loop", + "setter": "set_loop", + "getter": "has_loop", + "index": -1 + } + ] + }, + { + "name": "Performance", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "Monitor", + "values": [ + { + "name": "TIME_FPS", + "value": 0 + }, + { + "name": "TIME_PROCESS", + "value": 1 + }, + { + "name": "TIME_PHYSICS_PROCESS", + "value": 2 + }, + { + "name": "MEMORY_STATIC", + "value": 3 + }, + { + "name": "MEMORY_STATIC_MAX", + "value": 4 + }, + { + "name": "MEMORY_MESSAGE_BUFFER_MAX", + "value": 5 + }, + { + "name": "OBJECT_COUNT", + "value": 6 + }, + { + "name": "OBJECT_RESOURCE_COUNT", + "value": 7 + }, + { + "name": "OBJECT_NODE_COUNT", + "value": 8 + }, + { + "name": "OBJECT_ORPHAN_NODE_COUNT", + "value": 9 + }, + { + "name": "RENDER_TOTAL_OBJECTS_IN_FRAME", + "value": 10 + }, + { + "name": "RENDER_TOTAL_PRIMITIVES_IN_FRAME", + "value": 11 + }, + { + "name": "RENDER_TOTAL_DRAW_CALLS_IN_FRAME", + "value": 12 + }, + { + "name": "RENDER_VIDEO_MEM_USED", + "value": 13 + }, + { + "name": "RENDER_TEXTURE_MEM_USED", + "value": 14 + }, + { + "name": "RENDER_BUFFER_MEM_USED", + "value": 15 + }, + { + "name": "PHYSICS_2D_ACTIVE_OBJECTS", + "value": 16 + }, + { + "name": "PHYSICS_2D_COLLISION_PAIRS", + "value": 17 + }, + { + "name": "PHYSICS_2D_ISLAND_COUNT", + "value": 18 + }, + { + "name": "PHYSICS_3D_ACTIVE_OBJECTS", + "value": 19 + }, + { + "name": "PHYSICS_3D_COLLISION_PAIRS", + "value": 20 + }, + { + "name": "PHYSICS_3D_ISLAND_COUNT", + "value": 21 + }, + { + "name": "AUDIO_OUTPUT_LATENCY", + "value": 22 + }, + { + "name": "MONITOR_MAX", + "value": 23 + } + ] + } + ], + "methods": [ + { + "name": "get_monitor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "double" + }, + "arguments": [ + { + "name": "monitor", + "type": "enum::Performance.Monitor" + } + ] + }, + { + "name": "add_custom_monitor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "id", + "type": "StringName" + }, + { + "name": "callable", + "type": "Callable" + }, + { + "name": "arguments", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "remove_custom_monitor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "StringName" + } + ] + }, + { + "name": "has_custom_monitor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "StringName" + } + ] + }, + { + "name": "get_custom_monitor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "id", + "type": "StringName" + } + ] + }, + { + "name": "get_monitor_modification_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_custom_monitor_names", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + } + ] + }, + { + "name": "PhysicalBone2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "RigidBody2D", + "api_type": "core", + "methods": [ + { + "name": "get_joint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Joint2D" + } + }, + { + "name": "get_auto_configure_joint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_auto_configure_joint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "auto_configure_joint", + "type": "bool" + } + ] + }, + { + "name": "set_simulate_physics", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "simulate_physics", + "type": "bool" + } + ] + }, + { + "name": "get_simulate_physics", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_simulating_physics", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_bone2d_nodepath", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "nodepath", + "type": "NodePath" + } + ] + }, + { + "name": "get_bone2d_nodepath", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_bone2d_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bone_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bone2d_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_follow_bone_when_simulating", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "follow_bone", + "type": "bool" + } + ] + }, + { + "name": "get_follow_bone_when_simulating", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "NodePath", + "name": "bone2d_nodepath", + "setter": "set_bone2d_nodepath", + "getter": "get_bone2d_nodepath", + "index": -1 + }, + { + "type": "int", + "name": "bone2d_index", + "setter": "set_bone2d_index", + "getter": "get_bone2d_index", + "index": -1 + }, + { + "type": "bool", + "name": "auto_configure_joint", + "setter": "set_auto_configure_joint", + "getter": "get_auto_configure_joint", + "index": -1 + }, + { + "type": "bool", + "name": "simulate_physics", + "setter": "set_simulate_physics", + "getter": "get_simulate_physics", + "index": -1 + }, + { + "type": "bool", + "name": "follow_bone_when_simulating", + "setter": "set_follow_bone_when_simulating", + "getter": "get_follow_bone_when_simulating", + "index": -1 + } + ] + }, + { + "name": "PhysicalBone3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "PhysicsBody3D", + "api_type": "core", + "enums": [ + { + "name": "JointType", + "values": [ + { + "name": "JOINT_TYPE_NONE", + "value": 0 + }, + { + "name": "JOINT_TYPE_PIN", + "value": 1 + }, + { + "name": "JOINT_TYPE_CONE", + "value": 2 + }, + { + "name": "JOINT_TYPE_HINGE", + "value": 3 + }, + { + "name": "JOINT_TYPE_SLIDER", + "value": 4 + }, + { + "name": "JOINT_TYPE_6DOF", + "value": 5 + } + ] + } + ], + "methods": [ + { + "name": "apply_central_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "impulse", + "type": "Vector3" + } + ] + }, + { + "name": "apply_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "impulse", + "type": "Vector3" + }, + { + "name": "position", + "type": "Vector3", + "default_value": "Vector3(0, 0, 0)" + } + ] + }, + { + "name": "set_joint_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "joint_type", + "type": "enum::PhysicalBone3D.JointType" + } + ] + }, + { + "name": "get_joint_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::PhysicalBone3D.JointType" + } + }, + { + "name": "set_joint_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Transform3D" + } + ] + }, + { + "name": "get_joint_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "set_joint_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "euler", + "type": "Vector3" + } + ] + }, + { + "name": "get_joint_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_body_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Transform3D" + } + ] + }, + { + "name": "get_body_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "get_simulate_physics", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_simulating_physics", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_bone_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_mass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mass", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mass", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_friction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "friction", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_friction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_bounce", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bounce", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bounce", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_gravity_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gravity_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_gravity_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_linear_damp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "linear_damp", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_linear_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_angular_damp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angular_damp", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_angular_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_can_sleep", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "able_to_sleep", + "type": "bool" + } + ] + }, + { + "name": "is_able_to_sleep", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "joint_type", + "setter": "set_joint_type", + "getter": "get_joint_type", + "index": -1 + }, + { + "type": "Transform3D", + "name": "joint_offset", + "setter": "set_joint_offset", + "getter": "get_joint_offset", + "index": -1 + }, + { + "type": "Vector3", + "name": "joint_rotation", + "setter": "set_joint_rotation", + "getter": "get_joint_rotation", + "index": -1 + }, + { + "type": "Transform3D", + "name": "body_offset", + "setter": "set_body_offset", + "getter": "get_body_offset", + "index": -1 + }, + { + "type": "float", + "name": "mass", + "setter": "set_mass", + "getter": "get_mass", + "index": -1 + }, + { + "type": "float", + "name": "friction", + "setter": "set_friction", + "getter": "get_friction", + "index": -1 + }, + { + "type": "float", + "name": "bounce", + "setter": "set_bounce", + "getter": "get_bounce", + "index": -1 + }, + { + "type": "float", + "name": "gravity_scale", + "setter": "set_gravity_scale", + "getter": "get_gravity_scale", + "index": -1 + }, + { + "type": "float", + "name": "linear_damp", + "setter": "set_linear_damp", + "getter": "get_linear_damp", + "index": -1 + }, + { + "type": "float", + "name": "angular_damp", + "setter": "set_angular_damp", + "getter": "get_angular_damp", + "index": -1 + }, + { + "type": "bool", + "name": "can_sleep", + "setter": "set_can_sleep", + "getter": "is_able_to_sleep", + "index": -1 + } + ] + }, + { + "name": "PhysicalSkyMaterial", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Material", + "api_type": "core", + "methods": [ + { + "name": "set_rayleigh_coefficient", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rayleigh", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_rayleigh_coefficient", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_rayleigh_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_rayleigh_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_mie_coefficient", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mie", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mie_coefficient", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_mie_eccentricity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "eccentricity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mie_eccentricity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_mie_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_mie_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_turbidity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "turbidity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_turbidity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sun_disk_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sun_disk_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ground_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_ground_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_exposure", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "exposure", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_exposure", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_dither_strength", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "strength", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_dither_strength", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_night_sky", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "night_sky", + "type": "Texture2D" + } + ] + }, + { + "name": "get_night_sky", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + } + ], + "properties": [ + { + "type": "float", + "name": "rayleigh_coefficient", + "setter": "set_rayleigh_coefficient", + "getter": "get_rayleigh_coefficient", + "index": -1 + }, + { + "type": "Color", + "name": "rayleigh_color", + "setter": "set_rayleigh_color", + "getter": "get_rayleigh_color", + "index": -1 + }, + { + "type": "float", + "name": "mie_coefficient", + "setter": "set_mie_coefficient", + "getter": "get_mie_coefficient", + "index": -1 + }, + { + "type": "float", + "name": "mie_eccentricity", + "setter": "set_mie_eccentricity", + "getter": "get_mie_eccentricity", + "index": -1 + }, + { + "type": "Color", + "name": "mie_color", + "setter": "set_mie_color", + "getter": "get_mie_color", + "index": -1 + }, + { + "type": "float", + "name": "turbidity", + "setter": "set_turbidity", + "getter": "get_turbidity", + "index": -1 + }, + { + "type": "float", + "name": "sun_disk_scale", + "setter": "set_sun_disk_scale", + "getter": "get_sun_disk_scale", + "index": -1 + }, + { + "type": "Color", + "name": "ground_color", + "setter": "set_ground_color", + "getter": "get_ground_color", + "index": -1 + }, + { + "type": "float", + "name": "exposure", + "setter": "set_exposure", + "getter": "get_exposure", + "index": -1 + }, + { + "type": "float", + "name": "dither_strength", + "setter": "set_dither_strength", + "getter": "get_dither_strength", + "index": -1 + }, + { + "type": "Texture2D", + "name": "night_sky", + "setter": "set_night_sky", + "getter": "get_night_sky", + "index": -1 + } + ] + }, + { + "name": "PhysicsBody2D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "CollisionObject2D", + "api_type": "core", + "methods": [ + { + "name": "move_and_collide", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 937278449, + "return_value": { + "type": "KinematicCollision2D" + }, + "arguments": [ + { + "name": "rel_vec", + "type": "Vector2" + }, + { + "name": "infinite_inertia", + "type": "bool", + "default_value": "true" + }, + { + "name": "exclude_raycast_shapes", + "type": "bool", + "default_value": "true" + }, + { + "name": "test_only", + "type": "bool", + "default_value": "false" + }, + { + "name": "safe_margin", + "type": "float", + "meta": "float", + "default_value": "0.08" + } + ] + }, + { + "name": "test_move", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 604863634, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "from", + "type": "Transform2D" + }, + { + "name": "rel_vec", + "type": "Vector2" + }, + { + "name": "infinite_inertia", + "type": "bool", + "default_value": "true" + }, + { + "name": "exclude_raycast_shapes", + "type": "bool", + "default_value": "true" + }, + { + "name": "collision", + "type": "KinematicCollision2D", + "default_value": "null" + }, + { + "name": "safe_margin", + "type": "float", + "meta": "float", + "default_value": "0.08" + } + ] + }, + { + "name": "get_collision_exceptions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "add_collision_exception_with", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "remove_collision_exception_with", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + } + ] + }, + { + "name": "PhysicsBody3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "CollisionObject3D", + "api_type": "core", + "methods": [ + { + "name": "move_and_collide", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 937278449, + "return_value": { + "type": "KinematicCollision3D" + }, + "arguments": [ + { + "name": "rel_vec", + "type": "Vector3" + }, + { + "name": "infinite_inertia", + "type": "bool", + "default_value": "true" + }, + { + "name": "exclude_raycast_shapes", + "type": "bool", + "default_value": "true" + }, + { + "name": "test_only", + "type": "bool", + "default_value": "false" + }, + { + "name": "safe_margin", + "type": "float", + "meta": "float", + "default_value": "0.001" + } + ] + }, + { + "name": "test_move", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 604863634, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "from", + "type": "Transform3D" + }, + { + "name": "rel_vec", + "type": "Vector3" + }, + { + "name": "infinite_inertia", + "type": "bool", + "default_value": "true" + }, + { + "name": "exclude_raycast_shapes", + "type": "bool", + "default_value": "true" + }, + { + "name": "collision", + "type": "KinematicCollision3D", + "default_value": "null" + }, + { + "name": "safe_margin", + "type": "float", + "meta": "float", + "default_value": "0.001" + } + ] + }, + { + "name": "set_axis_lock", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "axis", + "type": "enum::PhysicsServer3D.BodyAxis" + }, + { + "name": "lock", + "type": "bool" + } + ] + }, + { + "name": "get_axis_lock", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "axis", + "type": "enum::PhysicsServer3D.BodyAxis" + } + ] + }, + { + "name": "get_collision_exceptions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "add_collision_exception_with", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "remove_collision_exception_with", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "axis_lock_linear_x", + "setter": "set_axis_lock", + "getter": "get_axis_lock", + "index": 1 + }, + { + "type": "bool", + "name": "axis_lock_linear_y", + "setter": "set_axis_lock", + "getter": "get_axis_lock", + "index": 2 + }, + { + "type": "bool", + "name": "axis_lock_linear_z", + "setter": "set_axis_lock", + "getter": "get_axis_lock", + "index": 4 + }, + { + "type": "bool", + "name": "axis_lock_angular_x", + "setter": "set_axis_lock", + "getter": "get_axis_lock", + "index": 8 + }, + { + "type": "bool", + "name": "axis_lock_angular_y", + "setter": "set_axis_lock", + "getter": "get_axis_lock", + "index": 16 + }, + { + "type": "bool", + "name": "axis_lock_angular_z", + "setter": "set_axis_lock", + "getter": "get_axis_lock", + "index": 32 + } + ] + }, + { + "name": "PhysicsDirectBodyState2D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "get_total_gravity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_total_linear_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_total_angular_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_inverse_mass", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_inverse_inertia", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_linear_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "velocity", + "type": "Vector2" + } + ] + }, + { + "name": "get_linear_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_angular_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "velocity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_angular_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "add_central_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "force", + "type": "Vector2" + } + ] + }, + { + "name": "add_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "force", + "type": "Vector2" + }, + { + "name": "position", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "add_torque", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "torque", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "apply_central_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "impulse", + "type": "Vector2" + } + ] + }, + { + "name": "apply_torque_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "impulse", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "apply_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "impulse", + "type": "Vector2" + }, + { + "name": "position", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "set_sleep_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_sleeping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_contact_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_contact_local_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_local_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_local_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider_object", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Object" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider_shape_metadata", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider_velocity_at_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_step", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "integrate_forces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_space_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PhysicsDirectSpaceState2D" + } + } + ], + "properties": [ + { + "type": "float", + "name": "step", + "setter": "", + "getter": "get_step", + "index": -1 + }, + { + "type": "float", + "name": "inverse_mass", + "setter": "", + "getter": "get_inverse_mass", + "index": -1 + }, + { + "type": "float", + "name": "inverse_inertia", + "setter": "", + "getter": "get_inverse_inertia", + "index": -1 + }, + { + "type": "float", + "name": "total_angular_damp", + "setter": "", + "getter": "get_total_angular_damp", + "index": -1 + }, + { + "type": "float", + "name": "total_linear_damp", + "setter": "", + "getter": "get_total_linear_damp", + "index": -1 + }, + { + "type": "Vector2", + "name": "total_gravity", + "setter": "", + "getter": "get_total_gravity", + "index": -1 + }, + { + "type": "float", + "name": "angular_velocity", + "setter": "set_angular_velocity", + "getter": "get_angular_velocity", + "index": -1 + }, + { + "type": "Vector2", + "name": "linear_velocity", + "setter": "set_linear_velocity", + "getter": "get_linear_velocity", + "index": -1 + }, + { + "type": "bool", + "name": "sleeping", + "setter": "set_sleep_state", + "getter": "is_sleeping", + "index": -1 + }, + { + "type": "Transform2D", + "name": "transform", + "setter": "set_transform", + "getter": "get_transform", + "index": -1 + } + ] + }, + { + "name": "PhysicsDirectBodyState2DSW", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "PhysicsDirectBodyState2D", + "api_type": "core" + }, + { + "name": "PhysicsDirectBodyState3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "get_total_gravity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_total_linear_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_total_angular_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_center_of_mass", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_principal_inertia_axes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Basis" + } + }, + { + "name": "get_inverse_mass", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_inverse_inertia", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_linear_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "velocity", + "type": "Vector3" + } + ] + }, + { + "name": "get_linear_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_angular_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "velocity", + "type": "Vector3" + } + ] + }, + { + "name": "get_angular_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "add_central_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1131268653, + "arguments": [ + { + "name": "force", + "type": "Vector3", + "default_value": "Vector3(0, 0, 0)" + } + ] + }, + { + "name": "add_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "force", + "type": "Vector3" + }, + { + "name": "position", + "type": "Vector3", + "default_value": "Vector3(0, 0, 0)" + } + ] + }, + { + "name": "add_torque", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "torque", + "type": "Vector3" + } + ] + }, + { + "name": "apply_central_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1131268653, + "arguments": [ + { + "name": "impulse", + "type": "Vector3", + "default_value": "Vector3(0, 0, 0)" + } + ] + }, + { + "name": "apply_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "impulse", + "type": "Vector3" + }, + { + "name": "position", + "type": "Vector3", + "default_value": "Vector3(0, 0, 0)" + } + ] + }, + { + "name": "apply_torque_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "impulse", + "type": "Vector3" + } + ] + }, + { + "name": "set_sleep_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_sleeping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_contact_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_contact_local_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_local_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_impulse", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_local_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider_object", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Object" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_contact_collider_velocity_at_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "contact_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_step", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "integrate_forces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_space_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PhysicsDirectSpaceState3D" + } + } + ], + "properties": [ + { + "type": "float", + "name": "step", + "setter": "", + "getter": "get_step", + "index": -1 + }, + { + "type": "float", + "name": "inverse_mass", + "setter": "", + "getter": "get_inverse_mass", + "index": -1 + }, + { + "type": "float", + "name": "total_angular_damp", + "setter": "", + "getter": "get_total_angular_damp", + "index": -1 + }, + { + "type": "float", + "name": "total_linear_damp", + "setter": "", + "getter": "get_total_linear_damp", + "index": -1 + }, + { + "type": "Vector3", + "name": "inverse_inertia", + "setter": "", + "getter": "get_inverse_inertia", + "index": -1 + }, + { + "type": "Vector3", + "name": "total_gravity", + "setter": "", + "getter": "get_total_gravity", + "index": -1 + }, + { + "type": "Vector3", + "name": "center_of_mass", + "setter": "", + "getter": "get_center_of_mass", + "index": -1 + }, + { + "type": "Basis", + "name": "principal_inertia_axes", + "setter": "", + "getter": "get_principal_inertia_axes", + "index": -1 + }, + { + "type": "Vector3", + "name": "angular_velocity", + "setter": "set_angular_velocity", + "getter": "get_angular_velocity", + "index": -1 + }, + { + "type": "Vector3", + "name": "linear_velocity", + "setter": "set_linear_velocity", + "getter": "get_linear_velocity", + "index": -1 + }, + { + "type": "bool", + "name": "sleeping", + "setter": "set_sleep_state", + "getter": "is_sleeping", + "index": -1 + }, + { + "type": "Transform3D", + "name": "transform", + "setter": "set_transform", + "getter": "get_transform", + "index": -1 + } + ] + }, + { + "name": "PhysicsDirectBodyState3DSW", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "PhysicsDirectBodyState3D", + "api_type": "core" + }, + { + "name": "PhysicsDirectSpaceState2D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "intersect_point", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1687145206, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "point", + "type": "Vector2" + }, + { + "name": "max_results", + "type": "int", + "meta": "int32", + "default_value": "32" + }, + { + "name": "exclude", + "type": "Array", + "default_value": "[]" + }, + { + "name": "collision_layer", + "type": "int", + "meta": "uint32", + "default_value": "2147483647" + }, + { + "name": "collide_with_bodies", + "type": "bool", + "default_value": "true" + }, + { + "name": "collide_with_areas", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "intersect_point_on_canvas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 84462390, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "point", + "type": "Vector2" + }, + { + "name": "canvas_instance_id", + "type": "int", + "meta": "uint64" + }, + { + "name": "max_results", + "type": "int", + "meta": "int32", + "default_value": "32" + }, + { + "name": "exclude", + "type": "Array", + "default_value": "[]" + }, + { + "name": "collision_layer", + "type": "int", + "meta": "uint32", + "default_value": "2147483647" + }, + { + "name": "collide_with_bodies", + "type": "bool", + "default_value": "true" + }, + { + "name": "collide_with_areas", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "intersect_ray", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 543815476, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "from", + "type": "Vector2" + }, + { + "name": "to", + "type": "Vector2" + }, + { + "name": "exclude", + "type": "Array", + "default_value": "[]" + }, + { + "name": "collision_layer", + "type": "int", + "meta": "uint32", + "default_value": "2147483647" + }, + { + "name": "collide_with_bodies", + "type": "bool", + "default_value": "true" + }, + { + "name": "collide_with_areas", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "intersect_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shape", + "type": "PhysicsShapeQueryParameters2D" + }, + { + "name": "max_results", + "type": "int", + "meta": "int32", + "default_value": "32" + } + ] + }, + { + "name": "cast_motion", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shape", + "type": "PhysicsShapeQueryParameters2D" + } + ] + }, + { + "name": "collide_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shape", + "type": "PhysicsShapeQueryParameters2D" + }, + { + "name": "max_results", + "type": "int", + "meta": "int32", + "default_value": "32" + } + ] + }, + { + "name": "get_rest_info", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "shape", + "type": "PhysicsShapeQueryParameters2D" + } + ] + } + ] + }, + { + "name": "PhysicsDirectSpaceState3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "intersect_ray", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 543815476, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "from", + "type": "Vector3" + }, + { + "name": "to", + "type": "Vector3" + }, + { + "name": "exclude", + "type": "Array", + "default_value": "[]" + }, + { + "name": "collision_mask", + "type": "int", + "meta": "uint32", + "default_value": "2147483647" + }, + { + "name": "collide_with_bodies", + "type": "bool", + "default_value": "true" + }, + { + "name": "collide_with_areas", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "intersect_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shape", + "type": "PhysicsShapeQueryParameters3D" + }, + { + "name": "max_results", + "type": "int", + "meta": "int32", + "default_value": "32" + } + ] + }, + { + "name": "cast_motion", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shape", + "type": "PhysicsShapeQueryParameters3D" + }, + { + "name": "motion", + "type": "Vector3" + } + ] + }, + { + "name": "collide_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shape", + "type": "PhysicsShapeQueryParameters3D" + }, + { + "name": "max_results", + "type": "int", + "meta": "int32", + "default_value": "32" + } + ] + }, + { + "name": "get_rest_info", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "shape", + "type": "PhysicsShapeQueryParameters3D" + } + ] + } + ] + }, + { + "name": "PhysicsMaterial", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_friction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "friction", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_friction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_rough", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rough", + "type": "bool" + } + ] + }, + { + "name": "is_rough", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_bounce", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bounce", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bounce", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_absorbent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "absorbent", + "type": "bool" + } + ] + }, + { + "name": "is_absorbent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "float", + "name": "friction", + "setter": "set_friction", + "getter": "get_friction", + "index": -1 + }, + { + "type": "bool", + "name": "rough", + "setter": "set_rough", + "getter": "is_rough", + "index": -1 + }, + { + "type": "float", + "name": "bounce", + "setter": "set_bounce", + "getter": "get_bounce", + "index": -1 + }, + { + "type": "bool", + "name": "absorbent", + "setter": "set_absorbent", + "getter": "is_absorbent", + "index": -1 + } + ] + }, + { + "name": "PhysicsServer2D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "ProcessInfo", + "values": [ + { + "name": "INFO_ACTIVE_OBJECTS", + "value": 0 + }, + { + "name": "INFO_COLLISION_PAIRS", + "value": 1 + }, + { + "name": "INFO_ISLAND_COUNT", + "value": 2 + } + ] + }, + { + "name": "AreaBodyStatus", + "values": [ + { + "name": "AREA_BODY_ADDED", + "value": 0 + }, + { + "name": "AREA_BODY_REMOVED", + "value": 1 + } + ] + }, + { + "name": "BodyMode", + "values": [ + { + "name": "BODY_MODE_STATIC", + "value": 0 + }, + { + "name": "BODY_MODE_KINEMATIC", + "value": 1 + }, + { + "name": "BODY_MODE_DYNAMIC", + "value": 2 + }, + { + "name": "BODY_MODE_DYNAMIC_LOCKED", + "value": 3 + } + ] + }, + { + "name": "ShapeType", + "values": [ + { + "name": "SHAPE_LINE", + "value": 0 + }, + { + "name": "SHAPE_RAY", + "value": 1 + }, + { + "name": "SHAPE_SEGMENT", + "value": 2 + }, + { + "name": "SHAPE_CIRCLE", + "value": 3 + }, + { + "name": "SHAPE_RECTANGLE", + "value": 4 + }, + { + "name": "SHAPE_CAPSULE", + "value": 5 + }, + { + "name": "SHAPE_CONVEX_POLYGON", + "value": 6 + }, + { + "name": "SHAPE_CONCAVE_POLYGON", + "value": 7 + }, + { + "name": "SHAPE_CUSTOM", + "value": 8 + } + ] + }, + { + "name": "JointParam", + "values": [ + { + "name": "JOINT_PARAM_BIAS", + "value": 0 + }, + { + "name": "JOINT_PARAM_MAX_BIAS", + "value": 1 + }, + { + "name": "JOINT_PARAM_MAX_FORCE", + "value": 2 + } + ] + }, + { + "name": "SpaceParameter", + "values": [ + { + "name": "SPACE_PARAM_CONTACT_RECYCLE_RADIUS", + "value": 0 + }, + { + "name": "SPACE_PARAM_CONTACT_MAX_SEPARATION", + "value": 1 + }, + { + "name": "SPACE_PARAM_BODY_MAX_ALLOWED_PENETRATION", + "value": 2 + }, + { + "name": "SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD", + "value": 3 + }, + { + "name": "SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD", + "value": 4 + }, + { + "name": "SPACE_PARAM_BODY_TIME_TO_SLEEP", + "value": 5 + }, + { + "name": "SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS", + "value": 6 + }, + { + "name": "SPACE_PARAM_TEST_MOTION_MIN_CONTACT_DEPTH", + "value": 7 + } + ] + }, + { + "name": "JointType", + "values": [ + { + "name": "JOINT_TYPE_PIN", + "value": 0 + }, + { + "name": "JOINT_TYPE_GROOVE", + "value": 1 + }, + { + "name": "JOINT_TYPE_DAMPED_SPRING", + "value": 2 + }, + { + "name": "JOINT_TYPE_MAX", + "value": 3 + } + ] + }, + { + "name": "CCDMode", + "values": [ + { + "name": "CCD_MODE_DISABLED", + "value": 0 + }, + { + "name": "CCD_MODE_CAST_RAY", + "value": 1 + }, + { + "name": "CCD_MODE_CAST_SHAPE", + "value": 2 + } + ] + }, + { + "name": "DampedSpringParam", + "values": [ + { + "name": "DAMPED_SPRING_REST_LENGTH", + "value": 0 + }, + { + "name": "DAMPED_SPRING_STIFFNESS", + "value": 1 + }, + { + "name": "DAMPED_SPRING_DAMPING", + "value": 2 + } + ] + }, + { + "name": "BodyState", + "values": [ + { + "name": "BODY_STATE_TRANSFORM", + "value": 0 + }, + { + "name": "BODY_STATE_LINEAR_VELOCITY", + "value": 1 + }, + { + "name": "BODY_STATE_ANGULAR_VELOCITY", + "value": 2 + }, + { + "name": "BODY_STATE_SLEEPING", + "value": 3 + }, + { + "name": "BODY_STATE_CAN_SLEEP", + "value": 4 + } + ] + }, + { + "name": "BodyParameter", + "values": [ + { + "name": "BODY_PARAM_BOUNCE", + "value": 0 + }, + { + "name": "BODY_PARAM_FRICTION", + "value": 1 + }, + { + "name": "BODY_PARAM_MASS", + "value": 2 + }, + { + "name": "BODY_PARAM_INERTIA", + "value": 3 + }, + { + "name": "BODY_PARAM_GRAVITY_SCALE", + "value": 4 + }, + { + "name": "BODY_PARAM_LINEAR_DAMP", + "value": 5 + }, + { + "name": "BODY_PARAM_ANGULAR_DAMP", + "value": 6 + }, + { + "name": "BODY_PARAM_MAX", + "value": 7 + } + ] + }, + { + "name": "AreaSpaceOverrideMode", + "values": [ + { + "name": "AREA_SPACE_OVERRIDE_DISABLED", + "value": 0 + }, + { + "name": "AREA_SPACE_OVERRIDE_COMBINE", + "value": 1 + }, + { + "name": "AREA_SPACE_OVERRIDE_COMBINE_REPLACE", + "value": 2 + }, + { + "name": "AREA_SPACE_OVERRIDE_REPLACE", + "value": 3 + }, + { + "name": "AREA_SPACE_OVERRIDE_REPLACE_COMBINE", + "value": 4 + } + ] + }, + { + "name": "AreaParameter", + "values": [ + { + "name": "AREA_PARAM_GRAVITY", + "value": 0 + }, + { + "name": "AREA_PARAM_GRAVITY_VECTOR", + "value": 1 + }, + { + "name": "AREA_PARAM_GRAVITY_IS_POINT", + "value": 2 + }, + { + "name": "AREA_PARAM_GRAVITY_DISTANCE_SCALE", + "value": 3 + }, + { + "name": "AREA_PARAM_GRAVITY_POINT_ATTENUATION", + "value": 4 + }, + { + "name": "AREA_PARAM_LINEAR_DAMP", + "value": 5 + }, + { + "name": "AREA_PARAM_ANGULAR_DAMP", + "value": 6 + }, + { + "name": "AREA_PARAM_PRIORITY", + "value": 7 + } + ] + } + ], + "methods": [ + { + "name": "line_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "ray_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "segment_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "circle_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "rectangle_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "capsule_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "convex_polygon_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "concave_polygon_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "shape_set_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "shape", + "type": "RID" + }, + { + "name": "data", + "type": "Variant" + } + ] + }, + { + "name": "shape_get_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::PhysicsServer2D.ShapeType" + }, + "arguments": [ + { + "name": "shape", + "type": "RID" + } + ] + }, + { + "name": "shape_get_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "shape", + "type": "RID" + } + ] + }, + { + "name": "space_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "space_set_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "space", + "type": "RID" + }, + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "space_is_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "space", + "type": "RID" + } + ] + }, + { + "name": "space_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "space", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer2D.SpaceParameter" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "space_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "space", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer2D.SpaceParameter" + } + ] + }, + { + "name": "space_get_direct_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PhysicsDirectSpaceState2D" + }, + "arguments": [ + { + "name": "space", + "type": "RID" + } + ] + }, + { + "name": "area_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "area_set_space", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "space", + "type": "RID" + } + ] + }, + { + "name": "area_get_space", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_set_space_override_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::PhysicsServer2D.AreaSpaceOverrideMode" + } + ] + }, + { + "name": "area_get_space_override_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::PhysicsServer2D.AreaSpaceOverrideMode" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_add_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D", + "default_value": "Transform2D(1, 0, 0, 1, 0, 0)" + }, + { + "name": "disabled", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "area_set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "shape", + "type": "RID" + } + ] + }, + { + "name": "area_set_shape_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "area_set_shape_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "area_get_shape_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "area_get_shape_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Transform2D" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "area_remove_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "area_clear_shapes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_set_collision_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "layer", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "area_set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "area_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer2D.AreaParameter" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "area_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "area_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer2D.AreaParameter" + } + ] + }, + { + "name": "area_get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform2D" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_attach_object_instance_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "id", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "area_get_object_instance_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_attach_canvas_instance_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "id", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "area_get_canvas_instance_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_set_monitor_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "receiver", + "type": "Object" + }, + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "area_set_area_monitor_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "receiver", + "type": "Object" + }, + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "area_set_monitorable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "monitorable", + "type": "bool" + } + ] + }, + { + "name": "body_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "body_set_space", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "space", + "type": "RID" + } + ] + }, + { + "name": "body_get_space", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::PhysicsServer2D.BodyMode" + } + ] + }, + { + "name": "body_get_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::PhysicsServer2D.BodyMode" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_add_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D", + "default_value": "Transform2D(1, 0, 0, 1, 0, 0)" + }, + { + "name": "disabled", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "body_set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "shape", + "type": "RID" + } + ] + }, + { + "name": "body_set_shape_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "body_set_shape_metadata", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "metadata", + "type": "Variant" + } + ] + }, + { + "name": "body_get_shape_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "body_get_shape_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Transform2D" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "body_get_shape_metadata", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "body_remove_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "body_clear_shapes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_shape_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "body_set_shape_as_one_way_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "body_attach_object_instance_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "id", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "body_get_object_instance_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_attach_canvas_instance_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "id", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "body_get_canvas_instance_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_continuous_collision_detection_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::PhysicsServer2D.CCDMode" + } + ] + }, + { + "name": "body_get_continuous_collision_detection_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::PhysicsServer2D.CCDMode" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_collision_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "layer", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "body_get_collision_layer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "body_get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer2D.BodyParameter" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "body_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer2D.BodyParameter" + } + ] + }, + { + "name": "body_set_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "state", + "type": "enum::PhysicsServer2D.BodyState" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "body_get_state", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "state", + "type": "enum::PhysicsServer2D.BodyState" + } + ] + }, + { + "name": "body_apply_central_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "impulse", + "type": "Vector2" + } + ] + }, + { + "name": "body_apply_torque_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "impulse", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "body_apply_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "impulse", + "type": "Vector2" + }, + { + "name": "position", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "body_add_central_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "force", + "type": "Vector2" + } + ] + }, + { + "name": "body_add_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "force", + "type": "Vector2" + }, + { + "name": "position", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "body_add_torque", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "torque", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "body_set_axis_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "axis_velocity", + "type": "Vector2" + } + ] + }, + { + "name": "body_add_collision_exception", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "excepted_body", + "type": "RID" + } + ] + }, + { + "name": "body_remove_collision_exception", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "excepted_body", + "type": "RID" + } + ] + }, + { + "name": "body_set_max_contacts_reported", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "body_get_max_contacts_reported", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_omit_force_integration", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "body_is_omitting_force_integration", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_force_integration_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "callable", + "type": "Callable" + }, + { + "name": "userdata", + "type": "Variant", + "default_value": "null" + } + ] + }, + { + "name": "body_test_motion", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 4237333938, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "from", + "type": "Transform2D" + }, + { + "name": "motion", + "type": "Vector2" + }, + { + "name": "infinite_inertia", + "type": "bool" + }, + { + "name": "margin", + "type": "float", + "meta": "float", + "default_value": "0.08" + }, + { + "name": "result", + "type": "PhysicsTestMotionResult2D", + "default_value": "null" + }, + { + "name": "exclude_raycast_shapes", + "type": "bool", + "default_value": "true" + }, + { + "name": "exclude", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "body_get_direct_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PhysicsDirectBodyState2D" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "joint_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "joint_clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "joint", + "type": "RID" + } + ] + }, + { + "name": "joint_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer2D.JointParam" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "joint_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer2D.JointParam" + } + ] + }, + { + "name": "joint_make_pin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "anchor", + "type": "Vector2" + }, + { + "name": "body_a", + "type": "RID" + }, + { + "name": "body_b", + "type": "RID", + "default_value": "" + } + ] + }, + { + "name": "joint_make_groove", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 300073517, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "groove1_a", + "type": "Vector2" + }, + { + "name": "groove2_a", + "type": "Vector2" + }, + { + "name": "anchor_b", + "type": "Vector2" + }, + { + "name": "body_a", + "type": "RID", + "default_value": "" + }, + { + "name": "body_b", + "type": "RID", + "default_value": "" + } + ] + }, + { + "name": "joint_make_damped_spring", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 138021803, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "anchor_a", + "type": "Vector2" + }, + { + "name": "anchor_b", + "type": "Vector2" + }, + { + "name": "body_a", + "type": "RID" + }, + { + "name": "body_b", + "type": "RID", + "default_value": "" + } + ] + }, + { + "name": "damped_spring_joint_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer2D.DampedSpringParam" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "damped_spring_joint_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer2D.DampedSpringParam" + } + ] + }, + { + "name": "joint_get_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::PhysicsServer2D.JointType" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + } + ] + }, + { + "name": "free_rid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "set_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "set_collision_iterations", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "iterations", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_process_info", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "process_info", + "type": "enum::PhysicsServer2D.ProcessInfo" + } + ] + } + ] + }, + { + "name": "PhysicsServer2DSW", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "PhysicsServer2D", + "api_type": "core" + }, + { + "name": "PhysicsServer3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "BodyAxis", + "values": [ + { + "name": "BODY_AXIS_LINEAR_X", + "value": 1 + }, + { + "name": "BODY_AXIS_LINEAR_Y", + "value": 2 + }, + { + "name": "BODY_AXIS_LINEAR_Z", + "value": 4 + }, + { + "name": "BODY_AXIS_ANGULAR_X", + "value": 8 + }, + { + "name": "BODY_AXIS_ANGULAR_Y", + "value": 16 + }, + { + "name": "BODY_AXIS_ANGULAR_Z", + "value": 32 + } + ] + }, + { + "name": "ProcessInfo", + "values": [ + { + "name": "INFO_ACTIVE_OBJECTS", + "value": 0 + }, + { + "name": "INFO_COLLISION_PAIRS", + "value": 1 + }, + { + "name": "INFO_ISLAND_COUNT", + "value": 2 + } + ] + }, + { + "name": "AreaBodyStatus", + "values": [ + { + "name": "AREA_BODY_ADDED", + "value": 0 + }, + { + "name": "AREA_BODY_REMOVED", + "value": 1 + } + ] + }, + { + "name": "BodyMode", + "values": [ + { + "name": "BODY_MODE_STATIC", + "value": 0 + }, + { + "name": "BODY_MODE_KINEMATIC", + "value": 1 + }, + { + "name": "BODY_MODE_DYNAMIC", + "value": 2 + }, + { + "name": "BODY_MODE_DYNAMIC_LOCKED", + "value": 3 + } + ] + }, + { + "name": "ShapeType", + "values": [ + { + "name": "SHAPE_PLANE", + "value": 0 + }, + { + "name": "SHAPE_RAY", + "value": 1 + }, + { + "name": "SHAPE_SPHERE", + "value": 2 + }, + { + "name": "SHAPE_BOX", + "value": 3 + }, + { + "name": "SHAPE_CAPSULE", + "value": 4 + }, + { + "name": "SHAPE_CYLINDER", + "value": 5 + }, + { + "name": "SHAPE_CONVEX_POLYGON", + "value": 6 + }, + { + "name": "SHAPE_CONCAVE_POLYGON", + "value": 7 + }, + { + "name": "SHAPE_HEIGHTMAP", + "value": 8 + }, + { + "name": "SHAPE_SOFT_BODY", + "value": 9 + }, + { + "name": "SHAPE_CUSTOM", + "value": 10 + } + ] + }, + { + "name": "PinJointParam", + "values": [ + { + "name": "PIN_JOINT_BIAS", + "value": 0 + }, + { + "name": "PIN_JOINT_DAMPING", + "value": 1 + }, + { + "name": "PIN_JOINT_IMPULSE_CLAMP", + "value": 2 + } + ] + }, + { + "name": "SpaceParameter", + "values": [ + { + "name": "SPACE_PARAM_CONTACT_RECYCLE_RADIUS", + "value": 0 + }, + { + "name": "SPACE_PARAM_CONTACT_MAX_SEPARATION", + "value": 1 + }, + { + "name": "SPACE_PARAM_BODY_MAX_ALLOWED_PENETRATION", + "value": 2 + }, + { + "name": "SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD", + "value": 3 + }, + { + "name": "SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD", + "value": 4 + }, + { + "name": "SPACE_PARAM_BODY_TIME_TO_SLEEP", + "value": 5 + }, + { + "name": "SPACE_PARAM_BODY_ANGULAR_VELOCITY_DAMP_RATIO", + "value": 6 + }, + { + "name": "SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS", + "value": 7 + }, + { + "name": "SPACE_PARAM_TEST_MOTION_MIN_CONTACT_DEPTH", + "value": 8 + } + ] + }, + { + "name": "ConeTwistJointParam", + "values": [ + { + "name": "CONE_TWIST_JOINT_SWING_SPAN", + "value": 0 + }, + { + "name": "CONE_TWIST_JOINT_TWIST_SPAN", + "value": 1 + }, + { + "name": "CONE_TWIST_JOINT_BIAS", + "value": 2 + }, + { + "name": "CONE_TWIST_JOINT_SOFTNESS", + "value": 3 + }, + { + "name": "CONE_TWIST_JOINT_RELAXATION", + "value": 4 + } + ] + }, + { + "name": "JointType", + "values": [ + { + "name": "JOINT_TYPE_PIN", + "value": 0 + }, + { + "name": "JOINT_TYPE_HINGE", + "value": 1 + }, + { + "name": "JOINT_TYPE_SLIDER", + "value": 2 + }, + { + "name": "JOINT_TYPE_CONE_TWIST", + "value": 3 + }, + { + "name": "JOINT_TYPE_6DOF", + "value": 4 + }, + { + "name": "JOINT_TYPE_MAX", + "value": 5 + } + ] + }, + { + "name": "BodyState", + "values": [ + { + "name": "BODY_STATE_TRANSFORM", + "value": 0 + }, + { + "name": "BODY_STATE_LINEAR_VELOCITY", + "value": 1 + }, + { + "name": "BODY_STATE_ANGULAR_VELOCITY", + "value": 2 + }, + { + "name": "BODY_STATE_SLEEPING", + "value": 3 + }, + { + "name": "BODY_STATE_CAN_SLEEP", + "value": 4 + } + ] + }, + { + "name": "BodyParameter", + "values": [ + { + "name": "BODY_PARAM_BOUNCE", + "value": 0 + }, + { + "name": "BODY_PARAM_FRICTION", + "value": 1 + }, + { + "name": "BODY_PARAM_MASS", + "value": 2 + }, + { + "name": "BODY_PARAM_GRAVITY_SCALE", + "value": 3 + }, + { + "name": "BODY_PARAM_LINEAR_DAMP", + "value": 4 + }, + { + "name": "BODY_PARAM_ANGULAR_DAMP", + "value": 5 + }, + { + "name": "BODY_PARAM_MAX", + "value": 6 + } + ] + }, + { + "name": "G6DOFJointAxisParam", + "values": [ + { + "name": "G6DOF_JOINT_LINEAR_LOWER_LIMIT", + "value": 0 + }, + { + "name": "G6DOF_JOINT_LINEAR_UPPER_LIMIT", + "value": 1 + }, + { + "name": "G6DOF_JOINT_LINEAR_LIMIT_SOFTNESS", + "value": 2 + }, + { + "name": "G6DOF_JOINT_LINEAR_RESTITUTION", + "value": 3 + }, + { + "name": "G6DOF_JOINT_LINEAR_DAMPING", + "value": 4 + }, + { + "name": "G6DOF_JOINT_LINEAR_MOTOR_TARGET_VELOCITY", + "value": 5 + }, + { + "name": "G6DOF_JOINT_LINEAR_MOTOR_FORCE_LIMIT", + "value": 6 + }, + { + "name": "G6DOF_JOINT_ANGULAR_LOWER_LIMIT", + "value": 10 + }, + { + "name": "G6DOF_JOINT_ANGULAR_UPPER_LIMIT", + "value": 11 + }, + { + "name": "G6DOF_JOINT_ANGULAR_LIMIT_SOFTNESS", + "value": 12 + }, + { + "name": "G6DOF_JOINT_ANGULAR_DAMPING", + "value": 13 + }, + { + "name": "G6DOF_JOINT_ANGULAR_RESTITUTION", + "value": 14 + }, + { + "name": "G6DOF_JOINT_ANGULAR_FORCE_LIMIT", + "value": 15 + }, + { + "name": "G6DOF_JOINT_ANGULAR_ERP", + "value": 16 + }, + { + "name": "G6DOF_JOINT_ANGULAR_MOTOR_TARGET_VELOCITY", + "value": 17 + }, + { + "name": "G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT", + "value": 18 + } + ] + }, + { + "name": "SliderJointParam", + "values": [ + { + "name": "SLIDER_JOINT_LINEAR_LIMIT_UPPER", + "value": 0 + }, + { + "name": "SLIDER_JOINT_LINEAR_LIMIT_LOWER", + "value": 1 + }, + { + "name": "SLIDER_JOINT_LINEAR_LIMIT_SOFTNESS", + "value": 2 + }, + { + "name": "SLIDER_JOINT_LINEAR_LIMIT_RESTITUTION", + "value": 3 + }, + { + "name": "SLIDER_JOINT_LINEAR_LIMIT_DAMPING", + "value": 4 + }, + { + "name": "SLIDER_JOINT_LINEAR_MOTION_SOFTNESS", + "value": 5 + }, + { + "name": "SLIDER_JOINT_LINEAR_MOTION_RESTITUTION", + "value": 6 + }, + { + "name": "SLIDER_JOINT_LINEAR_MOTION_DAMPING", + "value": 7 + }, + { + "name": "SLIDER_JOINT_LINEAR_ORTHOGONAL_SOFTNESS", + "value": 8 + }, + { + "name": "SLIDER_JOINT_LINEAR_ORTHOGONAL_RESTITUTION", + "value": 9 + }, + { + "name": "SLIDER_JOINT_LINEAR_ORTHOGONAL_DAMPING", + "value": 10 + }, + { + "name": "SLIDER_JOINT_ANGULAR_LIMIT_UPPER", + "value": 11 + }, + { + "name": "SLIDER_JOINT_ANGULAR_LIMIT_LOWER", + "value": 12 + }, + { + "name": "SLIDER_JOINT_ANGULAR_LIMIT_SOFTNESS", + "value": 13 + }, + { + "name": "SLIDER_JOINT_ANGULAR_LIMIT_RESTITUTION", + "value": 14 + }, + { + "name": "SLIDER_JOINT_ANGULAR_LIMIT_DAMPING", + "value": 15 + }, + { + "name": "SLIDER_JOINT_ANGULAR_MOTION_SOFTNESS", + "value": 16 + }, + { + "name": "SLIDER_JOINT_ANGULAR_MOTION_RESTITUTION", + "value": 17 + }, + { + "name": "SLIDER_JOINT_ANGULAR_MOTION_DAMPING", + "value": 18 + }, + { + "name": "SLIDER_JOINT_ANGULAR_ORTHOGONAL_SOFTNESS", + "value": 19 + }, + { + "name": "SLIDER_JOINT_ANGULAR_ORTHOGONAL_RESTITUTION", + "value": 20 + }, + { + "name": "SLIDER_JOINT_ANGULAR_ORTHOGONAL_DAMPING", + "value": 21 + }, + { + "name": "SLIDER_JOINT_MAX", + "value": 22 + } + ] + }, + { + "name": "HingeJointParam", + "values": [ + { + "name": "HINGE_JOINT_BIAS", + "value": 0 + }, + { + "name": "HINGE_JOINT_LIMIT_UPPER", + "value": 1 + }, + { + "name": "HINGE_JOINT_LIMIT_LOWER", + "value": 2 + }, + { + "name": "HINGE_JOINT_LIMIT_BIAS", + "value": 3 + }, + { + "name": "HINGE_JOINT_LIMIT_SOFTNESS", + "value": 4 + }, + { + "name": "HINGE_JOINT_LIMIT_RELAXATION", + "value": 5 + }, + { + "name": "HINGE_JOINT_MOTOR_TARGET_VELOCITY", + "value": 6 + }, + { + "name": "HINGE_JOINT_MOTOR_MAX_IMPULSE", + "value": 7 + } + ] + }, + { + "name": "G6DOFJointAxisFlag", + "values": [ + { + "name": "G6DOF_JOINT_FLAG_ENABLE_LINEAR_LIMIT", + "value": 0 + }, + { + "name": "G6DOF_JOINT_FLAG_ENABLE_ANGULAR_LIMIT", + "value": 1 + }, + { + "name": "G6DOF_JOINT_FLAG_ENABLE_MOTOR", + "value": 4 + }, + { + "name": "G6DOF_JOINT_FLAG_ENABLE_LINEAR_MOTOR", + "value": 5 + } + ] + }, + { + "name": "HingeJointFlag", + "values": [ + { + "name": "HINGE_JOINT_FLAG_USE_LIMIT", + "value": 0 + }, + { + "name": "HINGE_JOINT_FLAG_ENABLE_MOTOR", + "value": 1 + } + ] + }, + { + "name": "AreaSpaceOverrideMode", + "values": [ + { + "name": "AREA_SPACE_OVERRIDE_DISABLED", + "value": 0 + }, + { + "name": "AREA_SPACE_OVERRIDE_COMBINE", + "value": 1 + }, + { + "name": "AREA_SPACE_OVERRIDE_COMBINE_REPLACE", + "value": 2 + }, + { + "name": "AREA_SPACE_OVERRIDE_REPLACE", + "value": 3 + }, + { + "name": "AREA_SPACE_OVERRIDE_REPLACE_COMBINE", + "value": 4 + } + ] + }, + { + "name": "AreaParameter", + "values": [ + { + "name": "AREA_PARAM_GRAVITY", + "value": 0 + }, + { + "name": "AREA_PARAM_GRAVITY_VECTOR", + "value": 1 + }, + { + "name": "AREA_PARAM_GRAVITY_IS_POINT", + "value": 2 + }, + { + "name": "AREA_PARAM_GRAVITY_DISTANCE_SCALE", + "value": 3 + }, + { + "name": "AREA_PARAM_GRAVITY_POINT_ATTENUATION", + "value": 4 + }, + { + "name": "AREA_PARAM_LINEAR_DAMP", + "value": 5 + }, + { + "name": "AREA_PARAM_ANGULAR_DAMP", + "value": 6 + }, + { + "name": "AREA_PARAM_PRIORITY", + "value": 7 + } + ] + } + ], + "methods": [ + { + "name": "plane_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "ray_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "sphere_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "box_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "capsule_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "cylinder_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "convex_polygon_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "concave_polygon_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "heightmap_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "custom_shape_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "shape_set_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "shape", + "type": "RID" + }, + { + "name": "data", + "type": "Variant" + } + ] + }, + { + "name": "shape_get_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::PhysicsServer3D.ShapeType" + }, + "arguments": [ + { + "name": "shape", + "type": "RID" + } + ] + }, + { + "name": "shape_get_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "shape", + "type": "RID" + } + ] + }, + { + "name": "space_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "space_set_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "space", + "type": "RID" + }, + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "space_is_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "space", + "type": "RID" + } + ] + }, + { + "name": "space_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "space", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.SpaceParameter" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "space_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "space", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.SpaceParameter" + } + ] + }, + { + "name": "space_get_direct_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PhysicsDirectSpaceState3D" + }, + "arguments": [ + { + "name": "space", + "type": "RID" + } + ] + }, + { + "name": "area_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "area_set_space", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "space", + "type": "RID" + } + ] + }, + { + "name": "area_get_space", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_set_space_override_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::PhysicsServer3D.AreaSpaceOverrideMode" + } + ] + }, + { + "name": "area_get_space_override_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::PhysicsServer3D.AreaSpaceOverrideMode" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_add_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform3D", + "default_value": "Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)" + }, + { + "name": "disabled", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "area_set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "shape", + "type": "RID" + } + ] + }, + { + "name": "area_set_shape_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "area_set_shape_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "area_get_shape_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "area_get_shape_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "area_remove_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "area_clear_shapes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_set_collision_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "layer", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "area_set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "area_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.AreaParameter" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "area_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "area_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.AreaParameter" + } + ] + }, + { + "name": "area_get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_attach_object_instance_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "id", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "area_get_object_instance_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "area", + "type": "RID" + } + ] + }, + { + "name": "area_set_monitor_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "receiver", + "type": "Object" + }, + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "area_set_area_monitor_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "receiver", + "type": "Object" + }, + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "area_set_monitorable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "monitorable", + "type": "bool" + } + ] + }, + { + "name": "area_set_ray_pickable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "area", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "body_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "body_set_space", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "space", + "type": "RID" + } + ] + }, + { + "name": "body_get_space", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::PhysicsServer3D.BodyMode" + } + ] + }, + { + "name": "body_get_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::PhysicsServer3D.BodyMode" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_collision_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "layer", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "body_get_collision_layer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "body_get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_add_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform3D", + "default_value": "Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)" + }, + { + "name": "disabled", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "body_set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "shape", + "type": "RID" + } + ] + }, + { + "name": "body_set_shape_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "body_set_shape_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "body_get_shape_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "body_get_shape_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "body_remove_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shape_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "body_clear_shapes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_attach_object_instance_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "id", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "body_get_object_instance_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_enable_continuous_collision_detection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "body_is_continuous_collision_detection_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.BodyParameter" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "body_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.BodyParameter" + } + ] + }, + { + "name": "body_set_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "state", + "type": "enum::PhysicsServer3D.BodyState" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "body_get_state", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "state", + "type": "enum::PhysicsServer3D.BodyState" + } + ] + }, + { + "name": "body_add_central_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "force", + "type": "Vector3" + } + ] + }, + { + "name": "body_add_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "force", + "type": "Vector3" + }, + { + "name": "position", + "type": "Vector3", + "default_value": "Vector3(0, 0, 0)" + } + ] + }, + { + "name": "body_add_torque", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "torque", + "type": "Vector3" + } + ] + }, + { + "name": "body_apply_central_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "impulse", + "type": "Vector3" + } + ] + }, + { + "name": "body_apply_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "impulse", + "type": "Vector3" + }, + { + "name": "position", + "type": "Vector3", + "default_value": "Vector3(0, 0, 0)" + } + ] + }, + { + "name": "body_apply_torque_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "impulse", + "type": "Vector3" + } + ] + }, + { + "name": "body_set_axis_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "axis_velocity", + "type": "Vector3" + } + ] + }, + { + "name": "body_set_axis_lock", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "axis", + "type": "enum::PhysicsServer3D.BodyAxis" + }, + { + "name": "lock", + "type": "bool" + } + ] + }, + { + "name": "body_is_axis_locked", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "axis", + "type": "enum::PhysicsServer3D.BodyAxis" + } + ] + }, + { + "name": "body_add_collision_exception", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "excepted_body", + "type": "RID" + } + ] + }, + { + "name": "body_remove_collision_exception", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "excepted_body", + "type": "RID" + } + ] + }, + { + "name": "body_set_max_contacts_reported", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "body_get_max_contacts_reported", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_omit_force_integration", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "body_is_omitting_force_integration", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "body_set_force_integration_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "callable", + "type": "Callable" + }, + { + "name": "userdata", + "type": "Variant", + "default_value": "null" + } + ] + }, + { + "name": "body_set_ray_pickable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "body_test_motion", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1591541486, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "from", + "type": "Transform3D" + }, + { + "name": "motion", + "type": "Vector3" + }, + { + "name": "infinite_inertia", + "type": "bool" + }, + { + "name": "margin", + "type": "float", + "meta": "float", + "default_value": "0.001" + }, + { + "name": "result", + "type": "PhysicsTestMotionResult3D", + "default_value": "null" + } + ] + }, + { + "name": "body_get_direct_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PhysicsDirectBodyState3D" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "soft_body_get_bounds", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "AABB" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "joint_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "joint_clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "joint", + "type": "RID" + } + ] + }, + { + "name": "joint_make_pin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "body_A", + "type": "RID" + }, + { + "name": "local_A", + "type": "Vector3" + }, + { + "name": "body_B", + "type": "RID" + }, + { + "name": "local_B", + "type": "Vector3" + } + ] + }, + { + "name": "pin_joint_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.PinJointParam" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "pin_joint_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.PinJointParam" + } + ] + }, + { + "name": "pin_joint_set_local_a", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "local_A", + "type": "Vector3" + } + ] + }, + { + "name": "pin_joint_get_local_a", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + } + ] + }, + { + "name": "pin_joint_set_local_b", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "local_B", + "type": "Vector3" + } + ] + }, + { + "name": "pin_joint_get_local_b", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + } + ] + }, + { + "name": "joint_make_hinge", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "body_A", + "type": "RID" + }, + { + "name": "hinge_A", + "type": "Transform3D" + }, + { + "name": "body_B", + "type": "RID" + }, + { + "name": "hinge_B", + "type": "Transform3D" + } + ] + }, + { + "name": "hinge_joint_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.HingeJointParam" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "hinge_joint_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.HingeJointParam" + } + ] + }, + { + "name": "hinge_joint_set_flag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "flag", + "type": "enum::PhysicsServer3D.HingeJointFlag" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "hinge_joint_get_flag", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "flag", + "type": "enum::PhysicsServer3D.HingeJointFlag" + } + ] + }, + { + "name": "joint_make_slider", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "body_A", + "type": "RID" + }, + { + "name": "local_ref_A", + "type": "Transform3D" + }, + { + "name": "body_B", + "type": "RID" + }, + { + "name": "local_ref_B", + "type": "Transform3D" + } + ] + }, + { + "name": "slider_joint_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.SliderJointParam" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "slider_joint_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.SliderJointParam" + } + ] + }, + { + "name": "joint_make_cone_twist", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "body_A", + "type": "RID" + }, + { + "name": "local_ref_A", + "type": "Transform3D" + }, + { + "name": "body_B", + "type": "RID" + }, + { + "name": "local_ref_B", + "type": "Transform3D" + } + ] + }, + { + "name": "cone_twist_joint_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.ConeTwistJointParam" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "cone_twist_joint_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.ConeTwistJointParam" + } + ] + }, + { + "name": "joint_get_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::PhysicsServer3D.JointType" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + } + ] + }, + { + "name": "joint_set_solver_priority", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "priority", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "joint_get_solver_priority", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + } + ] + }, + { + "name": "joint_make_generic_6dof", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "body_A", + "type": "RID" + }, + { + "name": "local_ref_A", + "type": "Transform3D" + }, + { + "name": "body_B", + "type": "RID" + }, + { + "name": "local_ref_B", + "type": "Transform3D" + } + ] + }, + { + "name": "generic_6dof_joint_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "axis", + "type": "enum::Vector3.Axis" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.G6DOFJointAxisParam" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "generic_6dof_joint_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "axis", + "type": "enum::Vector3.Axis" + }, + { + "name": "param", + "type": "enum::PhysicsServer3D.G6DOFJointAxisParam" + } + ] + }, + { + "name": "generic_6dof_joint_set_flag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "axis", + "type": "enum::Vector3.Axis" + }, + { + "name": "flag", + "type": "enum::PhysicsServer3D.G6DOFJointAxisFlag" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "generic_6dof_joint_get_flag", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "joint", + "type": "RID" + }, + { + "name": "axis", + "type": "enum::Vector3.Axis" + }, + { + "name": "flag", + "type": "enum::PhysicsServer3D.G6DOFJointAxisFlag" + } + ] + }, + { + "name": "free_rid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "set_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "set_collision_iterations", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "iterations", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_process_info", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "process_info", + "type": "enum::PhysicsServer3D.ProcessInfo" + } + ] + } + ] + }, + { + "name": "PhysicsServer3DSW", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "PhysicsServer3D", + "api_type": "core" + }, + { + "name": "PhysicsShapeQueryParameters2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "Resource" + } + ] + }, + { + "name": "get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Resource" + } + }, + { + "name": "set_shape_rid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "RID" + } + ] + }, + { + "name": "get_shape_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "set_motion", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "motion", + "type": "Vector2" + } + ] + }, + { + "name": "get_motion", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_collision_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "collision_layer", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_layer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_exclude", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "exclude", + "type": "Array" + } + ] + }, + { + "name": "get_exclude", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_collide_with_bodies", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_collide_with_bodies_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_collide_with_areas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_collide_with_areas_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "collision_layer", + "setter": "set_collision_layer", + "getter": "get_collision_layer", + "index": -1 + }, + { + "type": "Array", + "name": "exclude", + "setter": "set_exclude", + "getter": "get_exclude", + "index": -1 + }, + { + "type": "float", + "name": "margin", + "setter": "set_margin", + "getter": "get_margin", + "index": -1 + }, + { + "type": "Vector2", + "name": "motion", + "setter": "set_motion", + "getter": "get_motion", + "index": -1 + }, + { + "type": "Shape2D", + "name": "shape", + "setter": "set_shape", + "getter": "get_shape", + "index": -1 + }, + { + "type": "RID", + "name": "shape_rid", + "setter": "set_shape_rid", + "getter": "get_shape_rid", + "index": -1 + }, + { + "type": "Transform2D", + "name": "transform", + "setter": "set_transform", + "getter": "get_transform", + "index": -1 + }, + { + "type": "bool", + "name": "collide_with_bodies", + "setter": "set_collide_with_bodies", + "getter": "is_collide_with_bodies_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "collide_with_areas", + "setter": "set_collide_with_areas", + "getter": "is_collide_with_areas_enabled", + "index": -1 + } + ] + }, + { + "name": "PhysicsShapeQueryParameters3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "Resource" + } + ] + }, + { + "name": "get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Resource" + } + }, + { + "name": "set_shape_rid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "RID" + } + ] + }, + { + "name": "get_shape_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "set_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "collision_mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_exclude", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "exclude", + "type": "Array" + } + ] + }, + { + "name": "get_exclude", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_collide_with_bodies", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_collide_with_bodies_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_collide_with_areas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_collide_with_areas_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "collision_mask", + "setter": "set_collision_mask", + "getter": "get_collision_mask", + "index": -1 + }, + { + "type": "Array", + "name": "exclude", + "setter": "set_exclude", + "getter": "get_exclude", + "index": -1 + }, + { + "type": "float", + "name": "margin", + "setter": "set_margin", + "getter": "get_margin", + "index": -1 + }, + { + "type": "Shape3D", + "name": "shape", + "setter": "set_shape", + "getter": "get_shape", + "index": -1 + }, + { + "type": "RID", + "name": "shape_rid", + "setter": "set_shape_rid", + "getter": "get_shape_rid", + "index": -1 + }, + { + "type": "Transform3D", + "name": "transform", + "setter": "set_transform", + "getter": "get_transform", + "index": -1 + }, + { + "type": "bool", + "name": "collide_with_bodies", + "setter": "set_collide_with_bodies", + "getter": "is_collide_with_bodies_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "collide_with_areas", + "setter": "set_collide_with_areas", + "getter": "is_collide_with_areas_enabled", + "index": -1 + } + ] + }, + { + "name": "PhysicsTestMotionResult2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "get_motion", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_motion_remainder", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_collision_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_collision_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_collider_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_collider_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_collider_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_collider", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Object" + } + }, + { + "name": "get_collider_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_collision_depth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_collision_safe_fraction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_collision_unsafe_fraction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "motion", + "setter": "", + "getter": "get_motion", + "index": -1 + }, + { + "type": "Vector2", + "name": "motion_remainder", + "setter": "", + "getter": "get_motion_remainder", + "index": -1 + }, + { + "type": "Vector2", + "name": "collision_point", + "setter": "", + "getter": "get_collision_point", + "index": -1 + }, + { + "type": "Vector2", + "name": "collision_normal", + "setter": "", + "getter": "get_collision_normal", + "index": -1 + }, + { + "type": "Vector2", + "name": "collider_velocity", + "setter": "", + "getter": "get_collider_velocity", + "index": -1 + }, + { + "type": "int", + "name": "collider_id", + "setter": "", + "getter": "get_collider_id", + "index": -1 + }, + { + "type": "RID", + "name": "collider_rid", + "setter": "", + "getter": "get_collider_rid", + "index": -1 + }, + { + "type": "Object", + "name": "collider", + "setter": "", + "getter": "get_collider", + "index": -1 + }, + { + "type": "int", + "name": "collider_shape", + "setter": "", + "getter": "get_collider_shape", + "index": -1 + }, + { + "type": "float", + "name": "collision_depth", + "setter": "", + "getter": "get_collision_depth", + "index": -1 + }, + { + "type": "float", + "name": "collision_safe_fraction", + "setter": "", + "getter": "get_collision_safe_fraction", + "index": -1 + }, + { + "type": "float", + "name": "collision_unsafe_fraction", + "setter": "", + "getter": "get_collision_unsafe_fraction", + "index": -1 + } + ] + }, + { + "name": "PhysicsTestMotionResult3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "get_motion", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_motion_remainder", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_collision_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_collision_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_collider_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_collider_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_collider_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_collider", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Object" + } + }, + { + "name": "get_collider_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_collision_depth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_collision_safe_fraction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_collision_unsafe_fraction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "Vector3", + "name": "motion", + "setter": "", + "getter": "get_motion", + "index": -1 + }, + { + "type": "Vector3", + "name": "motion_remainder", + "setter": "", + "getter": "get_motion_remainder", + "index": -1 + }, + { + "type": "Vector3", + "name": "collision_point", + "setter": "", + "getter": "get_collision_point", + "index": -1 + }, + { + "type": "Vector3", + "name": "collision_normal", + "setter": "", + "getter": "get_collision_normal", + "index": -1 + }, + { + "type": "Vector3", + "name": "collider_velocity", + "setter": "", + "getter": "get_collider_velocity", + "index": -1 + }, + { + "type": "int", + "name": "collider_id", + "setter": "", + "getter": "get_collider_id", + "index": -1 + }, + { + "type": "RID", + "name": "collider_rid", + "setter": "", + "getter": "get_collider_rid", + "index": -1 + }, + { + "type": "Object", + "name": "collider", + "setter": "", + "getter": "get_collider", + "index": -1 + }, + { + "type": "int", + "name": "collider_shape", + "setter": "", + "getter": "get_collider_shape", + "index": -1 + }, + { + "type": "float", + "name": "collision_depth", + "setter": "", + "getter": "get_collision_depth", + "index": -1 + }, + { + "type": "float", + "name": "collision_safe_fraction", + "setter": "", + "getter": "get_collision_safe_fraction", + "index": -1 + }, + { + "type": "float", + "name": "collision_unsafe_fraction", + "setter": "", + "getter": "get_collision_unsafe_fraction", + "index": -1 + } + ] + }, + { + "name": "PinJoint2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Joint2D", + "api_type": "core", + "methods": [ + { + "name": "set_softness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "softness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_softness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "softness", + "setter": "set_softness", + "getter": "get_softness", + "index": -1 + } + ] + }, + { + "name": "PinJoint3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Joint3D", + "api_type": "core", + "enums": [ + { + "name": "Param", + "values": [ + { + "name": "PARAM_BIAS", + "value": 0 + }, + { + "name": "PARAM_DAMPING", + "value": 1 + }, + { + "name": "PARAM_IMPULSE_CLAMP", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::PinJoint3D.Param" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::PinJoint3D.Param" + } + ] + } + ], + "properties": [ + { + "type": "float", + "name": "params/bias", + "setter": "set_param", + "getter": "get_param", + "index": 0 + }, + { + "type": "float", + "name": "params/damping", + "setter": "set_param", + "getter": "get_param", + "index": 1 + }, + { + "type": "float", + "name": "params/impulse_clamp", + "setter": "set_param", + "getter": "get_param", + "index": 2 + } + ] + }, + { + "name": "PlaneMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PrimitiveMesh", + "api_type": "core", + "methods": [ + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_subdivide_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "subdivide", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_subdivide_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_subdivide_depth", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "subdivide", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_subdivide_depth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_center_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector3" + } + ] + }, + { + "name": "get_center_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + }, + { + "type": "int", + "name": "subdivide_width", + "setter": "set_subdivide_width", + "getter": "get_subdivide_width", + "index": -1 + }, + { + "type": "int", + "name": "subdivide_depth", + "setter": "set_subdivide_depth", + "getter": "get_subdivide_depth", + "index": -1 + }, + { + "type": "Vector3", + "name": "center_offset", + "setter": "set_center_offset", + "getter": "get_center_offset", + "index": -1 + } + ] + }, + { + "name": "PluginScript", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Script", + "api_type": "core", + "methods": [ + { + "name": "new", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135338151, + "return_value": { + "type": "Variant" + } + } + ] + }, + { + "name": "PointLight2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Light2D", + "api_type": "core", + "methods": [ + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_texture_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture_offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_texture_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_texture_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_texture_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "Vector2", + "name": "offset", + "setter": "set_texture_offset", + "getter": "get_texture_offset", + "index": -1 + }, + { + "type": "float", + "name": "texture_scale", + "setter": "set_texture_scale", + "getter": "get_texture_scale", + "index": -1 + }, + { + "type": "float", + "name": "height", + "setter": "set_height", + "getter": "get_height", + "index": -1 + } + ] + }, + { + "name": "PointMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PrimitiveMesh", + "api_type": "core" + }, + { + "name": "Polygon2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "polygon", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_polygon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + }, + { + "name": "set_uv", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "uv", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_uv", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector2Array" + } + }, + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_polygons", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "polygons", + "type": "Array" + } + ] + }, + { + "name": "get_polygons", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_vertex_colors", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vertex_colors", + "type": "PackedColorArray" + } + ] + }, + { + "name": "get_vertex_colors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedColorArray" + } + }, + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_texture_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture_offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_texture_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_texture_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture_rotation", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_texture_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_texture_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture_scale", + "type": "Vector2" + } + ] + }, + { + "name": "get_texture_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_invert", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "invert", + "type": "bool" + } + ] + }, + { + "name": "get_invert", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_antialiased", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "antialiased", + "type": "bool" + } + ] + }, + { + "name": "get_antialiased", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_invert_border", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "invert_border", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_invert_border", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "add_bone", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "path", + "type": "NodePath" + }, + { + "name": "weights", + "type": "PackedFloat32Array" + } + ] + }, + { + "name": "get_bone_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_bone_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bone_weights", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedFloat32Array" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "erase_bone", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_bones", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_bone_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "set_bone_weights", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "weights", + "type": "PackedFloat32Array" + } + ] + }, + { + "name": "set_skeleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "skeleton", + "type": "NodePath" + } + ] + }, + { + "name": "get_skeleton", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_internal_vertex_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "internal_vertex_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_internal_vertex_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "Color", + "name": "color", + "setter": "set_color", + "getter": "get_color", + "index": -1 + }, + { + "type": "Vector2", + "name": "offset", + "setter": "set_offset", + "getter": "get_offset", + "index": -1 + }, + { + "type": "bool", + "name": "antialiased", + "setter": "set_antialiased", + "getter": "get_antialiased", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "Vector2", + "name": "texture_offset", + "setter": "set_texture_offset", + "getter": "get_texture_offset", + "index": -1 + }, + { + "type": "Vector2", + "name": "texture_scale", + "setter": "set_texture_scale", + "getter": "get_texture_scale", + "index": -1 + }, + { + "type": "float", + "name": "texture_rotation", + "setter": "set_texture_rotation", + "getter": "get_texture_rotation", + "index": -1 + }, + { + "type": "NodePath", + "name": "skeleton", + "setter": "set_skeleton", + "getter": "get_skeleton", + "index": -1 + }, + { + "type": "bool", + "name": "invert_enable", + "setter": "set_invert", + "getter": "get_invert", + "index": -1 + }, + { + "type": "float", + "name": "invert_border", + "setter": "set_invert_border", + "getter": "get_invert_border", + "index": -1 + }, + { + "type": "PackedVector2Array", + "name": "polygon", + "setter": "set_polygon", + "getter": "get_polygon", + "index": -1 + }, + { + "type": "PackedVector2Array", + "name": "uv", + "setter": "set_uv", + "getter": "get_uv", + "index": -1 + }, + { + "type": "PackedColorArray", + "name": "vertex_colors", + "setter": "set_vertex_colors", + "getter": "get_vertex_colors", + "index": -1 + }, + { + "type": "Array", + "name": "polygons", + "setter": "set_polygons", + "getter": "get_polygons", + "index": -1 + }, + { + "type": "bool", + "name": "bones", + "setter": "_set_bones", + "getter": "_get_bones", + "index": -1 + }, + { + "type": "int", + "name": "internal_vertex_count", + "setter": "set_internal_vertex_count", + "getter": "get_internal_vertex_count", + "index": -1 + } + ] + }, + { + "name": "PolygonPathFinder", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "setup", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "points", + "type": "PackedVector2Array" + }, + { + "name": "connections", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "find_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "PackedVector2Array" + }, + "arguments": [ + { + "name": "from", + "type": "Vector2" + }, + { + "name": "to", + "type": "Vector2" + } + ] + }, + { + "name": "get_intersections", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "PackedVector2Array" + }, + "arguments": [ + { + "name": "from", + "type": "Vector2" + }, + { + "name": "to", + "type": "Vector2" + } + ] + }, + { + "name": "get_closest_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "point", + "type": "Vector2" + } + ] + }, + { + "name": "is_point_inside", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "point", + "type": "Vector2" + } + ] + }, + { + "name": "set_point_penalty", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "penalty", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_point_penalty", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bounds", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + } + ], + "properties": [ + { + "type": "Dictionary", + "name": "data", + "setter": "_set_data", + "getter": "_get_data", + "index": -1 + } + ] + }, + { + "name": "Popup", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Window", + "api_type": "core", + "methods": [ + { + "name": "set_close_on_parent_focus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "close", + "type": "bool" + } + ] + }, + { + "name": "get_close_on_parent_focus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "popup_hide" + } + ], + "properties": [ + { + "type": "bool", + "name": "close_on_parent_focus", + "setter": "set_close_on_parent_focus", + "getter": "get_close_on_parent_focus", + "index": -1 + } + ] + }, + { + "name": "PopupMenu", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Popup", + "api_type": "core", + "methods": [ + { + "name": "add_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182666249, + "arguments": [ + { + "name": "label", + "type": "String" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "accel", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "add_icon_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + }, + { + "name": "label", + "type": "String" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "accel", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "add_check_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182666249, + "arguments": [ + { + "name": "label", + "type": "String" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "accel", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "add_icon_check_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + }, + { + "name": "label", + "type": "String" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "accel", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "add_radio_check_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182666249, + "arguments": [ + { + "name": "label", + "type": "String" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "accel", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "add_icon_radio_check_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + }, + { + "name": "label", + "type": "String" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "accel", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "add_multistate_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 60158893, + "arguments": [ + { + "name": "label", + "type": "String" + }, + { + "name": "max_states", + "type": "int", + "meta": "int32" + }, + { + "name": "default_state", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "accel", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "add_shortcut", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182666249, + "arguments": [ + { + "name": "shortcut", + "type": "Shortcut" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "global", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "add_icon_shortcut", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + }, + { + "name": "shortcut", + "type": "Shortcut" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "global", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "add_check_shortcut", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182666249, + "arguments": [ + { + "name": "shortcut", + "type": "Shortcut" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "global", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "add_icon_check_shortcut", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + }, + { + "name": "shortcut", + "type": "Shortcut" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "global", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "add_radio_check_shortcut", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182666249, + "arguments": [ + { + "name": "shortcut", + "type": "Shortcut" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "global", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "add_icon_radio_check_shortcut", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + }, + { + "name": "shortcut", + "type": "Shortcut" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "global", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "add_submenu_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "label", + "type": "String" + }, + { + "name": "submenu", + "type": "String" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "set_item_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "set_item_text_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "set_item_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "set_item_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "icon", + "type": "Texture2D" + } + ] + }, + { + "name": "set_item_checked", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "checked", + "type": "bool" + } + ] + }, + { + "name": "set_item_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_accelerator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "accel", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "set_item_metadata", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "metadata", + "type": "Variant" + } + ] + }, + { + "name": "set_item_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "set_item_submenu", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "submenu", + "type": "String" + } + ] + }, + { + "name": "set_item_as_separator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_item_as_checkable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_item_as_radio_checkable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_item_tooltip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "tooltip", + "type": "String" + } + ] + }, + { + "name": "set_item_shortcut", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "shortcut", + "type": "Shortcut" + }, + { + "name": "global", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "set_item_multistate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "state", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_item_shortcut_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "toggle_item_checked", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "toggle_item_multistate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_text_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Control.TextDirection" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_item_opentype_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_item_checked", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_accelerator", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_metadata", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_item_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_submenu", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_item_separator", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_item_checkable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_item_radio_checkable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_item_shortcut_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_tooltip", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_item_shortcut", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Shortcut" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_current_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_item_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "remove_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_separator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 336907853, + "arguments": [ + { + "name": "label", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "id", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_hide_on_item_selection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_hide_on_item_selection", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_hide_on_checkable_item_selection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_hide_on_checkable_item_selection", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_hide_on_state_item_selection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_hide_on_state_item_selection", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_submenu_popup_delay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "seconds", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_submenu_popup_delay", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_allow_search", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "allow", + "type": "bool" + } + ] + }, + { + "name": "get_allow_search", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "index_pressed", + "arguments": [ + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "id_focused", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "id_pressed", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "Array", + "name": "items", + "setter": "_set_items", + "getter": "_get_items", + "index": -1 + }, + { + "type": "bool", + "name": "hide_on_item_selection", + "setter": "set_hide_on_item_selection", + "getter": "is_hide_on_item_selection", + "index": -1 + }, + { + "type": "bool", + "name": "hide_on_checkable_item_selection", + "setter": "set_hide_on_checkable_item_selection", + "getter": "is_hide_on_checkable_item_selection", + "index": -1 + }, + { + "type": "bool", + "name": "hide_on_state_item_selection", + "setter": "set_hide_on_state_item_selection", + "getter": "is_hide_on_state_item_selection", + "index": -1 + }, + { + "type": "float", + "name": "submenu_popup_delay", + "setter": "set_submenu_popup_delay", + "getter": "get_submenu_popup_delay", + "index": -1 + }, + { + "type": "bool", + "name": "allow_search", + "setter": "set_allow_search", + "getter": "get_allow_search", + "index": -1 + } + ] + }, + { + "name": "PopupPanel", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Popup", + "api_type": "core" + }, + { + "name": "Position2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "properties": [ + { + "type": "float", + "name": "gizmo_extents", + "setter": "_set_gizmo_extents", + "getter": "_get_gizmo_extents", + "index": -1 + } + ] + }, + { + "name": "Position3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core" + }, + { + "name": "PrimitiveMesh", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Mesh", + "api_type": "core", + "methods": [ + { + "name": "set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + }, + { + "name": "get_mesh_arrays", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_custom_aabb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "aabb", + "type": "AABB" + } + ] + }, + { + "name": "get_custom_aabb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AABB" + } + }, + { + "name": "set_flip_faces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flip_faces", + "type": "bool" + } + ] + }, + { + "name": "get_flip_faces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "BaseMaterial3D,ShaderMaterial", + "name": "material", + "setter": "set_material", + "getter": "get_material", + "index": -1 + }, + { + "type": "AABB", + "name": "custom_aabb", + "setter": "set_custom_aabb", + "getter": "get_custom_aabb", + "index": -1 + }, + { + "type": "bool", + "name": "flip_faces", + "setter": "set_flip_faces", + "getter": "get_flip_faces", + "index": -1 + } + ] + }, + { + "name": "PrismMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PrimitiveMesh", + "api_type": "core", + "methods": [ + { + "name": "set_left_to_right", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "left_to_right", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_left_to_right", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector3" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_subdivide_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "segments", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_subdivide_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_subdivide_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "segments", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_subdivide_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_subdivide_depth", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "segments", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_subdivide_depth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "float", + "name": "left_to_right", + "setter": "set_left_to_right", + "getter": "get_left_to_right", + "index": -1 + }, + { + "type": "Vector3", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + }, + { + "type": "int", + "name": "subdivide_width", + "setter": "set_subdivide_width", + "getter": "get_subdivide_width", + "index": -1 + }, + { + "type": "int", + "name": "subdivide_height", + "setter": "set_subdivide_height", + "getter": "get_subdivide_height", + "index": -1 + }, + { + "type": "int", + "name": "subdivide_depth", + "setter": "set_subdivide_depth", + "getter": "get_subdivide_depth", + "index": -1 + } + ] + }, + { + "name": "ProceduralSkyMaterial", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Material", + "api_type": "core", + "methods": [ + { + "name": "set_sky_top_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_sky_top_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_sky_horizon_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_sky_horizon_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_sky_curve", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sky_curve", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sky_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sky_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ground_bottom_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_ground_bottom_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_ground_horizon_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_ground_horizon_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_ground_curve", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ground_curve", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ground_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ground_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sun_angle_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "degrees", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sun_angle_max", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sun_curve", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_sun_curve", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "Color", + "name": "sky_top_color", + "setter": "set_sky_top_color", + "getter": "get_sky_top_color", + "index": -1 + }, + { + "type": "Color", + "name": "sky_horizon_color", + "setter": "set_sky_horizon_color", + "getter": "get_sky_horizon_color", + "index": -1 + }, + { + "type": "float", + "name": "sky_curve", + "setter": "set_sky_curve", + "getter": "get_sky_curve", + "index": -1 + }, + { + "type": "float", + "name": "sky_energy", + "setter": "set_sky_energy", + "getter": "get_sky_energy", + "index": -1 + }, + { + "type": "Color", + "name": "ground_bottom_color", + "setter": "set_ground_bottom_color", + "getter": "get_ground_bottom_color", + "index": -1 + }, + { + "type": "Color", + "name": "ground_horizon_color", + "setter": "set_ground_horizon_color", + "getter": "get_ground_horizon_color", + "index": -1 + }, + { + "type": "float", + "name": "ground_curve", + "setter": "set_ground_curve", + "getter": "get_ground_curve", + "index": -1 + }, + { + "type": "float", + "name": "ground_energy", + "setter": "set_ground_energy", + "getter": "get_ground_energy", + "index": -1 + }, + { + "type": "float", + "name": "sun_angle_max", + "setter": "set_sun_angle_max", + "getter": "get_sun_angle_max", + "index": -1 + }, + { + "type": "float", + "name": "sun_curve", + "setter": "set_sun_curve", + "getter": "get_sun_curve", + "index": -1 + } + ] + }, + { + "name": "ProgressBar", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Range", + "api_type": "core", + "methods": [ + { + "name": "set_percent_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "visible", + "type": "bool" + } + ] + }, + { + "name": "is_percent_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "percent_visible", + "setter": "set_percent_visible", + "getter": "is_percent_visible", + "index": -1 + } + ] + }, + { + "name": "ProjectSettings", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "has_setting", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_setting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_setting", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_order", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "position", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_order", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_initial_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "add_property_info", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hint", + "type": "Dictionary" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "localize_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "globalize_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "save", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "load_resource_pack", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1474136396, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "pack", + "type": "String" + }, + { + "name": "replace_files", + "type": "bool", + "default_value": "true" + }, + { + "name": "offset", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "property_can_revert", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "property_get_revert", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "save_custom", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + } + ] + }, + { + "name": "PropertyTweener", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Tweener", + "api_type": "core", + "methods": [ + { + "name": "from", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PropertyTweener" + }, + "arguments": [ + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "from_current", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PropertyTweener" + } + }, + { + "name": "as_relative", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PropertyTweener" + } + }, + { + "name": "set_trans", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PropertyTweener" + }, + "arguments": [ + { + "name": "trans", + "type": "enum::Tween.TransitionType" + } + ] + }, + { + "name": "set_ease", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PropertyTweener" + }, + "arguments": [ + { + "name": "ease", + "type": "enum::Tween.EaseType" + } + ] + }, + { + "name": "set_delay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PropertyTweener" + }, + "arguments": [ + { + "name": "delay", + "type": "float", + "meta": "float" + } + ] + } + ] + }, + { + "name": "ProximityGroup3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "enums": [ + { + "name": "DispatchMode", + "values": [ + { + "name": "MODE_PROXY", + "value": 0 + }, + { + "name": "MODE_SIGNAL", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_group_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_group_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_dispatch_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::ProximityGroup3D.DispatchMode" + } + ] + }, + { + "name": "get_dispatch_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::ProximityGroup3D.DispatchMode" + } + }, + { + "name": "set_grid_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "Vector3" + } + ] + }, + { + "name": "get_grid_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "broadcast", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "method", + "type": "String" + }, + { + "name": "parameters", + "type": "Variant" + } + ] + } + ], + "signals": [ + { + "name": "broadcast", + "arguments": [ + { + "name": "method", + "type": "String" + }, + { + "name": "parameters", + "type": "Array" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "group_name", + "setter": "set_group_name", + "getter": "get_group_name", + "index": -1 + }, + { + "type": "int", + "name": "dispatch_mode", + "setter": "set_dispatch_mode", + "getter": "get_dispatch_mode", + "index": -1 + }, + { + "type": "Vector3", + "name": "grid_radius", + "setter": "set_grid_radius", + "getter": "get_grid_radius", + "index": -1 + } + ] + }, + { + "name": "ProxyTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "methods": [ + { + "name": "set_base", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base", + "type": "Texture2D" + } + ] + }, + { + "name": "get_base", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "base", + "setter": "set_base", + "getter": "get_base", + "index": -1 + } + ] + }, + { + "name": "QuadMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PrimitiveMesh", + "api_type": "core", + "methods": [ + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_center_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "center_offset", + "type": "Vector3" + } + ] + }, + { + "name": "get_center_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + }, + { + "type": "Vector3", + "name": "center_offset", + "setter": "set_center_offset", + "getter": "get_center_offset", + "index": -1 + } + ] + }, + { + "name": "RDAttachmentFormat", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_format", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.DataFormat" + } + ] + }, + { + "name": "get_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.DataFormat" + } + }, + { + "name": "set_samples", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.TextureSamples" + } + ] + }, + { + "name": "get_samples", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.TextureSamples" + } + }, + { + "name": "set_usage_flags", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_usage_flags", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + } + ], + "properties": [ + { + "type": "int", + "name": "format", + "setter": "set_format", + "getter": "get_format", + "index": -1 + }, + { + "type": "int", + "name": "samples", + "setter": "set_samples", + "getter": "get_samples", + "index": -1 + }, + { + "type": "int", + "name": "usage_flags", + "setter": "set_usage_flags", + "getter": "get_usage_flags", + "index": -1 + } + ] + }, + { + "name": "RDFramebufferPass", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "constants": [ + { + "name": "ATTACHMENT_UNUSED", + "value": -1 + } + ], + "methods": [ + { + "name": "set_color_attachments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_color_attachments", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_input_attachments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_input_attachments", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_resolve_attachments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_resolve_attachments", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_preserve_attachments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_preserve_attachments", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_depth_attachment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_depth_attachment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "PackedInt32Array", + "name": "color_attachments", + "setter": "set_color_attachments", + "getter": "get_color_attachments", + "index": -1 + }, + { + "type": "PackedInt32Array", + "name": "input_attachments", + "setter": "set_input_attachments", + "getter": "get_input_attachments", + "index": -1 + }, + { + "type": "PackedInt32Array", + "name": "resolve_attachments", + "setter": "set_resolve_attachments", + "getter": "get_resolve_attachments", + "index": -1 + }, + { + "type": "PackedInt32Array", + "name": "preserve_attachments", + "setter": "set_preserve_attachments", + "getter": "get_preserve_attachments", + "index": -1 + }, + { + "type": "int", + "name": "depth_attachment", + "setter": "set_depth_attachment", + "getter": "get_depth_attachment", + "index": -1 + } + ] + }, + { + "name": "RDPipelineColorBlendState", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_enable_logic_op", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_enable_logic_op", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_logic_op", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.LogicOperation" + } + ] + }, + { + "name": "get_logic_op", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.LogicOperation" + } + }, + { + "name": "set_blend_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "Color" + } + ] + }, + { + "name": "get_blend_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_attachments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "attachments", + "type": "Array" + } + ] + }, + { + "name": "get_attachments", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "enable_logic_op", + "setter": "set_enable_logic_op", + "getter": "get_enable_logic_op", + "index": -1 + }, + { + "type": "int", + "name": "logic_op", + "setter": "set_logic_op", + "getter": "get_logic_op", + "index": -1 + }, + { + "type": "Color", + "name": "blend_constant", + "setter": "set_blend_constant", + "getter": "get_blend_constant", + "index": -1 + }, + { + "type": "Array", + "name": "attachments", + "setter": "set_attachments", + "getter": "get_attachments", + "index": -1 + } + ] + }, + { + "name": "RDPipelineColorBlendStateAttachment", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_as_mix", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_enable_blend", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_enable_blend", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_src_color_blend_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.BlendFactor" + } + ] + }, + { + "name": "get_src_color_blend_factor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.BlendFactor" + } + }, + { + "name": "set_dst_color_blend_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.BlendFactor" + } + ] + }, + { + "name": "get_dst_color_blend_factor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.BlendFactor" + } + }, + { + "name": "set_color_blend_op", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.BlendOperation" + } + ] + }, + { + "name": "get_color_blend_op", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.BlendOperation" + } + }, + { + "name": "set_src_alpha_blend_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.BlendFactor" + } + ] + }, + { + "name": "get_src_alpha_blend_factor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.BlendFactor" + } + }, + { + "name": "set_dst_alpha_blend_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.BlendFactor" + } + ] + }, + { + "name": "get_dst_alpha_blend_factor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.BlendFactor" + } + }, + { + "name": "set_alpha_blend_op", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.BlendOperation" + } + ] + }, + { + "name": "get_alpha_blend_op", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.BlendOperation" + } + }, + { + "name": "set_write_r", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_write_r", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_write_g", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_write_g", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_write_b", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_write_b", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_write_a", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_write_a", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "enable_blend", + "setter": "set_enable_blend", + "getter": "get_enable_blend", + "index": -1 + }, + { + "type": "int", + "name": "src_color_blend_factor", + "setter": "set_src_color_blend_factor", + "getter": "get_src_color_blend_factor", + "index": -1 + }, + { + "type": "int", + "name": "dst_color_blend_factor", + "setter": "set_dst_color_blend_factor", + "getter": "get_dst_color_blend_factor", + "index": -1 + }, + { + "type": "int", + "name": "color_blend_op", + "setter": "set_color_blend_op", + "getter": "get_color_blend_op", + "index": -1 + }, + { + "type": "int", + "name": "src_alpha_blend_factor", + "setter": "set_src_alpha_blend_factor", + "getter": "get_src_alpha_blend_factor", + "index": -1 + }, + { + "type": "int", + "name": "dst_alpha_blend_factor", + "setter": "set_dst_alpha_blend_factor", + "getter": "get_dst_alpha_blend_factor", + "index": -1 + }, + { + "type": "int", + "name": "alpha_blend_op", + "setter": "set_alpha_blend_op", + "getter": "get_alpha_blend_op", + "index": -1 + }, + { + "type": "bool", + "name": "write_r", + "setter": "set_write_r", + "getter": "get_write_r", + "index": -1 + }, + { + "type": "bool", + "name": "write_g", + "setter": "set_write_g", + "getter": "get_write_g", + "index": -1 + }, + { + "type": "bool", + "name": "write_b", + "setter": "set_write_b", + "getter": "get_write_b", + "index": -1 + }, + { + "type": "bool", + "name": "write_a", + "setter": "set_write_a", + "getter": "get_write_a", + "index": -1 + } + ] + }, + { + "name": "RDPipelineDepthStencilState", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_enable_depth_test", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_enable_depth_test", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_enable_depth_write", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_enable_depth_write", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_depth_compare_operator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.CompareOperator" + } + ] + }, + { + "name": "get_depth_compare_operator", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.CompareOperator" + } + }, + { + "name": "set_enable_depth_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_enable_depth_range", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_depth_range_min", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_depth_range_min", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_depth_range_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_depth_range_max", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_enable_stencil", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_enable_stencil", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_front_op_fail", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.StencilOperation" + } + ] + }, + { + "name": "get_front_op_fail", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.StencilOperation" + } + }, + { + "name": "set_front_op_pass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.StencilOperation" + } + ] + }, + { + "name": "get_front_op_pass", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.StencilOperation" + } + }, + { + "name": "set_front_op_depth_fail", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.StencilOperation" + } + ] + }, + { + "name": "get_front_op_depth_fail", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.StencilOperation" + } + }, + { + "name": "set_front_op_compare", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.CompareOperator" + } + ] + }, + { + "name": "get_front_op_compare", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.CompareOperator" + } + }, + { + "name": "set_front_op_compare_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_front_op_compare_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_front_op_write_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_front_op_write_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_front_op_reference", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_front_op_reference", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_back_op_fail", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.StencilOperation" + } + ] + }, + { + "name": "get_back_op_fail", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.StencilOperation" + } + }, + { + "name": "set_back_op_pass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.StencilOperation" + } + ] + }, + { + "name": "get_back_op_pass", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.StencilOperation" + } + }, + { + "name": "set_back_op_depth_fail", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.StencilOperation" + } + ] + }, + { + "name": "get_back_op_depth_fail", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.StencilOperation" + } + }, + { + "name": "set_back_op_compare", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.CompareOperator" + } + ] + }, + { + "name": "get_back_op_compare", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.CompareOperator" + } + }, + { + "name": "set_back_op_compare_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_back_op_compare_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_back_op_write_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_back_op_write_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_back_op_reference", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_back_op_reference", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "enable_depth_test", + "setter": "set_enable_depth_test", + "getter": "get_enable_depth_test", + "index": -1 + }, + { + "type": "bool", + "name": "enable_depth_write", + "setter": "set_enable_depth_write", + "getter": "get_enable_depth_write", + "index": -1 + }, + { + "type": "int", + "name": "depth_compare_operator", + "setter": "set_depth_compare_operator", + "getter": "get_depth_compare_operator", + "index": -1 + }, + { + "type": "bool", + "name": "enable_depth_range", + "setter": "set_enable_depth_range", + "getter": "get_enable_depth_range", + "index": -1 + }, + { + "type": "float", + "name": "depth_range_min", + "setter": "set_depth_range_min", + "getter": "get_depth_range_min", + "index": -1 + }, + { + "type": "float", + "name": "depth_range_max", + "setter": "set_depth_range_max", + "getter": "get_depth_range_max", + "index": -1 + }, + { + "type": "bool", + "name": "enable_stencil", + "setter": "set_enable_stencil", + "getter": "get_enable_stencil", + "index": -1 + }, + { + "type": "int", + "name": "front_op_fail", + "setter": "set_front_op_fail", + "getter": "get_front_op_fail", + "index": -1 + }, + { + "type": "int", + "name": "front_op_pass", + "setter": "set_front_op_pass", + "getter": "get_front_op_pass", + "index": -1 + }, + { + "type": "int", + "name": "front_op_depth_fail", + "setter": "set_front_op_depth_fail", + "getter": "get_front_op_depth_fail", + "index": -1 + }, + { + "type": "int", + "name": "front_op_compare", + "setter": "set_front_op_compare", + "getter": "get_front_op_compare", + "index": -1 + }, + { + "type": "int", + "name": "front_op_compare_mask", + "setter": "set_front_op_compare_mask", + "getter": "get_front_op_compare_mask", + "index": -1 + }, + { + "type": "int", + "name": "front_op_write_mask", + "setter": "set_front_op_write_mask", + "getter": "get_front_op_write_mask", + "index": -1 + }, + { + "type": "int", + "name": "front_op_reference", + "setter": "set_front_op_reference", + "getter": "get_front_op_reference", + "index": -1 + }, + { + "type": "int", + "name": "back_op_fail", + "setter": "set_back_op_fail", + "getter": "get_back_op_fail", + "index": -1 + }, + { + "type": "int", + "name": "back_op_pass", + "setter": "set_back_op_pass", + "getter": "get_back_op_pass", + "index": -1 + }, + { + "type": "int", + "name": "back_op_depth_fail", + "setter": "set_back_op_depth_fail", + "getter": "get_back_op_depth_fail", + "index": -1 + }, + { + "type": "int", + "name": "back_op_compare", + "setter": "set_back_op_compare", + "getter": "get_back_op_compare", + "index": -1 + }, + { + "type": "int", + "name": "back_op_compare_mask", + "setter": "set_back_op_compare_mask", + "getter": "get_back_op_compare_mask", + "index": -1 + }, + { + "type": "int", + "name": "back_op_write_mask", + "setter": "set_back_op_write_mask", + "getter": "get_back_op_write_mask", + "index": -1 + }, + { + "type": "int", + "name": "back_op_reference", + "setter": "set_back_op_reference", + "getter": "get_back_op_reference", + "index": -1 + } + ] + }, + { + "name": "RDPipelineMultisampleState", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_sample_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.TextureSamples" + } + ] + }, + { + "name": "get_sample_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.TextureSamples" + } + }, + { + "name": "set_enable_sample_shading", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_enable_sample_shading", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_min_sample_shading", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_min_sample_shading", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_enable_alpha_to_coverage", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_enable_alpha_to_coverage", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_enable_alpha_to_one", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_enable_alpha_to_one", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_sample_masks", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "masks", + "type": "Array" + } + ] + }, + { + "name": "get_sample_masks", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + } + ], + "properties": [ + { + "type": "int", + "name": "sample_count", + "setter": "set_sample_count", + "getter": "get_sample_count", + "index": -1 + }, + { + "type": "bool", + "name": "enable_sample_shading", + "setter": "set_enable_sample_shading", + "getter": "get_enable_sample_shading", + "index": -1 + }, + { + "type": "float", + "name": "min_sample_shading", + "setter": "set_min_sample_shading", + "getter": "get_min_sample_shading", + "index": -1 + }, + { + "type": "bool", + "name": "enable_alpha_to_coverage", + "setter": "set_enable_alpha_to_coverage", + "getter": "get_enable_alpha_to_coverage", + "index": -1 + }, + { + "type": "bool", + "name": "enable_alpha_to_one", + "setter": "set_enable_alpha_to_one", + "getter": "get_enable_alpha_to_one", + "index": -1 + }, + { + "type": "Array", + "name": "sample_masks", + "setter": "set_sample_masks", + "getter": "get_sample_masks", + "index": -1 + } + ] + }, + { + "name": "RDPipelineRasterizationState", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_enable_depth_clamp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_enable_depth_clamp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_discard_primitives", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_discard_primitives", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_wireframe", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_wireframe", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_cull_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.PolygonCullMode" + } + ] + }, + { + "name": "get_cull_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.PolygonCullMode" + } + }, + { + "name": "set_front_face", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.PolygonFrontFace" + } + ] + }, + { + "name": "get_front_face", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.PolygonFrontFace" + } + }, + { + "name": "set_depth_bias_enable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_depth_bias_enable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_depth_bias_constant_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_depth_bias_constant_factor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_depth_bias_clamp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_depth_bias_clamp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_depth_bias_slope_factor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_depth_bias_slope_factor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_line_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_line_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_patch_control_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_patch_control_points", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "enable_depth_clamp", + "setter": "set_enable_depth_clamp", + "getter": "get_enable_depth_clamp", + "index": -1 + }, + { + "type": "bool", + "name": "discard_primitives", + "setter": "set_discard_primitives", + "getter": "get_discard_primitives", + "index": -1 + }, + { + "type": "bool", + "name": "wireframe", + "setter": "set_wireframe", + "getter": "get_wireframe", + "index": -1 + }, + { + "type": "int", + "name": "cull_mode", + "setter": "set_cull_mode", + "getter": "get_cull_mode", + "index": -1 + }, + { + "type": "int", + "name": "front_face", + "setter": "set_front_face", + "getter": "get_front_face", + "index": -1 + }, + { + "type": "bool", + "name": "depth_bias_enable", + "setter": "set_depth_bias_enable", + "getter": "get_depth_bias_enable", + "index": -1 + }, + { + "type": "float", + "name": "depth_bias_constant_factor", + "setter": "set_depth_bias_constant_factor", + "getter": "get_depth_bias_constant_factor", + "index": -1 + }, + { + "type": "float", + "name": "depth_bias_clamp", + "setter": "set_depth_bias_clamp", + "getter": "get_depth_bias_clamp", + "index": -1 + }, + { + "type": "float", + "name": "depth_bias_slope_factor", + "setter": "set_depth_bias_slope_factor", + "getter": "get_depth_bias_slope_factor", + "index": -1 + }, + { + "type": "float", + "name": "line_width", + "setter": "set_line_width", + "getter": "get_line_width", + "index": -1 + }, + { + "type": "int", + "name": "patch_control_points", + "setter": "set_patch_control_points", + "getter": "get_patch_control_points", + "index": -1 + } + ] + }, + { + "name": "RDPipelineSpecializationConstant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Variant" + } + }, + { + "name": "set_constant_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "constant_id", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_constant_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + } + ], + "properties": [ + { + "type": "Variant", + "name": "value", + "setter": "set_value", + "getter": "get_value", + "index": -1 + }, + { + "type": "int", + "name": "constant_id", + "setter": "set_constant_id", + "getter": "get_constant_id", + "index": -1 + } + ] + }, + { + "name": "RDSamplerState", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_mag_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.SamplerFilter" + } + ] + }, + { + "name": "get_mag_filter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.SamplerFilter" + } + }, + { + "name": "set_min_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.SamplerFilter" + } + ] + }, + { + "name": "get_min_filter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.SamplerFilter" + } + }, + { + "name": "set_mip_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.SamplerFilter" + } + ] + }, + { + "name": "get_mip_filter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.SamplerFilter" + } + }, + { + "name": "set_repeat_u", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.SamplerRepeatMode" + } + ] + }, + { + "name": "get_repeat_u", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.SamplerRepeatMode" + } + }, + { + "name": "set_repeat_v", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.SamplerRepeatMode" + } + ] + }, + { + "name": "get_repeat_v", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.SamplerRepeatMode" + } + }, + { + "name": "set_repeat_w", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.SamplerRepeatMode" + } + ] + }, + { + "name": "get_repeat_w", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.SamplerRepeatMode" + } + }, + { + "name": "set_lod_bias", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_lod_bias", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_use_anisotropy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_use_anisotropy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_anisotropy_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_anisotropy_max", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_enable_compare", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_enable_compare", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_compare_op", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.CompareOperator" + } + ] + }, + { + "name": "get_compare_op", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.CompareOperator" + } + }, + { + "name": "set_min_lod", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_min_lod", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_lod", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_max_lod", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_border_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.SamplerBorderColor" + } + ] + }, + { + "name": "get_border_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.SamplerBorderColor" + } + }, + { + "name": "set_unnormalized_uvw", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "bool" + } + ] + }, + { + "name": "get_unnormalized_uvw", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "mag_filter", + "setter": "set_mag_filter", + "getter": "get_mag_filter", + "index": -1 + }, + { + "type": "int", + "name": "min_filter", + "setter": "set_min_filter", + "getter": "get_min_filter", + "index": -1 + }, + { + "type": "int", + "name": "mip_filter", + "setter": "set_mip_filter", + "getter": "get_mip_filter", + "index": -1 + }, + { + "type": "int", + "name": "repeat_u", + "setter": "set_repeat_u", + "getter": "get_repeat_u", + "index": -1 + }, + { + "type": "int", + "name": "repeat_v", + "setter": "set_repeat_v", + "getter": "get_repeat_v", + "index": -1 + }, + { + "type": "int", + "name": "repeat_w", + "setter": "set_repeat_w", + "getter": "get_repeat_w", + "index": -1 + }, + { + "type": "float", + "name": "lod_bias", + "setter": "set_lod_bias", + "getter": "get_lod_bias", + "index": -1 + }, + { + "type": "bool", + "name": "use_anisotropy", + "setter": "set_use_anisotropy", + "getter": "get_use_anisotropy", + "index": -1 + }, + { + "type": "float", + "name": "anisotropy_max", + "setter": "set_anisotropy_max", + "getter": "get_anisotropy_max", + "index": -1 + }, + { + "type": "bool", + "name": "enable_compare", + "setter": "set_enable_compare", + "getter": "get_enable_compare", + "index": -1 + }, + { + "type": "int", + "name": "compare_op", + "setter": "set_compare_op", + "getter": "get_compare_op", + "index": -1 + }, + { + "type": "float", + "name": "min_lod", + "setter": "set_min_lod", + "getter": "get_min_lod", + "index": -1 + }, + { + "type": "float", + "name": "max_lod", + "setter": "set_max_lod", + "getter": "get_max_lod", + "index": -1 + }, + { + "type": "int", + "name": "border_color", + "setter": "set_border_color", + "getter": "get_border_color", + "index": -1 + }, + { + "type": "bool", + "name": "unnormalized_uvw", + "setter": "set_unnormalized_uvw", + "getter": "get_unnormalized_uvw", + "index": -1 + } + ] + }, + { + "name": "RDShaderFile", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_bytecode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "bytecode", + "type": "RDShaderSPIRV" + }, + { + "name": "version", + "type": "StringName", + "default_value": "&\"\"" + } + ] + }, + { + "name": "get_spirv", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "RDShaderSPIRV" + }, + "arguments": [ + { + "name": "version", + "type": "StringName", + "default_value": "&\"\"" + } + ] + }, + { + "name": "get_version_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "set_base_error", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "error", + "type": "String" + } + ] + }, + { + "name": "get_base_error", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "String", + "name": "base_error", + "setter": "set_base_error", + "getter": "get_base_error", + "index": -1 + } + ] + }, + { + "name": "RDShaderSPIRV", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_stage_bytecode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "stage", + "type": "enum::RenderingDevice.ShaderStage" + }, + { + "name": "bytecode", + "type": "PackedByteArray" + } + ] + }, + { + "name": "get_stage_bytecode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "stage", + "type": "enum::RenderingDevice.ShaderStage" + } + ] + }, + { + "name": "set_stage_compile_error", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "stage", + "type": "enum::RenderingDevice.ShaderStage" + }, + { + "name": "compile_error", + "type": "String" + } + ] + }, + { + "name": "get_stage_compile_error", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "stage", + "type": "enum::RenderingDevice.ShaderStage" + } + ] + } + ], + "properties": [ + { + "type": "PackedByteArray", + "name": "bytecode_vertex", + "setter": "set_stage_bytecode", + "getter": "get_stage_bytecode", + "index": 0 + }, + { + "type": "PackedByteArray", + "name": "bytecode_fragment", + "setter": "set_stage_bytecode", + "getter": "get_stage_bytecode", + "index": 1 + }, + { + "type": "PackedByteArray", + "name": "bytecode_tesselation_control", + "setter": "set_stage_bytecode", + "getter": "get_stage_bytecode", + "index": 2 + }, + { + "type": "PackedByteArray", + "name": "bytecode_tesselation_evaluation", + "setter": "set_stage_bytecode", + "getter": "get_stage_bytecode", + "index": 3 + }, + { + "type": "PackedByteArray", + "name": "bytecode_compute", + "setter": "set_stage_bytecode", + "getter": "get_stage_bytecode", + "index": 4 + }, + { + "type": "String", + "name": "compile_error_vertex", + "setter": "set_stage_compile_error", + "getter": "get_stage_compile_error", + "index": 0 + }, + { + "type": "String", + "name": "compile_error_fragment", + "setter": "set_stage_compile_error", + "getter": "get_stage_compile_error", + "index": 1 + }, + { + "type": "String", + "name": "compile_error_tesselation_control", + "setter": "set_stage_compile_error", + "getter": "get_stage_compile_error", + "index": 2 + }, + { + "type": "String", + "name": "compile_error_tesselation_evaluation", + "setter": "set_stage_compile_error", + "getter": "get_stage_compile_error", + "index": 3 + }, + { + "type": "String", + "name": "compile_error_compute", + "setter": "set_stage_compile_error", + "getter": "get_stage_compile_error", + "index": 4 + } + ] + }, + { + "name": "RDShaderSource", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_stage_source", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "stage", + "type": "enum::RenderingDevice.ShaderStage" + }, + { + "name": "source", + "type": "String" + } + ] + }, + { + "name": "get_stage_source", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "stage", + "type": "enum::RenderingDevice.ShaderStage" + } + ] + }, + { + "name": "set_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "language", + "type": "enum::RenderingDevice.ShaderLanguage" + } + ] + }, + { + "name": "get_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.ShaderLanguage" + } + } + ], + "properties": [ + { + "type": "String", + "name": "source_vertex", + "setter": "set_stage_source", + "getter": "get_stage_source", + "index": 0 + }, + { + "type": "String", + "name": "source_fragment", + "setter": "set_stage_source", + "getter": "get_stage_source", + "index": 1 + }, + { + "type": "String", + "name": "source_tesselation_control", + "setter": "set_stage_source", + "getter": "get_stage_source", + "index": 2 + }, + { + "type": "String", + "name": "source_tesselation_evaluation", + "setter": "set_stage_source", + "getter": "get_stage_source", + "index": 3 + }, + { + "type": "String", + "name": "source_compute", + "setter": "set_stage_source", + "getter": "get_stage_source", + "index": 4 + }, + { + "type": "int", + "name": "language", + "setter": "set_language", + "getter": "get_language", + "index": -1 + } + ] + }, + { + "name": "RDTextureFormat", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_format", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.DataFormat" + } + ] + }, + { + "name": "get_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.DataFormat" + } + }, + { + "name": "set_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_depth", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_depth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_array_layers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_array_layers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_mipmaps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_mipmaps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_texture_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.TextureType" + } + ] + }, + { + "name": "get_texture_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.TextureType" + } + }, + { + "name": "set_samples", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.TextureSamples" + } + ] + }, + { + "name": "get_samples", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.TextureSamples" + } + }, + { + "name": "set_usage_bits", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_usage_bits", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "add_shareable_format", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "format", + "type": "enum::RenderingDevice.DataFormat" + } + ] + }, + { + "name": "remove_shareable_format", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "format", + "type": "enum::RenderingDevice.DataFormat" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "format", + "setter": "set_format", + "getter": "get_format", + "index": -1 + }, + { + "type": "int", + "name": "width", + "setter": "set_width", + "getter": "get_width", + "index": -1 + }, + { + "type": "int", + "name": "height", + "setter": "set_height", + "getter": "get_height", + "index": -1 + }, + { + "type": "int", + "name": "depth", + "setter": "set_depth", + "getter": "get_depth", + "index": -1 + }, + { + "type": "int", + "name": "array_layers", + "setter": "set_array_layers", + "getter": "get_array_layers", + "index": -1 + }, + { + "type": "int", + "name": "mipmaps", + "setter": "set_mipmaps", + "getter": "get_mipmaps", + "index": -1 + }, + { + "type": "int", + "name": "texture_type", + "setter": "set_texture_type", + "getter": "get_texture_type", + "index": -1 + }, + { + "type": "int", + "name": "samples", + "setter": "set_samples", + "getter": "get_samples", + "index": -1 + }, + { + "type": "int", + "name": "usage_bits", + "setter": "set_usage_bits", + "getter": "get_usage_bits", + "index": -1 + } + ] + }, + { + "name": "RDTextureView", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_format_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.DataFormat" + } + ] + }, + { + "name": "get_format_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.DataFormat" + } + }, + { + "name": "set_swizzle_r", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.TextureSwizzle" + } + ] + }, + { + "name": "get_swizzle_r", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.TextureSwizzle" + } + }, + { + "name": "set_swizzle_g", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.TextureSwizzle" + } + ] + }, + { + "name": "get_swizzle_g", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.TextureSwizzle" + } + }, + { + "name": "set_swizzle_b", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.TextureSwizzle" + } + ] + }, + { + "name": "get_swizzle_b", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.TextureSwizzle" + } + }, + { + "name": "set_swizzle_a", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.TextureSwizzle" + } + ] + }, + { + "name": "get_swizzle_a", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.TextureSwizzle" + } + } + ], + "properties": [ + { + "type": "int", + "name": "format_override", + "setter": "set_format_override", + "getter": "get_format_override", + "index": -1 + }, + { + "type": "int", + "name": "swizzle_r", + "setter": "set_swizzle_r", + "getter": "get_swizzle_r", + "index": -1 + }, + { + "type": "int", + "name": "swizzle_g", + "setter": "set_swizzle_g", + "getter": "get_swizzle_g", + "index": -1 + }, + { + "type": "int", + "name": "swizzle_b", + "setter": "set_swizzle_b", + "getter": "get_swizzle_b", + "index": -1 + }, + { + "type": "int", + "name": "swizzle_a", + "setter": "set_swizzle_a", + "getter": "get_swizzle_a", + "index": -1 + } + ] + }, + { + "name": "RDUniform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_uniform_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.UniformType" + } + ] + }, + { + "name": "get_uniform_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.UniformType" + } + }, + { + "name": "set_binding", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_binding", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "add_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "RID" + } + ] + }, + { + "name": "clear_ids", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_ids", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + } + ], + "properties": [ + { + "type": "int", + "name": "uniform_type", + "setter": "set_uniform_type", + "getter": "get_uniform_type", + "index": -1 + }, + { + "type": "int", + "name": "binding", + "setter": "set_binding", + "getter": "get_binding", + "index": -1 + } + ] + }, + { + "name": "RDVertexAttribute", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_location", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_location", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_format", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.DataFormat" + } + ] + }, + { + "name": "get_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.DataFormat" + } + }, + { + "name": "set_stride", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_stride", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_frequency", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "p_member", + "type": "enum::RenderingDevice.VertexFrequency" + } + ] + }, + { + "name": "get_frequency", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RenderingDevice.VertexFrequency" + } + } + ], + "properties": [ + { + "type": "int", + "name": "location", + "setter": "set_location", + "getter": "get_location", + "index": -1 + }, + { + "type": "int", + "name": "offset", + "setter": "set_offset", + "getter": "get_offset", + "index": -1 + }, + { + "type": "int", + "name": "format", + "setter": "set_format", + "getter": "get_format", + "index": -1 + }, + { + "type": "int", + "name": "stride", + "setter": "set_stride", + "getter": "get_stride", + "index": -1 + }, + { + "type": "int", + "name": "frequency", + "setter": "set_frequency", + "getter": "get_frequency", + "index": -1 + } + ] + }, + { + "name": "RandomNumberGenerator", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_seed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "seed", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "get_seed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "set_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "state", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "get_state", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "randi", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "randf", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "randfn", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 437865044, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "mean", + "type": "float", + "meta": "float", + "default_value": "0.0" + }, + { + "name": "deviation", + "type": "float", + "meta": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "randf_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "from", + "type": "float", + "meta": "float" + }, + { + "name": "to", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "randi_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "from", + "type": "int", + "meta": "int32" + }, + { + "name": "to", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "randomize", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "properties": [ + { + "type": "int", + "name": "seed", + "setter": "set_seed", + "getter": "get_seed", + "index": -1 + }, + { + "type": "int", + "name": "state", + "setter": "set_state", + "getter": "get_state", + "index": -1 + } + ] + }, + { + "name": "Range", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Control", + "api_type": "core", + "methods": [ + { + "name": "get_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "get_min", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "get_max", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "get_step", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "get_page", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "get_as_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "set_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "set_min", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "minimum", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "set_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "maximum", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "set_step", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "step", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "set_page", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pagesize", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "set_as_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "set_use_rounded_values", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_using_rounded_values", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_exp_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_ratio_exp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_allow_greater", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "allow", + "type": "bool" + } + ] + }, + { + "name": "is_greater_allowed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_allow_lesser", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "allow", + "type": "bool" + } + ] + }, + { + "name": "is_lesser_allowed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "share", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "with", + "type": "Node" + } + ] + }, + { + "name": "unshare", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "signals": [ + { + "name": "value_changed", + "arguments": [ + { + "name": "value", + "type": "float" + } + ] + }, + { + "name": "changed" + } + ], + "properties": [ + { + "type": "float", + "name": "min_value", + "setter": "set_min", + "getter": "get_min", + "index": -1 + }, + { + "type": "float", + "name": "max_value", + "setter": "set_max", + "getter": "get_max", + "index": -1 + }, + { + "type": "float", + "name": "step", + "setter": "set_step", + "getter": "get_step", + "index": -1 + }, + { + "type": "float", + "name": "page", + "setter": "set_page", + "getter": "get_page", + "index": -1 + }, + { + "type": "float", + "name": "value", + "setter": "set_value", + "getter": "get_value", + "index": -1 + }, + { + "type": "float", + "name": "ratio", + "setter": "set_as_ratio", + "getter": "get_as_ratio", + "index": -1 + }, + { + "type": "bool", + "name": "exp_edit", + "setter": "set_exp_ratio", + "getter": "is_ratio_exp", + "index": -1 + }, + { + "type": "bool", + "name": "rounded", + "setter": "set_use_rounded_values", + "getter": "is_using_rounded_values", + "index": -1 + }, + { + "type": "bool", + "name": "allow_greater", + "setter": "set_allow_greater", + "getter": "is_greater_allowed", + "index": -1 + }, + { + "type": "bool", + "name": "allow_lesser", + "setter": "set_allow_lesser", + "getter": "is_lesser_allowed", + "index": -1 + } + ] + }, + { + "name": "RayCast2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_target_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "local_point", + "type": "Vector2" + } + ] + }, + { + "name": "get_target_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "is_colliding", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "force_raycast_update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_collider", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Object" + } + }, + { + "name": "get_collider_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_collision_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_collision_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "add_exception_rid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "add_exception", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Object" + } + ] + }, + { + "name": "remove_exception_rid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "remove_exception", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Object" + } + ] + }, + { + "name": "clear_exceptions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_mask_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_mask_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_exclude_parent_body", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "bool" + } + ] + }, + { + "name": "get_exclude_parent_body", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_collide_with_areas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_collide_with_areas_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_collide_with_bodies", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_collide_with_bodies_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "enabled", + "setter": "set_enabled", + "getter": "is_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "exclude_parent", + "setter": "set_exclude_parent_body", + "getter": "get_exclude_parent_body", + "index": -1 + }, + { + "type": "Vector2", + "name": "target_position", + "setter": "set_target_position", + "getter": "get_target_position", + "index": -1 + }, + { + "type": "int", + "name": "collision_mask", + "setter": "set_collision_mask", + "getter": "get_collision_mask", + "index": -1 + }, + { + "type": "bool", + "name": "collide_with_areas", + "setter": "set_collide_with_areas", + "getter": "is_collide_with_areas_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "collide_with_bodies", + "setter": "set_collide_with_bodies", + "getter": "is_collide_with_bodies_enabled", + "index": -1 + } + ] + }, + { + "name": "RayCast3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_target_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "local_point", + "type": "Vector3" + } + ] + }, + { + "name": "get_target_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "is_colliding", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "force_raycast_update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_collider", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Object" + } + }, + { + "name": "get_collider_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_collision_point", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_collision_normal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "add_exception_rid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "add_exception", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Object" + } + ] + }, + { + "name": "remove_exception_rid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "remove_exception", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "Object" + } + ] + }, + { + "name": "clear_exceptions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_mask_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_mask_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_exclude_parent_body", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "bool" + } + ] + }, + { + "name": "get_exclude_parent_body", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_collide_with_areas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_collide_with_areas_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_collide_with_bodies", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_collide_with_bodies_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_debug_shape_custom_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "debug_shape_custom_color", + "type": "Color" + } + ] + }, + { + "name": "get_debug_shape_custom_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_debug_shape_thickness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "debug_shape_thickness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_debug_shape_thickness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "enabled", + "setter": "set_enabled", + "getter": "is_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "exclude_parent", + "setter": "set_exclude_parent_body", + "getter": "get_exclude_parent_body", + "index": -1 + }, + { + "type": "Vector3", + "name": "target_position", + "setter": "set_target_position", + "getter": "get_target_position", + "index": -1 + }, + { + "type": "int", + "name": "collision_mask", + "setter": "set_collision_mask", + "getter": "get_collision_mask", + "index": -1 + }, + { + "type": "bool", + "name": "collide_with_areas", + "setter": "set_collide_with_areas", + "getter": "is_collide_with_areas_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "collide_with_bodies", + "setter": "set_collide_with_bodies", + "getter": "is_collide_with_bodies_enabled", + "index": -1 + }, + { + "type": "Color", + "name": "debug_shape_custom_color", + "setter": "set_debug_shape_custom_color", + "getter": "get_debug_shape_custom_color", + "index": -1 + }, + { + "type": "int", + "name": "debug_shape_thickness", + "setter": "set_debug_shape_thickness", + "getter": "get_debug_shape_thickness", + "index": -1 + } + ] + }, + { + "name": "RayShape2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape2D", + "api_type": "core", + "methods": [ + { + "name": "set_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_slips_on_slope", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "get_slips_on_slope", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "float", + "name": "length", + "setter": "set_length", + "getter": "get_length", + "index": -1 + }, + { + "type": "bool", + "name": "slips_on_slope", + "setter": "set_slips_on_slope", + "getter": "get_slips_on_slope", + "index": -1 + } + ] + }, + { + "name": "RayShape3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape3D", + "api_type": "core", + "methods": [ + { + "name": "set_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_slips_on_slope", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "get_slips_on_slope", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "float", + "name": "length", + "setter": "set_length", + "getter": "get_length", + "index": -1 + }, + { + "type": "bool", + "name": "slips_on_slope", + "setter": "set_slips_on_slope", + "getter": "get_slips_on_slope", + "index": -1 + } + ] + }, + { + "name": "RectangleShape2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape2D", + "api_type": "core", + "methods": [ + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + } + ] + }, + { + "name": "RefCounted", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "init_ref", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "reference", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "unreference", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + } + ] + }, + { + "name": "ReferenceRect", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "methods": [ + { + "name": "get_border_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_border_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_border_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_border_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_editor_only", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_editor_only", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + } + ], + "properties": [ + { + "type": "Color", + "name": "border_color", + "setter": "set_border_color", + "getter": "get_border_color", + "index": -1 + }, + { + "type": "float", + "name": "border_width", + "setter": "set_border_width", + "getter": "get_border_width", + "index": -1 + }, + { + "type": "bool", + "name": "editor_only", + "setter": "set_editor_only", + "getter": "get_editor_only", + "index": -1 + } + ] + }, + { + "name": "ReflectionProbe", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "VisualInstance3D", + "api_type": "core", + "enums": [ + { + "name": "AmbientMode", + "values": [ + { + "name": "AMBIENT_DISABLED", + "value": 0 + }, + { + "name": "AMBIENT_ENVIRONMENT", + "value": 1 + }, + { + "name": "AMBIENT_COLOR", + "value": 2 + } + ] + }, + { + "name": "UpdateMode", + "values": [ + { + "name": "UPDATE_ONCE", + "value": 0 + }, + { + "name": "UPDATE_ALWAYS", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_intensity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "intensity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_intensity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ambient_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ambient", + "type": "enum::ReflectionProbe.AmbientMode" + } + ] + }, + { + "name": "get_ambient_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::ReflectionProbe.AmbientMode" + } + }, + { + "name": "set_ambient_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ambient", + "type": "Color" + } + ] + }, + { + "name": "get_ambient_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_ambient_color_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ambient_energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ambient_color_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_max_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_lod_threshold", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_lod_threshold", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "get_extents", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_origin_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "origin_offset", + "type": "Vector3" + } + ] + }, + { + "name": "get_origin_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_as_interior", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_set_as_interior", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_enable_box_projection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_box_projection_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_enable_shadows", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "are_shadows_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layers", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_cull_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_update_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::ReflectionProbe.UpdateMode" + } + ] + }, + { + "name": "get_update_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::ReflectionProbe.UpdateMode" + } + } + ], + "properties": [ + { + "type": "int", + "name": "update_mode", + "setter": "set_update_mode", + "getter": "get_update_mode", + "index": -1 + }, + { + "type": "float", + "name": "intensity", + "setter": "set_intensity", + "getter": "get_intensity", + "index": -1 + }, + { + "type": "float", + "name": "max_distance", + "setter": "set_max_distance", + "getter": "get_max_distance", + "index": -1 + }, + { + "type": "Vector3", + "name": "extents", + "setter": "set_extents", + "getter": "get_extents", + "index": -1 + }, + { + "type": "Vector3", + "name": "origin_offset", + "setter": "set_origin_offset", + "getter": "get_origin_offset", + "index": -1 + }, + { + "type": "bool", + "name": "box_projection", + "setter": "set_enable_box_projection", + "getter": "is_box_projection_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "interior", + "setter": "set_as_interior", + "getter": "is_set_as_interior", + "index": -1 + }, + { + "type": "bool", + "name": "enable_shadows", + "setter": "set_enable_shadows", + "getter": "are_shadows_enabled", + "index": -1 + }, + { + "type": "int", + "name": "cull_mask", + "setter": "set_cull_mask", + "getter": "get_cull_mask", + "index": -1 + }, + { + "type": "float", + "name": "lod_threshold", + "setter": "set_lod_threshold", + "getter": "get_lod_threshold", + "index": -1 + }, + { + "type": "int", + "name": "ambient_mode", + "setter": "set_ambient_mode", + "getter": "get_ambient_mode", + "index": -1 + }, + { + "type": "Color", + "name": "ambient_color", + "setter": "set_ambient_color", + "getter": "get_ambient_color", + "index": -1 + }, + { + "type": "float", + "name": "ambient_color_energy", + "setter": "set_ambient_color_energy", + "getter": "get_ambient_color_energy", + "index": -1 + } + ] + }, + { + "name": "RegEx", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "compile", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "pattern", + "type": "String" + } + ] + }, + { + "name": "search", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1474135340, + "return_value": { + "type": "RegExMatch" + }, + "arguments": [ + { + "name": "subject", + "type": "String" + }, + { + "name": "offset", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "end", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "search_all", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1474135340, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "subject", + "type": "String" + }, + { + "name": "offset", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "end", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "sub", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 4023896239, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "subject", + "type": "String" + }, + { + "name": "replacement", + "type": "String" + }, + { + "name": "all", + "type": "bool", + "default_value": "false" + }, + { + "name": "offset", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "end", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "is_valid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_pattern", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_group_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_names", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + } + ] + }, + { + "name": "RegExMatch", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "get_subject", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_group_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_names", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "get_strings", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_string", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "name", + "type": "Variant", + "default_value": "0" + } + ] + }, + { + "name": "get_start", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "Variant", + "default_value": "0" + } + ] + }, + { + "name": "get_end", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "Variant", + "default_value": "0" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "subject", + "setter": "", + "getter": "get_subject", + "index": -1 + }, + { + "type": "Dictionary", + "name": "names", + "setter": "", + "getter": "get_names", + "index": -1 + }, + { + "type": "Array", + "name": "strings", + "setter": "", + "getter": "get_strings", + "index": -1 + } + ] + }, + { + "name": "RemoteTransform2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_remote_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_remote_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "force_update_cache", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_use_global_coordinates", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "use_global_coordinates", + "type": "bool" + } + ] + }, + { + "name": "get_use_global_coordinates", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_update_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "update_remote_position", + "type": "bool" + } + ] + }, + { + "name": "get_update_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_update_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "update_remote_rotation", + "type": "bool" + } + ] + }, + { + "name": "get_update_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_update_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "update_remote_scale", + "type": "bool" + } + ] + }, + { + "name": "get_update_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "NodePath", + "name": "remote_path", + "setter": "set_remote_node", + "getter": "get_remote_node", + "index": -1 + }, + { + "type": "bool", + "name": "use_global_coordinates", + "setter": "set_use_global_coordinates", + "getter": "get_use_global_coordinates", + "index": -1 + }, + { + "type": "bool", + "name": "update_position", + "setter": "set_update_position", + "getter": "get_update_position", + "index": -1 + }, + { + "type": "bool", + "name": "update_rotation", + "setter": "set_update_rotation", + "getter": "get_update_rotation", + "index": -1 + }, + { + "type": "bool", + "name": "update_scale", + "setter": "set_update_scale", + "getter": "get_update_scale", + "index": -1 + } + ] + }, + { + "name": "RemoteTransform3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_remote_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_remote_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "force_update_cache", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_use_global_coordinates", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "use_global_coordinates", + "type": "bool" + } + ] + }, + { + "name": "get_use_global_coordinates", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_update_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "update_remote_position", + "type": "bool" + } + ] + }, + { + "name": "get_update_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_update_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "update_remote_rotation", + "type": "bool" + } + ] + }, + { + "name": "get_update_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_update_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "update_remote_scale", + "type": "bool" + } + ] + }, + { + "name": "get_update_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "NodePath", + "name": "remote_path", + "setter": "set_remote_node", + "getter": "get_remote_node", + "index": -1 + }, + { + "type": "bool", + "name": "use_global_coordinates", + "setter": "set_use_global_coordinates", + "getter": "get_use_global_coordinates", + "index": -1 + }, + { + "type": "bool", + "name": "update_position", + "setter": "set_update_position", + "getter": "get_update_position", + "index": -1 + }, + { + "type": "bool", + "name": "update_rotation", + "setter": "set_update_rotation", + "getter": "get_update_rotation", + "index": -1 + }, + { + "type": "bool", + "name": "update_scale", + "setter": "set_update_scale", + "getter": "get_update_scale", + "index": -1 + } + ] + }, + { + "name": "RenderingDevice", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "constants": [ + { + "name": "BARRIER_MASK_RASTER", + "value": 1 + }, + { + "name": "BARRIER_MASK_COMPUTE", + "value": 2 + }, + { + "name": "BARRIER_MASK_TRANSFER", + "value": 4 + }, + { + "name": "BARRIER_MASK_ALL", + "value": 7 + }, + { + "name": "BARRIER_MASK_NO_BARRIER", + "value": 8 + }, + { + "name": "INVALID_ID", + "value": -1 + }, + { + "name": "INVALID_FORMAT_ID", + "value": -1 + } + ], + "enums": [ + { + "name": "MemoryType", + "values": [ + { + "name": "MEMORY_TEXTURES", + "value": 0 + }, + { + "name": "MEMORY_BUFFERS", + "value": 1 + }, + { + "name": "MEMORY_TOTAL", + "value": 2 + } + ] + }, + { + "name": "ShaderLanguage", + "values": [ + { + "name": "SHADER_LANGUAGE_GLSL", + "value": 0 + }, + { + "name": "SHADER_LANGUAGE_HLSL", + "value": 1 + } + ] + }, + { + "name": "ShaderStage", + "values": [ + { + "name": "SHADER_STAGE_VERTEX", + "value": 0 + }, + { + "name": "SHADER_STAGE_FRAGMENT", + "value": 1 + }, + { + "name": "SHADER_STAGE_TESSELATION_CONTROL", + "value": 2 + }, + { + "name": "SHADER_STAGE_TESSELATION_EVALUATION", + "value": 3 + }, + { + "name": "SHADER_STAGE_COMPUTE", + "value": 4 + }, + { + "name": "SHADER_STAGE_MAX", + "value": 5 + }, + { + "name": "SHADER_STAGE_VERTEX_BIT", + "value": 1 + }, + { + "name": "SHADER_STAGE_FRAGMENT_BIT", + "value": 2 + }, + { + "name": "SHADER_STAGE_TESSELATION_CONTROL_BIT", + "value": 4 + }, + { + "name": "SHADER_STAGE_TESSELATION_EVALUATION_BIT", + "value": 8 + }, + { + "name": "SHADER_STAGE_COMPUTE_BIT", + "value": 16 + } + ] + }, + { + "name": "CompareOperator", + "values": [ + { + "name": "COMPARE_OP_NEVER", + "value": 0 + }, + { + "name": "COMPARE_OP_LESS", + "value": 1 + }, + { + "name": "COMPARE_OP_EQUAL", + "value": 2 + }, + { + "name": "COMPARE_OP_LESS_OR_EQUAL", + "value": 3 + }, + { + "name": "COMPARE_OP_GREATER", + "value": 4 + }, + { + "name": "COMPARE_OP_NOT_EQUAL", + "value": 5 + }, + { + "name": "COMPARE_OP_GREATER_OR_EQUAL", + "value": 6 + }, + { + "name": "COMPARE_OP_ALWAYS", + "value": 7 + }, + { + "name": "COMPARE_OP_MAX", + "value": 8 + } + ] + }, + { + "name": "StencilOperation", + "values": [ + { + "name": "STENCIL_OP_KEEP", + "value": 0 + }, + { + "name": "STENCIL_OP_ZERO", + "value": 1 + }, + { + "name": "STENCIL_OP_REPLACE", + "value": 2 + }, + { + "name": "STENCIL_OP_INCREMENT_AND_CLAMP", + "value": 3 + }, + { + "name": "STENCIL_OP_DECREMENT_AND_CLAMP", + "value": 4 + }, + { + "name": "STENCIL_OP_INVERT", + "value": 5 + }, + { + "name": "STENCIL_OP_INCREMENT_AND_WRAP", + "value": 6 + }, + { + "name": "STENCIL_OP_DECREMENT_AND_WRAP", + "value": 7 + }, + { + "name": "STENCIL_OP_MAX", + "value": 8 + } + ] + }, + { + "name": "IndexBufferFormat", + "values": [ + { + "name": "INDEX_BUFFER_FORMAT_UINT16", + "value": 0 + }, + { + "name": "INDEX_BUFFER_FORMAT_UINT32", + "value": 1 + } + ] + }, + { + "name": "TextureSliceType", + "values": [ + { + "name": "TEXTURE_SLICE_2D", + "value": 0 + }, + { + "name": "TEXTURE_SLICE_CUBEMAP", + "value": 1 + }, + { + "name": "TEXTURE_SLICE_3D", + "value": 2 + } + ] + }, + { + "name": "TextureType", + "values": [ + { + "name": "TEXTURE_TYPE_1D", + "value": 0 + }, + { + "name": "TEXTURE_TYPE_2D", + "value": 1 + }, + { + "name": "TEXTURE_TYPE_3D", + "value": 2 + }, + { + "name": "TEXTURE_TYPE_CUBE", + "value": 3 + }, + { + "name": "TEXTURE_TYPE_1D_ARRAY", + "value": 4 + }, + { + "name": "TEXTURE_TYPE_2D_ARRAY", + "value": 5 + }, + { + "name": "TEXTURE_TYPE_CUBE_ARRAY", + "value": 6 + }, + { + "name": "TEXTURE_TYPE_MAX", + "value": 7 + } + ] + }, + { + "name": "DataFormat", + "values": [ + { + "name": "DATA_FORMAT_R4G4_UNORM_PACK8", + "value": 0 + }, + { + "name": "DATA_FORMAT_R4G4B4A4_UNORM_PACK16", + "value": 1 + }, + { + "name": "DATA_FORMAT_B4G4R4A4_UNORM_PACK16", + "value": 2 + }, + { + "name": "DATA_FORMAT_R5G6B5_UNORM_PACK16", + "value": 3 + }, + { + "name": "DATA_FORMAT_B5G6R5_UNORM_PACK16", + "value": 4 + }, + { + "name": "DATA_FORMAT_R5G5B5A1_UNORM_PACK16", + "value": 5 + }, + { + "name": "DATA_FORMAT_B5G5R5A1_UNORM_PACK16", + "value": 6 + }, + { + "name": "DATA_FORMAT_A1R5G5B5_UNORM_PACK16", + "value": 7 + }, + { + "name": "DATA_FORMAT_R8_UNORM", + "value": 8 + }, + { + "name": "DATA_FORMAT_R8_SNORM", + "value": 9 + }, + { + "name": "DATA_FORMAT_R8_USCALED", + "value": 10 + }, + { + "name": "DATA_FORMAT_R8_SSCALED", + "value": 11 + }, + { + "name": "DATA_FORMAT_R8_UINT", + "value": 12 + }, + { + "name": "DATA_FORMAT_R8_SINT", + "value": 13 + }, + { + "name": "DATA_FORMAT_R8_SRGB", + "value": 14 + }, + { + "name": "DATA_FORMAT_R8G8_UNORM", + "value": 15 + }, + { + "name": "DATA_FORMAT_R8G8_SNORM", + "value": 16 + }, + { + "name": "DATA_FORMAT_R8G8_USCALED", + "value": 17 + }, + { + "name": "DATA_FORMAT_R8G8_SSCALED", + "value": 18 + }, + { + "name": "DATA_FORMAT_R8G8_UINT", + "value": 19 + }, + { + "name": "DATA_FORMAT_R8G8_SINT", + "value": 20 + }, + { + "name": "DATA_FORMAT_R8G8_SRGB", + "value": 21 + }, + { + "name": "DATA_FORMAT_R8G8B8_UNORM", + "value": 22 + }, + { + "name": "DATA_FORMAT_R8G8B8_SNORM", + "value": 23 + }, + { + "name": "DATA_FORMAT_R8G8B8_USCALED", + "value": 24 + }, + { + "name": "DATA_FORMAT_R8G8B8_SSCALED", + "value": 25 + }, + { + "name": "DATA_FORMAT_R8G8B8_UINT", + "value": 26 + }, + { + "name": "DATA_FORMAT_R8G8B8_SINT", + "value": 27 + }, + { + "name": "DATA_FORMAT_R8G8B8_SRGB", + "value": 28 + }, + { + "name": "DATA_FORMAT_B8G8R8_UNORM", + "value": 29 + }, + { + "name": "DATA_FORMAT_B8G8R8_SNORM", + "value": 30 + }, + { + "name": "DATA_FORMAT_B8G8R8_USCALED", + "value": 31 + }, + { + "name": "DATA_FORMAT_B8G8R8_SSCALED", + "value": 32 + }, + { + "name": "DATA_FORMAT_B8G8R8_UINT", + "value": 33 + }, + { + "name": "DATA_FORMAT_B8G8R8_SINT", + "value": 34 + }, + { + "name": "DATA_FORMAT_B8G8R8_SRGB", + "value": 35 + }, + { + "name": "DATA_FORMAT_R8G8B8A8_UNORM", + "value": 36 + }, + { + "name": "DATA_FORMAT_R8G8B8A8_SNORM", + "value": 37 + }, + { + "name": "DATA_FORMAT_R8G8B8A8_USCALED", + "value": 38 + }, + { + "name": "DATA_FORMAT_R8G8B8A8_SSCALED", + "value": 39 + }, + { + "name": "DATA_FORMAT_R8G8B8A8_UINT", + "value": 40 + }, + { + "name": "DATA_FORMAT_R8G8B8A8_SINT", + "value": 41 + }, + { + "name": "DATA_FORMAT_R8G8B8A8_SRGB", + "value": 42 + }, + { + "name": "DATA_FORMAT_B8G8R8A8_UNORM", + "value": 43 + }, + { + "name": "DATA_FORMAT_B8G8R8A8_SNORM", + "value": 44 + }, + { + "name": "DATA_FORMAT_B8G8R8A8_USCALED", + "value": 45 + }, + { + "name": "DATA_FORMAT_B8G8R8A8_SSCALED", + "value": 46 + }, + { + "name": "DATA_FORMAT_B8G8R8A8_UINT", + "value": 47 + }, + { + "name": "DATA_FORMAT_B8G8R8A8_SINT", + "value": 48 + }, + { + "name": "DATA_FORMAT_B8G8R8A8_SRGB", + "value": 49 + }, + { + "name": "DATA_FORMAT_A8B8G8R8_UNORM_PACK32", + "value": 50 + }, + { + "name": "DATA_FORMAT_A8B8G8R8_SNORM_PACK32", + "value": 51 + }, + { + "name": "DATA_FORMAT_A8B8G8R8_USCALED_PACK32", + "value": 52 + }, + { + "name": "DATA_FORMAT_A8B8G8R8_SSCALED_PACK32", + "value": 53 + }, + { + "name": "DATA_FORMAT_A8B8G8R8_UINT_PACK32", + "value": 54 + }, + { + "name": "DATA_FORMAT_A8B8G8R8_SINT_PACK32", + "value": 55 + }, + { + "name": "DATA_FORMAT_A8B8G8R8_SRGB_PACK32", + "value": 56 + }, + { + "name": "DATA_FORMAT_A2R10G10B10_UNORM_PACK32", + "value": 57 + }, + { + "name": "DATA_FORMAT_A2R10G10B10_SNORM_PACK32", + "value": 58 + }, + { + "name": "DATA_FORMAT_A2R10G10B10_USCALED_PACK32", + "value": 59 + }, + { + "name": "DATA_FORMAT_A2R10G10B10_SSCALED_PACK32", + "value": 60 + }, + { + "name": "DATA_FORMAT_A2R10G10B10_UINT_PACK32", + "value": 61 + }, + { + "name": "DATA_FORMAT_A2R10G10B10_SINT_PACK32", + "value": 62 + }, + { + "name": "DATA_FORMAT_A2B10G10R10_UNORM_PACK32", + "value": 63 + }, + { + "name": "DATA_FORMAT_A2B10G10R10_SNORM_PACK32", + "value": 64 + }, + { + "name": "DATA_FORMAT_A2B10G10R10_USCALED_PACK32", + "value": 65 + }, + { + "name": "DATA_FORMAT_A2B10G10R10_SSCALED_PACK32", + "value": 66 + }, + { + "name": "DATA_FORMAT_A2B10G10R10_UINT_PACK32", + "value": 67 + }, + { + "name": "DATA_FORMAT_A2B10G10R10_SINT_PACK32", + "value": 68 + }, + { + "name": "DATA_FORMAT_R16_UNORM", + "value": 69 + }, + { + "name": "DATA_FORMAT_R16_SNORM", + "value": 70 + }, + { + "name": "DATA_FORMAT_R16_USCALED", + "value": 71 + }, + { + "name": "DATA_FORMAT_R16_SSCALED", + "value": 72 + }, + { + "name": "DATA_FORMAT_R16_UINT", + "value": 73 + }, + { + "name": "DATA_FORMAT_R16_SINT", + "value": 74 + }, + { + "name": "DATA_FORMAT_R16_SFLOAT", + "value": 75 + }, + { + "name": "DATA_FORMAT_R16G16_UNORM", + "value": 76 + }, + { + "name": "DATA_FORMAT_R16G16_SNORM", + "value": 77 + }, + { + "name": "DATA_FORMAT_R16G16_USCALED", + "value": 78 + }, + { + "name": "DATA_FORMAT_R16G16_SSCALED", + "value": 79 + }, + { + "name": "DATA_FORMAT_R16G16_UINT", + "value": 80 + }, + { + "name": "DATA_FORMAT_R16G16_SINT", + "value": 81 + }, + { + "name": "DATA_FORMAT_R16G16_SFLOAT", + "value": 82 + }, + { + "name": "DATA_FORMAT_R16G16B16_UNORM", + "value": 83 + }, + { + "name": "DATA_FORMAT_R16G16B16_SNORM", + "value": 84 + }, + { + "name": "DATA_FORMAT_R16G16B16_USCALED", + "value": 85 + }, + { + "name": "DATA_FORMAT_R16G16B16_SSCALED", + "value": 86 + }, + { + "name": "DATA_FORMAT_R16G16B16_UINT", + "value": 87 + }, + { + "name": "DATA_FORMAT_R16G16B16_SINT", + "value": 88 + }, + { + "name": "DATA_FORMAT_R16G16B16_SFLOAT", + "value": 89 + }, + { + "name": "DATA_FORMAT_R16G16B16A16_UNORM", + "value": 90 + }, + { + "name": "DATA_FORMAT_R16G16B16A16_SNORM", + "value": 91 + }, + { + "name": "DATA_FORMAT_R16G16B16A16_USCALED", + "value": 92 + }, + { + "name": "DATA_FORMAT_R16G16B16A16_SSCALED", + "value": 93 + }, + { + "name": "DATA_FORMAT_R16G16B16A16_UINT", + "value": 94 + }, + { + "name": "DATA_FORMAT_R16G16B16A16_SINT", + "value": 95 + }, + { + "name": "DATA_FORMAT_R16G16B16A16_SFLOAT", + "value": 96 + }, + { + "name": "DATA_FORMAT_R32_UINT", + "value": 97 + }, + { + "name": "DATA_FORMAT_R32_SINT", + "value": 98 + }, + { + "name": "DATA_FORMAT_R32_SFLOAT", + "value": 99 + }, + { + "name": "DATA_FORMAT_R32G32_UINT", + "value": 100 + }, + { + "name": "DATA_FORMAT_R32G32_SINT", + "value": 101 + }, + { + "name": "DATA_FORMAT_R32G32_SFLOAT", + "value": 102 + }, + { + "name": "DATA_FORMAT_R32G32B32_UINT", + "value": 103 + }, + { + "name": "DATA_FORMAT_R32G32B32_SINT", + "value": 104 + }, + { + "name": "DATA_FORMAT_R32G32B32_SFLOAT", + "value": 105 + }, + { + "name": "DATA_FORMAT_R32G32B32A32_UINT", + "value": 106 + }, + { + "name": "DATA_FORMAT_R32G32B32A32_SINT", + "value": 107 + }, + { + "name": "DATA_FORMAT_R32G32B32A32_SFLOAT", + "value": 108 + }, + { + "name": "DATA_FORMAT_R64_UINT", + "value": 109 + }, + { + "name": "DATA_FORMAT_R64_SINT", + "value": 110 + }, + { + "name": "DATA_FORMAT_R64_SFLOAT", + "value": 111 + }, + { + "name": "DATA_FORMAT_R64G64_UINT", + "value": 112 + }, + { + "name": "DATA_FORMAT_R64G64_SINT", + "value": 113 + }, + { + "name": "DATA_FORMAT_R64G64_SFLOAT", + "value": 114 + }, + { + "name": "DATA_FORMAT_R64G64B64_UINT", + "value": 115 + }, + { + "name": "DATA_FORMAT_R64G64B64_SINT", + "value": 116 + }, + { + "name": "DATA_FORMAT_R64G64B64_SFLOAT", + "value": 117 + }, + { + "name": "DATA_FORMAT_R64G64B64A64_UINT", + "value": 118 + }, + { + "name": "DATA_FORMAT_R64G64B64A64_SINT", + "value": 119 + }, + { + "name": "DATA_FORMAT_R64G64B64A64_SFLOAT", + "value": 120 + }, + { + "name": "DATA_FORMAT_B10G11R11_UFLOAT_PACK32", + "value": 121 + }, + { + "name": "DATA_FORMAT_E5B9G9R9_UFLOAT_PACK32", + "value": 122 + }, + { + "name": "DATA_FORMAT_D16_UNORM", + "value": 123 + }, + { + "name": "DATA_FORMAT_X8_D24_UNORM_PACK32", + "value": 124 + }, + { + "name": "DATA_FORMAT_D32_SFLOAT", + "value": 125 + }, + { + "name": "DATA_FORMAT_S8_UINT", + "value": 126 + }, + { + "name": "DATA_FORMAT_D16_UNORM_S8_UINT", + "value": 127 + }, + { + "name": "DATA_FORMAT_D24_UNORM_S8_UINT", + "value": 128 + }, + { + "name": "DATA_FORMAT_D32_SFLOAT_S8_UINT", + "value": 129 + }, + { + "name": "DATA_FORMAT_BC1_RGB_UNORM_BLOCK", + "value": 130 + }, + { + "name": "DATA_FORMAT_BC1_RGB_SRGB_BLOCK", + "value": 131 + }, + { + "name": "DATA_FORMAT_BC1_RGBA_UNORM_BLOCK", + "value": 132 + }, + { + "name": "DATA_FORMAT_BC1_RGBA_SRGB_BLOCK", + "value": 133 + }, + { + "name": "DATA_FORMAT_BC2_UNORM_BLOCK", + "value": 134 + }, + { + "name": "DATA_FORMAT_BC2_SRGB_BLOCK", + "value": 135 + }, + { + "name": "DATA_FORMAT_BC3_UNORM_BLOCK", + "value": 136 + }, + { + "name": "DATA_FORMAT_BC3_SRGB_BLOCK", + "value": 137 + }, + { + "name": "DATA_FORMAT_BC4_UNORM_BLOCK", + "value": 138 + }, + { + "name": "DATA_FORMAT_BC4_SNORM_BLOCK", + "value": 139 + }, + { + "name": "DATA_FORMAT_BC5_UNORM_BLOCK", + "value": 140 + }, + { + "name": "DATA_FORMAT_BC5_SNORM_BLOCK", + "value": 141 + }, + { + "name": "DATA_FORMAT_BC6H_UFLOAT_BLOCK", + "value": 142 + }, + { + "name": "DATA_FORMAT_BC6H_SFLOAT_BLOCK", + "value": 143 + }, + { + "name": "DATA_FORMAT_BC7_UNORM_BLOCK", + "value": 144 + }, + { + "name": "DATA_FORMAT_BC7_SRGB_BLOCK", + "value": 145 + }, + { + "name": "DATA_FORMAT_ETC2_R8G8B8_UNORM_BLOCK", + "value": 146 + }, + { + "name": "DATA_FORMAT_ETC2_R8G8B8_SRGB_BLOCK", + "value": 147 + }, + { + "name": "DATA_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK", + "value": 148 + }, + { + "name": "DATA_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK", + "value": 149 + }, + { + "name": "DATA_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK", + "value": 150 + }, + { + "name": "DATA_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK", + "value": 151 + }, + { + "name": "DATA_FORMAT_EAC_R11_UNORM_BLOCK", + "value": 152 + }, + { + "name": "DATA_FORMAT_EAC_R11_SNORM_BLOCK", + "value": 153 + }, + { + "name": "DATA_FORMAT_EAC_R11G11_UNORM_BLOCK", + "value": 154 + }, + { + "name": "DATA_FORMAT_EAC_R11G11_SNORM_BLOCK", + "value": 155 + }, + { + "name": "DATA_FORMAT_ASTC_4x4_UNORM_BLOCK", + "value": 156 + }, + { + "name": "DATA_FORMAT_ASTC_4x4_SRGB_BLOCK", + "value": 157 + }, + { + "name": "DATA_FORMAT_ASTC_5x4_UNORM_BLOCK", + "value": 158 + }, + { + "name": "DATA_FORMAT_ASTC_5x4_SRGB_BLOCK", + "value": 159 + }, + { + "name": "DATA_FORMAT_ASTC_5x5_UNORM_BLOCK", + "value": 160 + }, + { + "name": "DATA_FORMAT_ASTC_5x5_SRGB_BLOCK", + "value": 161 + }, + { + "name": "DATA_FORMAT_ASTC_6x5_UNORM_BLOCK", + "value": 162 + }, + { + "name": "DATA_FORMAT_ASTC_6x5_SRGB_BLOCK", + "value": 163 + }, + { + "name": "DATA_FORMAT_ASTC_6x6_UNORM_BLOCK", + "value": 164 + }, + { + "name": "DATA_FORMAT_ASTC_6x6_SRGB_BLOCK", + "value": 165 + }, + { + "name": "DATA_FORMAT_ASTC_8x5_UNORM_BLOCK", + "value": 166 + }, + { + "name": "DATA_FORMAT_ASTC_8x5_SRGB_BLOCK", + "value": 167 + }, + { + "name": "DATA_FORMAT_ASTC_8x6_UNORM_BLOCK", + "value": 168 + }, + { + "name": "DATA_FORMAT_ASTC_8x6_SRGB_BLOCK", + "value": 169 + }, + { + "name": "DATA_FORMAT_ASTC_8x8_UNORM_BLOCK", + "value": 170 + }, + { + "name": "DATA_FORMAT_ASTC_8x8_SRGB_BLOCK", + "value": 171 + }, + { + "name": "DATA_FORMAT_ASTC_10x5_UNORM_BLOCK", + "value": 172 + }, + { + "name": "DATA_FORMAT_ASTC_10x5_SRGB_BLOCK", + "value": 173 + }, + { + "name": "DATA_FORMAT_ASTC_10x6_UNORM_BLOCK", + "value": 174 + }, + { + "name": "DATA_FORMAT_ASTC_10x6_SRGB_BLOCK", + "value": 175 + }, + { + "name": "DATA_FORMAT_ASTC_10x8_UNORM_BLOCK", + "value": 176 + }, + { + "name": "DATA_FORMAT_ASTC_10x8_SRGB_BLOCK", + "value": 177 + }, + { + "name": "DATA_FORMAT_ASTC_10x10_UNORM_BLOCK", + "value": 178 + }, + { + "name": "DATA_FORMAT_ASTC_10x10_SRGB_BLOCK", + "value": 179 + }, + { + "name": "DATA_FORMAT_ASTC_12x10_UNORM_BLOCK", + "value": 180 + }, + { + "name": "DATA_FORMAT_ASTC_12x10_SRGB_BLOCK", + "value": 181 + }, + { + "name": "DATA_FORMAT_ASTC_12x12_UNORM_BLOCK", + "value": 182 + }, + { + "name": "DATA_FORMAT_ASTC_12x12_SRGB_BLOCK", + "value": 183 + }, + { + "name": "DATA_FORMAT_G8B8G8R8_422_UNORM", + "value": 184 + }, + { + "name": "DATA_FORMAT_B8G8R8G8_422_UNORM", + "value": 185 + }, + { + "name": "DATA_FORMAT_G8_B8_R8_3PLANE_420_UNORM", + "value": 186 + }, + { + "name": "DATA_FORMAT_G8_B8R8_2PLANE_420_UNORM", + "value": 187 + }, + { + "name": "DATA_FORMAT_G8_B8_R8_3PLANE_422_UNORM", + "value": 188 + }, + { + "name": "DATA_FORMAT_G8_B8R8_2PLANE_422_UNORM", + "value": 189 + }, + { + "name": "DATA_FORMAT_G8_B8_R8_3PLANE_444_UNORM", + "value": 190 + }, + { + "name": "DATA_FORMAT_R10X6_UNORM_PACK16", + "value": 191 + }, + { + "name": "DATA_FORMAT_R10X6G10X6_UNORM_2PACK16", + "value": 192 + }, + { + "name": "DATA_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16", + "value": 193 + }, + { + "name": "DATA_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16", + "value": 194 + }, + { + "name": "DATA_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16", + "value": 195 + }, + { + "name": "DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16", + "value": 196 + }, + { + "name": "DATA_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16", + "value": 197 + }, + { + "name": "DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16", + "value": 198 + }, + { + "name": "DATA_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16", + "value": 199 + }, + { + "name": "DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16", + "value": 200 + }, + { + "name": "DATA_FORMAT_R12X4_UNORM_PACK16", + "value": 201 + }, + { + "name": "DATA_FORMAT_R12X4G12X4_UNORM_2PACK16", + "value": 202 + }, + { + "name": "DATA_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16", + "value": 203 + }, + { + "name": "DATA_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16", + "value": 204 + }, + { + "name": "DATA_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16", + "value": 205 + }, + { + "name": "DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16", + "value": 206 + }, + { + "name": "DATA_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16", + "value": 207 + }, + { + "name": "DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16", + "value": 208 + }, + { + "name": "DATA_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16", + "value": 209 + }, + { + "name": "DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16", + "value": 210 + }, + { + "name": "DATA_FORMAT_G16B16G16R16_422_UNORM", + "value": 211 + }, + { + "name": "DATA_FORMAT_B16G16R16G16_422_UNORM", + "value": 212 + }, + { + "name": "DATA_FORMAT_G16_B16_R16_3PLANE_420_UNORM", + "value": 213 + }, + { + "name": "DATA_FORMAT_G16_B16R16_2PLANE_420_UNORM", + "value": 214 + }, + { + "name": "DATA_FORMAT_G16_B16_R16_3PLANE_422_UNORM", + "value": 215 + }, + { + "name": "DATA_FORMAT_G16_B16R16_2PLANE_422_UNORM", + "value": 216 + }, + { + "name": "DATA_FORMAT_G16_B16_R16_3PLANE_444_UNORM", + "value": 217 + }, + { + "name": "DATA_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG", + "value": 218 + }, + { + "name": "DATA_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG", + "value": 219 + }, + { + "name": "DATA_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG", + "value": 220 + }, + { + "name": "DATA_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG", + "value": 221 + }, + { + "name": "DATA_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG", + "value": 222 + }, + { + "name": "DATA_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG", + "value": 223 + }, + { + "name": "DATA_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG", + "value": 224 + }, + { + "name": "DATA_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG", + "value": 225 + }, + { + "name": "DATA_FORMAT_MAX", + "value": 226 + } + ] + }, + { + "name": "BlendFactor", + "values": [ + { + "name": "BLEND_FACTOR_ZERO", + "value": 0 + }, + { + "name": "BLEND_FACTOR_ONE", + "value": 1 + }, + { + "name": "BLEND_FACTOR_SRC_COLOR", + "value": 2 + }, + { + "name": "BLEND_FACTOR_ONE_MINUS_SRC_COLOR", + "value": 3 + }, + { + "name": "BLEND_FACTOR_DST_COLOR", + "value": 4 + }, + { + "name": "BLEND_FACTOR_ONE_MINUS_DST_COLOR", + "value": 5 + }, + { + "name": "BLEND_FACTOR_SRC_ALPHA", + "value": 6 + }, + { + "name": "BLEND_FACTOR_ONE_MINUS_SRC_ALPHA", + "value": 7 + }, + { + "name": "BLEND_FACTOR_DST_ALPHA", + "value": 8 + }, + { + "name": "BLEND_FACTOR_ONE_MINUS_DST_ALPHA", + "value": 9 + }, + { + "name": "BLEND_FACTOR_CONSTANT_COLOR", + "value": 10 + }, + { + "name": "BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR", + "value": 11 + }, + { + "name": "BLEND_FACTOR_CONSTANT_ALPHA", + "value": 12 + }, + { + "name": "BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA", + "value": 13 + }, + { + "name": "BLEND_FACTOR_SRC_ALPHA_SATURATE", + "value": 14 + }, + { + "name": "BLEND_FACTOR_SRC1_COLOR", + "value": 15 + }, + { + "name": "BLEND_FACTOR_ONE_MINUS_SRC1_COLOR", + "value": 16 + }, + { + "name": "BLEND_FACTOR_SRC1_ALPHA", + "value": 17 + }, + { + "name": "BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA", + "value": 18 + }, + { + "name": "BLEND_FACTOR_MAX", + "value": 19 + } + ] + }, + { + "name": "StorageBufferUsage", + "values": [ + { + "name": "STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT", + "value": 1 + } + ] + }, + { + "name": "PolygonCullMode", + "values": [ + { + "name": "POLYGON_CULL_DISABLED", + "value": 0 + }, + { + "name": "POLYGON_CULL_FRONT", + "value": 1 + }, + { + "name": "POLYGON_CULL_BACK", + "value": 2 + } + ] + }, + { + "name": "BlendOperation", + "values": [ + { + "name": "BLEND_OP_ADD", + "value": 0 + }, + { + "name": "BLEND_OP_SUBTRACT", + "value": 1 + }, + { + "name": "BLEND_OP_REVERSE_SUBTRACT", + "value": 2 + }, + { + "name": "BLEND_OP_MINIMUM", + "value": 3 + }, + { + "name": "BLEND_OP_MAXIMUM", + "value": 4 + }, + { + "name": "BLEND_OP_MAX", + "value": 5 + } + ] + }, + { + "name": "TextureSamples", + "values": [ + { + "name": "TEXTURE_SAMPLES_1", + "value": 0 + }, + { + "name": "TEXTURE_SAMPLES_2", + "value": 1 + }, + { + "name": "TEXTURE_SAMPLES_4", + "value": 2 + }, + { + "name": "TEXTURE_SAMPLES_8", + "value": 3 + }, + { + "name": "TEXTURE_SAMPLES_16", + "value": 4 + }, + { + "name": "TEXTURE_SAMPLES_32", + "value": 5 + }, + { + "name": "TEXTURE_SAMPLES_64", + "value": 6 + }, + { + "name": "TEXTURE_SAMPLES_MAX", + "value": 7 + } + ] + }, + { + "name": "Limit", + "values": [ + { + "name": "LIMIT_MAX_BOUND_UNIFORM_SETS", + "value": 0 + }, + { + "name": "LIMIT_MAX_FRAMEBUFFER_COLOR_ATTACHMENTS", + "value": 1 + }, + { + "name": "LIMIT_MAX_TEXTURES_PER_UNIFORM_SET", + "value": 2 + }, + { + "name": "LIMIT_MAX_SAMPLERS_PER_UNIFORM_SET", + "value": 3 + }, + { + "name": "LIMIT_MAX_STORAGE_BUFFERS_PER_UNIFORM_SET", + "value": 4 + }, + { + "name": "LIMIT_MAX_STORAGE_IMAGES_PER_UNIFORM_SET", + "value": 5 + }, + { + "name": "LIMIT_MAX_UNIFORM_BUFFERS_PER_UNIFORM_SET", + "value": 6 + }, + { + "name": "LIMIT_MAX_DRAW_INDEXED_INDEX", + "value": 7 + }, + { + "name": "LIMIT_MAX_FRAMEBUFFER_HEIGHT", + "value": 8 + }, + { + "name": "LIMIT_MAX_FRAMEBUFFER_WIDTH", + "value": 9 + }, + { + "name": "LIMIT_MAX_TEXTURE_ARRAY_LAYERS", + "value": 10 + }, + { + "name": "LIMIT_MAX_TEXTURE_SIZE_1D", + "value": 11 + }, + { + "name": "LIMIT_MAX_TEXTURE_SIZE_2D", + "value": 12 + }, + { + "name": "LIMIT_MAX_TEXTURE_SIZE_3D", + "value": 13 + }, + { + "name": "LIMIT_MAX_TEXTURE_SIZE_CUBE", + "value": 14 + }, + { + "name": "LIMIT_MAX_TEXTURES_PER_SHADER_STAGE", + "value": 15 + }, + { + "name": "LIMIT_MAX_SAMPLERS_PER_SHADER_STAGE", + "value": 16 + }, + { + "name": "LIMIT_MAX_STORAGE_BUFFERS_PER_SHADER_STAGE", + "value": 17 + }, + { + "name": "LIMIT_MAX_STORAGE_IMAGES_PER_SHADER_STAGE", + "value": 18 + }, + { + "name": "LIMIT_MAX_UNIFORM_BUFFERS_PER_SHADER_STAGE", + "value": 19 + }, + { + "name": "LIMIT_MAX_PUSH_CONSTANT_SIZE", + "value": 20 + }, + { + "name": "LIMIT_MAX_UNIFORM_BUFFER_SIZE", + "value": 21 + }, + { + "name": "LIMIT_MAX_VERTEX_INPUT_ATTRIBUTE_OFFSET", + "value": 22 + }, + { + "name": "LIMIT_MAX_VERTEX_INPUT_ATTRIBUTES", + "value": 23 + }, + { + "name": "LIMIT_MAX_VERTEX_INPUT_BINDINGS", + "value": 24 + }, + { + "name": "LIMIT_MAX_VERTEX_INPUT_BINDING_STRIDE", + "value": 25 + }, + { + "name": "LIMIT_MIN_UNIFORM_BUFFER_OFFSET_ALIGNMENT", + "value": 26 + }, + { + "name": "LIMIT_MAX_COMPUTE_SHARED_MEMORY_SIZE", + "value": 27 + }, + { + "name": "LIMIT_MAX_COMPUTE_WORKGROUP_COUNT_X", + "value": 28 + }, + { + "name": "LIMIT_MAX_COMPUTE_WORKGROUP_COUNT_Y", + "value": 29 + }, + { + "name": "LIMIT_MAX_COMPUTE_WORKGROUP_COUNT_Z", + "value": 30 + }, + { + "name": "LIMIT_MAX_COMPUTE_WORKGROUP_INVOCATIONS", + "value": 31 + }, + { + "name": "LIMIT_MAX_COMPUTE_WORKGROUP_SIZE_X", + "value": 32 + }, + { + "name": "LIMIT_MAX_COMPUTE_WORKGROUP_SIZE_Y", + "value": 33 + }, + { + "name": "LIMIT_MAX_COMPUTE_WORKGROUP_SIZE_Z", + "value": 34 + } + ] + }, + { + "name": "LogicOperation", + "values": [ + { + "name": "LOGIC_OP_CLEAR", + "value": 0 + }, + { + "name": "LOGIC_OP_AND", + "value": 1 + }, + { + "name": "LOGIC_OP_AND_REVERSE", + "value": 2 + }, + { + "name": "LOGIC_OP_COPY", + "value": 3 + }, + { + "name": "LOGIC_OP_AND_INVERTED", + "value": 4 + }, + { + "name": "LOGIC_OP_NO_OP", + "value": 5 + }, + { + "name": "LOGIC_OP_XOR", + "value": 6 + }, + { + "name": "LOGIC_OP_OR", + "value": 7 + }, + { + "name": "LOGIC_OP_NOR", + "value": 8 + }, + { + "name": "LOGIC_OP_EQUIVALENT", + "value": 9 + }, + { + "name": "LOGIC_OP_INVERT", + "value": 10 + }, + { + "name": "LOGIC_OP_OR_REVERSE", + "value": 11 + }, + { + "name": "LOGIC_OP_COPY_INVERTED", + "value": 12 + }, + { + "name": "LOGIC_OP_OR_INVERTED", + "value": 13 + }, + { + "name": "LOGIC_OP_NAND", + "value": 14 + }, + { + "name": "LOGIC_OP_SET", + "value": 15 + }, + { + "name": "LOGIC_OP_MAX", + "value": 16 + } + ] + }, + { + "name": "FinalAction", + "values": [ + { + "name": "FINAL_ACTION_READ", + "value": 0 + }, + { + "name": "FINAL_ACTION_DISCARD", + "value": 1 + }, + { + "name": "FINAL_ACTION_CONTINUE", + "value": 2 + }, + { + "name": "FINAL_ACTION_MAX", + "value": 3 + } + ] + }, + { + "name": "InitialAction", + "values": [ + { + "name": "INITIAL_ACTION_CLEAR", + "value": 0 + }, + { + "name": "INITIAL_ACTION_CLEAR_REGION", + "value": 1 + }, + { + "name": "INITIAL_ACTION_CLEAR_REGION_CONTINUE", + "value": 2 + }, + { + "name": "INITIAL_ACTION_KEEP", + "value": 3 + }, + { + "name": "INITIAL_ACTION_DROP", + "value": 4 + }, + { + "name": "INITIAL_ACTION_CONTINUE", + "value": 5 + }, + { + "name": "INITIAL_ACTION_MAX", + "value": 6 + } + ] + }, + { + "name": "PolygonFrontFace", + "values": [ + { + "name": "POLYGON_FRONT_FACE_CLOCKWISE", + "value": 0 + }, + { + "name": "POLYGON_FRONT_FACE_COUNTER_CLOCKWISE", + "value": 1 + } + ] + }, + { + "name": "VertexFrequency", + "values": [ + { + "name": "VERTEX_FREQUENCY_VERTEX", + "value": 0 + }, + { + "name": "VERTEX_FREQUENCY_INSTANCE", + "value": 1 + } + ] + }, + { + "name": "TextureUsageBits", + "values": [ + { + "name": "TEXTURE_USAGE_SAMPLING_BIT", + "value": 1 + }, + { + "name": "TEXTURE_USAGE_COLOR_ATTACHMENT_BIT", + "value": 2 + }, + { + "name": "TEXTURE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT", + "value": 4 + }, + { + "name": "TEXTURE_USAGE_STORAGE_BIT", + "value": 8 + }, + { + "name": "TEXTURE_USAGE_STORAGE_ATOMIC_BIT", + "value": 16 + }, + { + "name": "TEXTURE_USAGE_CPU_READ_BIT", + "value": 32 + }, + { + "name": "TEXTURE_USAGE_CAN_UPDATE_BIT", + "value": 64 + }, + { + "name": "TEXTURE_USAGE_CAN_COPY_FROM_BIT", + "value": 128 + }, + { + "name": "TEXTURE_USAGE_CAN_COPY_TO_BIT", + "value": 256 + }, + { + "name": "TEXTURE_USAGE_RESOLVE_ATTACHMENT_BIT", + "value": 512 + } + ] + }, + { + "name": "PipelineSpecializationConstantType", + "values": [ + { + "name": "PIPELINE_SPECIALIZATION_CONSTANT_TYPE_BOOL", + "value": 0 + }, + { + "name": "PIPELINE_SPECIALIZATION_CONSTANT_TYPE_INT", + "value": 1 + }, + { + "name": "PIPELINE_SPECIALIZATION_CONSTANT_TYPE_FLOAT", + "value": 2 + } + ] + }, + { + "name": "PipelineDynamicStateFlags", + "values": [ + { + "name": "DYNAMIC_STATE_LINE_WIDTH", + "value": 1 + }, + { + "name": "DYNAMIC_STATE_DEPTH_BIAS", + "value": 2 + }, + { + "name": "DYNAMIC_STATE_BLEND_CONSTANTS", + "value": 4 + }, + { + "name": "DYNAMIC_STATE_DEPTH_BOUNDS", + "value": 8 + }, + { + "name": "DYNAMIC_STATE_STENCIL_COMPARE_MASK", + "value": 16 + }, + { + "name": "DYNAMIC_STATE_STENCIL_WRITE_MASK", + "value": 32 + }, + { + "name": "DYNAMIC_STATE_STENCIL_REFERENCE", + "value": 64 + } + ] + }, + { + "name": "RenderPrimitive", + "values": [ + { + "name": "RENDER_PRIMITIVE_POINTS", + "value": 0 + }, + { + "name": "RENDER_PRIMITIVE_LINES", + "value": 1 + }, + { + "name": "RENDER_PRIMITIVE_LINES_WITH_ADJACENCY", + "value": 2 + }, + { + "name": "RENDER_PRIMITIVE_LINESTRIPS", + "value": 3 + }, + { + "name": "RENDER_PRIMITIVE_LINESTRIPS_WITH_ADJACENCY", + "value": 4 + }, + { + "name": "RENDER_PRIMITIVE_TRIANGLES", + "value": 5 + }, + { + "name": "RENDER_PRIMITIVE_TRIANGLES_WITH_ADJACENCY", + "value": 6 + }, + { + "name": "RENDER_PRIMITIVE_TRIANGLE_STRIPS", + "value": 7 + }, + { + "name": "RENDER_PRIMITIVE_TRIANGLE_STRIPS_WITH_AJACENCY", + "value": 8 + }, + { + "name": "RENDER_PRIMITIVE_TRIANGLE_STRIPS_WITH_RESTART_INDEX", + "value": 9 + }, + { + "name": "RENDER_PRIMITIVE_TESSELATION_PATCH", + "value": 10 + }, + { + "name": "RENDER_PRIMITIVE_MAX", + "value": 11 + } + ] + }, + { + "name": "SamplerBorderColor", + "values": [ + { + "name": "SAMPLER_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK", + "value": 0 + }, + { + "name": "SAMPLER_BORDER_COLOR_INT_TRANSPARENT_BLACK", + "value": 1 + }, + { + "name": "SAMPLER_BORDER_COLOR_FLOAT_OPAQUE_BLACK", + "value": 2 + }, + { + "name": "SAMPLER_BORDER_COLOR_INT_OPAQUE_BLACK", + "value": 3 + }, + { + "name": "SAMPLER_BORDER_COLOR_FLOAT_OPAQUE_WHITE", + "value": 4 + }, + { + "name": "SAMPLER_BORDER_COLOR_INT_OPAQUE_WHITE", + "value": 5 + }, + { + "name": "SAMPLER_BORDER_COLOR_MAX", + "value": 6 + } + ] + }, + { + "name": "TextureSwizzle", + "values": [ + { + "name": "TEXTURE_SWIZZLE_IDENTITY", + "value": 0 + }, + { + "name": "TEXTURE_SWIZZLE_ZERO", + "value": 1 + }, + { + "name": "TEXTURE_SWIZZLE_ONE", + "value": 2 + }, + { + "name": "TEXTURE_SWIZZLE_R", + "value": 3 + }, + { + "name": "TEXTURE_SWIZZLE_G", + "value": 4 + }, + { + "name": "TEXTURE_SWIZZLE_B", + "value": 5 + }, + { + "name": "TEXTURE_SWIZZLE_A", + "value": 6 + }, + { + "name": "TEXTURE_SWIZZLE_MAX", + "value": 7 + } + ] + }, + { + "name": "UniformType", + "values": [ + { + "name": "UNIFORM_TYPE_SAMPLER", + "value": 0 + }, + { + "name": "UNIFORM_TYPE_SAMPLER_WITH_TEXTURE", + "value": 1 + }, + { + "name": "UNIFORM_TYPE_TEXTURE", + "value": 2 + }, + { + "name": "UNIFORM_TYPE_IMAGE", + "value": 3 + }, + { + "name": "UNIFORM_TYPE_TEXTURE_BUFFER", + "value": 4 + }, + { + "name": "UNIFORM_TYPE_SAMPLER_WITH_TEXTURE_BUFFER", + "value": 5 + }, + { + "name": "UNIFORM_TYPE_IMAGE_BUFFER", + "value": 6 + }, + { + "name": "UNIFORM_TYPE_UNIFORM_BUFFER", + "value": 7 + }, + { + "name": "UNIFORM_TYPE_STORAGE_BUFFER", + "value": 8 + }, + { + "name": "UNIFORM_TYPE_INPUT_ATTACHMENT", + "value": 9 + }, + { + "name": "UNIFORM_TYPE_MAX", + "value": 10 + } + ] + }, + { + "name": "SamplerRepeatMode", + "values": [ + { + "name": "SAMPLER_REPEAT_MODE_REPEAT", + "value": 0 + }, + { + "name": "SAMPLER_REPEAT_MODE_MIRRORED_REPEAT", + "value": 1 + }, + { + "name": "SAMPLER_REPEAT_MODE_CLAMP_TO_EDGE", + "value": 2 + }, + { + "name": "SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER", + "value": 3 + }, + { + "name": "SAMPLER_REPEAT_MODE_MIRROR_CLAMP_TO_EDGE", + "value": 4 + }, + { + "name": "SAMPLER_REPEAT_MODE_MAX", + "value": 5 + } + ] + }, + { + "name": "SamplerFilter", + "values": [ + { + "name": "SAMPLER_FILTER_NEAREST", + "value": 0 + }, + { + "name": "SAMPLER_FILTER_LINEAR", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "texture_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "format", + "type": "RDTextureFormat" + }, + { + "name": "view", + "type": "RDTextureView" + }, + { + "name": "data", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "texture_create_shared", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "view", + "type": "RDTextureView" + }, + { + "name": "with_texture", + "type": "RID" + } + ] + }, + { + "name": "texture_create_shared_from_slice", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 177157196, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "view", + "type": "RDTextureView" + }, + { + "name": "with_texture", + "type": "RID" + }, + { + "name": "layer", + "type": "int", + "meta": "uint32" + }, + { + "name": "mipmap", + "type": "int", + "meta": "uint32" + }, + { + "name": "slice_type", + "type": "enum::RenderingDevice.TextureSliceType", + "default_value": "0" + } + ] + }, + { + "name": "texture_update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 175971275, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "texture", + "type": "RID" + }, + { + "name": "layer", + "type": "int", + "meta": "uint32" + }, + { + "name": "data", + "type": "PackedByteArray" + }, + { + "name": "post_barrier", + "type": "int", + "meta": "uint32", + "default_value": "7" + } + ] + }, + { + "name": "texture_get_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "texture", + "type": "RID" + }, + { + "name": "layer", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "texture_is_format_supported_for_usage", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "format", + "type": "enum::RenderingDevice.DataFormat" + }, + { + "name": "usage_flags", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "texture_is_shared", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "texture", + "type": "RID" + } + ] + }, + { + "name": "texture_is_valid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "texture", + "type": "RID" + } + ] + }, + { + "name": "texture_copy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 183086801, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "from_texture", + "type": "RID" + }, + { + "name": "to_texture", + "type": "RID" + }, + { + "name": "from_pos", + "type": "Vector3" + }, + { + "name": "to_pos", + "type": "Vector3" + }, + { + "name": "size", + "type": "Vector3" + }, + { + "name": "src_mipmap", + "type": "int", + "meta": "uint32" + }, + { + "name": "dst_mipmap", + "type": "int", + "meta": "uint32" + }, + { + "name": "src_layer", + "type": "int", + "meta": "uint32" + }, + { + "name": "dst_layer", + "type": "int", + "meta": "uint32" + }, + { + "name": "post_barrier", + "type": "int", + "meta": "uint32", + "default_value": "7" + } + ] + }, + { + "name": "texture_clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 179529038, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "texture", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "base_mipmap", + "type": "int", + "meta": "uint32" + }, + { + "name": "mipmap_count", + "type": "int", + "meta": "uint32" + }, + { + "name": "base_layer", + "type": "int", + "meta": "uint32" + }, + { + "name": "layer_count", + "type": "int", + "meta": "uint32" + }, + { + "name": "post_barrier", + "type": "int", + "meta": "uint32", + "default_value": "7" + } + ] + }, + { + "name": "texture_resolve_multisample", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "from_texture", + "type": "RID" + }, + { + "name": "to_texture", + "type": "RID" + }, + { + "name": "post_barrier", + "type": "int", + "meta": "uint32", + "default_value": "7" + } + ] + }, + { + "name": "framebuffer_format_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "attachments", + "type": "Array" + }, + { + "name": "view_count", + "type": "int", + "meta": "uint32", + "default_value": "1" + } + ] + }, + { + "name": "framebuffer_format_create_multipass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "attachments", + "type": "Array" + }, + { + "name": "passes", + "type": "Array" + }, + { + "name": "view_count", + "type": "int", + "meta": "uint32", + "default_value": "1" + } + ] + }, + { + "name": "framebuffer_format_create_empty", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "samples", + "type": "enum::RenderingDevice.TextureSamples", + "default_value": "0" + } + ] + }, + { + "name": "framebuffer_format_get_texture_samples", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "enum::RenderingDevice.TextureSamples" + }, + "arguments": [ + { + "name": "format", + "type": "int", + "meta": "int64" + }, + { + "name": "render_pass", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "framebuffer_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1474134218, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "textures", + "type": "Array" + }, + { + "name": "validate_with_format", + "type": "int", + "meta": "int64", + "default_value": "-1" + }, + { + "name": "view_count", + "type": "int", + "meta": "uint32", + "default_value": "1" + } + ] + }, + { + "name": "framebuffer_create_multipass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1513270700, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "textures", + "type": "Array" + }, + { + "name": "passes", + "type": "Array" + }, + { + "name": "validate_with_format", + "type": "int", + "meta": "int64", + "default_value": "-1" + }, + { + "name": "view_count", + "type": "int", + "meta": "uint32", + "default_value": "1" + } + ] + }, + { + "name": "framebuffer_create_empty", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1474135307, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "size", + "type": "Vector2i" + }, + { + "name": "samples", + "type": "enum::RenderingDevice.TextureSamples", + "default_value": "0" + }, + { + "name": "validate_with_format", + "type": "int", + "meta": "int64", + "default_value": "-1" + } + ] + }, + { + "name": "framebuffer_get_format", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "framebuffer", + "type": "RID" + } + ] + }, + { + "name": "sampler_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "state", + "type": "RDSamplerState" + } + ] + }, + { + "name": "vertex_buffer_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1667512304, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "size_bytes", + "type": "int", + "meta": "uint32" + }, + { + "name": "data", + "type": "PackedByteArray", + "default_value": "PackedByteArray()" + }, + { + "name": "use_as_storage", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "vertex_format_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "vertex_descriptions", + "type": "Array" + } + ] + }, + { + "name": "index_buffer_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1513270700, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "size_indices", + "type": "int", + "meta": "uint32" + }, + { + "name": "format", + "type": "enum::RenderingDevice.IndexBufferFormat" + }, + { + "name": "data", + "type": "PackedByteArray", + "default_value": "PackedByteArray()" + }, + { + "name": "use_restart_indices", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "index_array_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "index_buffer", + "type": "RID" + }, + { + "name": "index_offset", + "type": "int", + "meta": "uint32" + }, + { + "name": "index_count", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "shader_compile_spirv_from_source", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "RDShaderSPIRV" + }, + "arguments": [ + { + "name": "shader_source", + "type": "RDShaderSource" + }, + { + "name": "allow_cache", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "shader_compile_binary_from_spirv", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "spirv_data", + "type": "RDShaderSPIRV" + } + ] + }, + { + "name": "shader_create_from_spirv", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "spirv_data", + "type": "RDShaderSPIRV" + } + ] + }, + { + "name": "shader_create_from_bytecode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "binary_data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "shader_get_vertex_input_attribute_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "shader", + "type": "RID" + } + ] + }, + { + "name": "uniform_buffer_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "size_bytes", + "type": "int", + "meta": "uint32" + }, + { + "name": "data", + "type": "PackedByteArray", + "default_value": "PackedByteArray()" + } + ] + }, + { + "name": "storage_buffer_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1667512304, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "size_bytes", + "type": "int", + "meta": "uint32" + }, + { + "name": "data", + "type": "PackedByteArray", + "default_value": "PackedByteArray()" + }, + { + "name": "usage", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "texture_buffer_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "size_bytes", + "type": "int", + "meta": "uint32" + }, + { + "name": "format", + "type": "enum::RenderingDevice.DataFormat" + }, + { + "name": "data", + "type": "PackedByteArray", + "default_value": "PackedByteArray()" + } + ] + }, + { + "name": "uniform_set_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "uniforms", + "type": "Array" + }, + { + "name": "shader", + "type": "RID" + }, + { + "name": "shader_set", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "uniform_set_is_valid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "uniform_set", + "type": "RID" + } + ] + }, + { + "name": "buffer_update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 177157196, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "buffer", + "type": "RID" + }, + { + "name": "offset", + "type": "int", + "meta": "uint32" + }, + { + "name": "size_bytes", + "type": "int", + "meta": "uint32" + }, + { + "name": "data", + "type": "PackedByteArray" + }, + { + "name": "post_barrier", + "type": "int", + "meta": "uint32", + "default_value": "7" + } + ] + }, + { + "name": "buffer_clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 175971275, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "buffer", + "type": "RID" + }, + { + "name": "offset", + "type": "int", + "meta": "uint32" + }, + { + "name": "size_bytes", + "type": "int", + "meta": "uint32" + }, + { + "name": "post_barrier", + "type": "int", + "meta": "uint32", + "default_value": "7" + } + ] + }, + { + "name": "buffer_get_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "buffer", + "type": "RID" + } + ] + }, + { + "name": "render_pipeline_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3182769428, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "shader", + "type": "RID" + }, + { + "name": "framebuffer_format", + "type": "int", + "meta": "int64" + }, + { + "name": "vertex_format", + "type": "int", + "meta": "int64" + }, + { + "name": "primitive", + "type": "enum::RenderingDevice.RenderPrimitive" + }, + { + "name": "rasterization_state", + "type": "RDPipelineRasterizationState" + }, + { + "name": "multisample_state", + "type": "RDPipelineMultisampleState" + }, + { + "name": "stencil_state", + "type": "RDPipelineDepthStencilState" + }, + { + "name": "color_blend_state", + "type": "RDPipelineColorBlendState" + }, + { + "name": "dynamic_state_flags", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "for_render_pass", + "type": "int", + "meta": "uint32", + "default_value": "0" + }, + { + "name": "specialization_constants", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "render_pipeline_is_valid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "render_pipeline", + "type": "RID" + } + ] + }, + { + "name": "compute_pipeline_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "shader", + "type": "RID" + }, + { + "name": "specialization_constants", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "compute_pipeline_is_valid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "compute_pieline", + "type": "RID" + } + ] + }, + { + "name": "screen_get_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "screen", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "screen_get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "screen", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "screen_get_framebuffer_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int64" + } + }, + { + "name": "draw_list_begin_for_screen", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2841154149, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "screen", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "clear_color", + "type": "Color", + "default_value": "Color(0, 0, 0, 1)" + } + ] + }, + { + "name": "draw_list_begin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1675494101, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "framebuffer", + "type": "RID" + }, + { + "name": "initial_color_action", + "type": "enum::RenderingDevice.InitialAction" + }, + { + "name": "final_color_action", + "type": "enum::RenderingDevice.FinalAction" + }, + { + "name": "initial_depth_action", + "type": "enum::RenderingDevice.InitialAction" + }, + { + "name": "final_depth_action", + "type": "enum::RenderingDevice.FinalAction" + }, + { + "name": "clear_color_values", + "type": "PackedColorArray", + "default_value": "PackedColorArray()" + }, + { + "name": "clear_depth", + "type": "float", + "meta": "float", + "default_value": "1.0" + }, + { + "name": "clear_stencil", + "type": "int", + "meta": "uint32", + "default_value": "0" + }, + { + "name": "region", + "type": "Rect2", + "default_value": "Rect2(0, 0, 0, 0)" + }, + { + "name": "storage_textures", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "draw_list_begin_split", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3629806550, + "return_value": { + "type": "PackedInt64Array" + }, + "arguments": [ + { + "name": "framebuffer", + "type": "RID" + }, + { + "name": "splits", + "type": "int", + "meta": "uint32" + }, + { + "name": "initial_color_action", + "type": "enum::RenderingDevice.InitialAction" + }, + { + "name": "final_color_action", + "type": "enum::RenderingDevice.FinalAction" + }, + { + "name": "initial_depth_action", + "type": "enum::RenderingDevice.InitialAction" + }, + { + "name": "final_depth_action", + "type": "enum::RenderingDevice.FinalAction" + }, + { + "name": "clear_color_values", + "type": "PackedColorArray", + "default_value": "PackedColorArray()" + }, + { + "name": "clear_depth", + "type": "float", + "meta": "float", + "default_value": "1.0" + }, + { + "name": "clear_stencil", + "type": "int", + "meta": "uint32", + "default_value": "0" + }, + { + "name": "region", + "type": "Rect2", + "default_value": "Rect2(0, 0, 0, 0)" + }, + { + "name": "storage_textures", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "draw_list_bind_render_pipeline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "draw_list", + "type": "int", + "meta": "int64" + }, + { + "name": "render_pipeline", + "type": "RID" + } + ] + }, + { + "name": "draw_list_bind_uniform_set", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "draw_list", + "type": "int", + "meta": "int64" + }, + { + "name": "uniform_set", + "type": "RID" + }, + { + "name": "set_index", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "draw_list_bind_vertex_array", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "draw_list", + "type": "int", + "meta": "int64" + }, + { + "name": "vertex_array", + "type": "RID" + } + ] + }, + { + "name": "draw_list_bind_index_array", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "draw_list", + "type": "int", + "meta": "int64" + }, + { + "name": "index_array", + "type": "RID" + } + ] + }, + { + "name": "draw_list_set_push_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "draw_list", + "type": "int", + "meta": "int64" + }, + { + "name": "buffer", + "type": "PackedByteArray" + }, + { + "name": "size_bytes", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "draw_list_draw", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "draw_list", + "type": "int", + "meta": "int64" + }, + { + "name": "use_indices", + "type": "bool" + }, + { + "name": "instances", + "type": "int", + "meta": "uint32" + }, + { + "name": "procedural_vertex_count", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "draw_list_enable_scissor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "draw_list", + "type": "int", + "meta": "int64" + }, + { + "name": "rect", + "type": "Rect2", + "default_value": "Rect2(0, 0, 0, 0)" + } + ] + }, + { + "name": "draw_list_disable_scissor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "draw_list", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "draw_list_switch_to_next_pass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int64" + } + }, + { + "name": "draw_list_switch_to_next_pass_split", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedInt64Array" + }, + "arguments": [ + { + "name": "splits", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "draw_list_end", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133285742, + "arguments": [ + { + "name": "post_barrier", + "type": "int", + "meta": "uint32", + "default_value": "7" + } + ] + }, + { + "name": "compute_list_begin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "allow_draw_overlap", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "compute_list_bind_compute_pipeline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "compute_list", + "type": "int", + "meta": "int64" + }, + { + "name": "compute_pipeline", + "type": "RID" + } + ] + }, + { + "name": "compute_list_set_push_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "compute_list", + "type": "int", + "meta": "int64" + }, + { + "name": "buffer", + "type": "PackedByteArray" + }, + { + "name": "size_bytes", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "compute_list_bind_uniform_set", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "compute_list", + "type": "int", + "meta": "int64" + }, + { + "name": "uniform_set", + "type": "RID" + }, + { + "name": "set_index", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "compute_list_dispatch", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "compute_list", + "type": "int", + "meta": "int64" + }, + { + "name": "x_groups", + "type": "int", + "meta": "uint32" + }, + { + "name": "y_groups", + "type": "int", + "meta": "uint32" + }, + { + "name": "z_groups", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "compute_list_add_barrier", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "compute_list", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "compute_list_end", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133285742, + "arguments": [ + { + "name": "post_barrier", + "type": "int", + "meta": "uint32", + "default_value": "7" + } + ] + }, + { + "name": "free", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "capture_timestamp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_captured_timestamps_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "get_captured_timestamps_frame", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_captured_timestamp_gpu_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_captured_timestamp_cpu_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_captured_timestamp_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "limit_get", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "limit", + "type": "enum::RenderingDevice.Limit" + } + ] + }, + { + "name": "get_frame_delay", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "submit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "sync", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "barrier", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 143791127, + "arguments": [ + { + "name": "from", + "type": "int", + "meta": "uint32", + "default_value": "7" + }, + { + "name": "to", + "type": "int", + "meta": "uint32", + "default_value": "7" + } + ] + }, + { + "name": "full_barrier", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "create_local_device", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RenderingDevice" + } + }, + { + "name": "set_resource_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "draw_command_begin_label", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "draw_command_insert_label", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "draw_command_end_label", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_device_vendor_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_device_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_device_pipeline_cache_uuid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_memory_usage", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "arg0", + "type": "enum::RenderingDevice.MemoryType" + } + ] + } + ] + }, + { + "name": "RenderingServer", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "constants": [ + { + "name": "NO_INDEX_ARRAY", + "value": -1 + }, + { + "name": "ARRAY_WEIGHTS_SIZE", + "value": 4 + }, + { + "name": "CANVAS_ITEM_Z_MIN", + "value": -4096 + }, + { + "name": "CANVAS_ITEM_Z_MAX", + "value": 4096 + }, + { + "name": "MAX_GLOW_LEVELS", + "value": 7 + }, + { + "name": "MAX_CURSORS", + "value": 8 + }, + { + "name": "MAX_2D_DIRECTIONAL_LIGHTS", + "value": 8 + }, + { + "name": "MATERIAL_RENDER_PRIORITY_MIN", + "value": -128 + }, + { + "name": "MATERIAL_RENDER_PRIORITY_MAX", + "value": 127 + }, + { + "name": "ARRAY_CUSTOM_COUNT", + "value": 4 + }, + { + "name": "PARTICLES_EMIT_FLAG_POSITION", + "value": 1 + }, + { + "name": "PARTICLES_EMIT_FLAG_ROTATION_SCALE", + "value": 2 + }, + { + "name": "PARTICLES_EMIT_FLAG_VELOCITY", + "value": 4 + }, + { + "name": "PARTICLES_EMIT_FLAG_COLOR", + "value": 8 + }, + { + "name": "PARTICLES_EMIT_FLAG_CUSTOM", + "value": 16 + } + ], + "enums": [ + { + "name": "PrimitiveType", + "values": [ + { + "name": "PRIMITIVE_POINTS", + "value": 0 + }, + { + "name": "PRIMITIVE_LINES", + "value": 1 + }, + { + "name": "PRIMITIVE_LINE_STRIP", + "value": 2 + }, + { + "name": "PRIMITIVE_TRIANGLES", + "value": 3 + }, + { + "name": "PRIMITIVE_TRIANGLE_STRIP", + "value": 4 + }, + { + "name": "PRIMITIVE_MAX", + "value": 5 + } + ] + }, + { + "name": "BlendShapeMode", + "values": [ + { + "name": "BLEND_SHAPE_MODE_NORMALIZED", + "value": 0 + }, + { + "name": "BLEND_SHAPE_MODE_RELATIVE", + "value": 1 + } + ] + }, + { + "name": "ReflectionProbeUpdateMode", + "values": [ + { + "name": "REFLECTION_PROBE_UPDATE_ONCE", + "value": 0 + }, + { + "name": "REFLECTION_PROBE_UPDATE_ALWAYS", + "value": 1 + } + ] + }, + { + "name": "ShaderMode", + "values": [ + { + "name": "SHADER_SPATIAL", + "value": 0 + }, + { + "name": "SHADER_CANVAS_ITEM", + "value": 1 + }, + { + "name": "SHADER_PARTICLES", + "value": 2 + }, + { + "name": "SHADER_SKY", + "value": 3 + }, + { + "name": "SHADER_MAX", + "value": 4 + } + ] + }, + { + "name": "ParticlesMode", + "values": [ + { + "name": "PARTICLES_MODE_2D", + "value": 0 + }, + { + "name": "PARTICLES_MODE_3D", + "value": 1 + } + ] + }, + { + "name": "ViewportClearMode", + "values": [ + { + "name": "VIEWPORT_CLEAR_ALWAYS", + "value": 0 + }, + { + "name": "VIEWPORT_CLEAR_NEVER", + "value": 1 + }, + { + "name": "VIEWPORT_CLEAR_ONLY_NEXT_FRAME", + "value": 2 + } + ] + }, + { + "name": "ViewportRenderInfo", + "values": [ + { + "name": "VIEWPORT_RENDER_INFO_OBJECTS_IN_FRAME", + "value": 0 + }, + { + "name": "VIEWPORT_RENDER_INFO_PRIMITIVES_IN_FRAME", + "value": 1 + }, + { + "name": "VIEWPORT_RENDER_INFO_DRAW_CALLS_IN_FRAME", + "value": 2 + }, + { + "name": "VIEWPORT_RENDER_INFO_MAX", + "value": 3 + } + ] + }, + { + "name": "SkyMode", + "values": [ + { + "name": "SKY_MODE_AUTOMATIC", + "value": 0 + }, + { + "name": "SKY_MODE_QUALITY", + "value": 1 + }, + { + "name": "SKY_MODE_INCREMENTAL", + "value": 2 + }, + { + "name": "SKY_MODE_REALTIME", + "value": 3 + } + ] + }, + { + "name": "EnvironmentSDFGIFramesToConverge", + "values": [ + { + "name": "ENV_SDFGI_CONVERGE_IN_5_FRAMES", + "value": 0 + }, + { + "name": "ENV_SDFGI_CONVERGE_IN_10_FRAMES", + "value": 1 + }, + { + "name": "ENV_SDFGI_CONVERGE_IN_15_FRAMES", + "value": 2 + }, + { + "name": "ENV_SDFGI_CONVERGE_IN_20_FRAMES", + "value": 3 + }, + { + "name": "ENV_SDFGI_CONVERGE_IN_25_FRAMES", + "value": 4 + }, + { + "name": "ENV_SDFGI_CONVERGE_IN_30_FRAMES", + "value": 5 + }, + { + "name": "ENV_SDFGI_CONVERGE_MAX", + "value": 6 + } + ] + }, + { + "name": "MultimeshTransformFormat", + "values": [ + { + "name": "MULTIMESH_TRANSFORM_2D", + "value": 0 + }, + { + "name": "MULTIMESH_TRANSFORM_3D", + "value": 1 + } + ] + }, + { + "name": "ShadowCastingSetting", + "values": [ + { + "name": "SHADOW_CASTING_SETTING_OFF", + "value": 0 + }, + { + "name": "SHADOW_CASTING_SETTING_ON", + "value": 1 + }, + { + "name": "SHADOW_CASTING_SETTING_DOUBLE_SIDED", + "value": 2 + }, + { + "name": "SHADOW_CASTING_SETTING_SHADOWS_ONLY", + "value": 3 + } + ] + }, + { + "name": "CanvasItemTextureRepeat", + "values": [ + { + "name": "CANVAS_ITEM_TEXTURE_REPEAT_DEFAULT", + "value": 0 + }, + { + "name": "CANVAS_ITEM_TEXTURE_REPEAT_DISABLED", + "value": 1 + }, + { + "name": "CANVAS_ITEM_TEXTURE_REPEAT_ENABLED", + "value": 2 + }, + { + "name": "CANVAS_ITEM_TEXTURE_REPEAT_MIRROR", + "value": 3 + }, + { + "name": "CANVAS_ITEM_TEXTURE_REPEAT_MAX", + "value": 4 + } + ] + }, + { + "name": "ParticlesTransformAlign", + "values": [ + { + "name": "PARTICLES_TRANSFORM_ALIGN_DISABLED", + "value": 0 + }, + { + "name": "PARTICLES_TRANSFORM_ALIGN_Z_BILLBOARD", + "value": 1 + }, + { + "name": "PARTICLES_TRANSFORM_ALIGN_Y_TO_VELOCITY", + "value": 2 + }, + { + "name": "PARTICLES_TRANSFORM_ALIGN_Z_BILLBOARD_Y_TO_VELOCITY", + "value": 3 + } + ] + }, + { + "name": "ViewportScreenSpaceAA", + "values": [ + { + "name": "VIEWPORT_SCREEN_SPACE_AA_DISABLED", + "value": 0 + }, + { + "name": "VIEWPORT_SCREEN_SPACE_AA_FXAA", + "value": 1 + }, + { + "name": "VIEWPORT_SCREEN_SPACE_AA_MAX", + "value": 2 + } + ] + }, + { + "name": "ViewportRenderInfoType", + "values": [ + { + "name": "VIEWPORT_RENDER_INFO_TYPE_VISIBLE", + "value": 0 + }, + { + "name": "VIEWPORT_RENDER_INFO_TYPE_SHADOW", + "value": 1 + }, + { + "name": "VIEWPORT_RENDER_INFO_TYPE_MAX", + "value": 2 + } + ] + }, + { + "name": "EnvironmentBG", + "values": [ + { + "name": "ENV_BG_CLEAR_COLOR", + "value": 0 + }, + { + "name": "ENV_BG_COLOR", + "value": 1 + }, + { + "name": "ENV_BG_SKY", + "value": 2 + }, + { + "name": "ENV_BG_CANVAS", + "value": 3 + }, + { + "name": "ENV_BG_KEEP", + "value": 4 + }, + { + "name": "ENV_BG_CAMERA_FEED", + "value": 5 + }, + { + "name": "ENV_BG_MAX", + "value": 6 + } + ] + }, + { + "name": "EnvironmentSDFGIFramesToUpdateLight", + "values": [ + { + "name": "ENV_SDFGI_UPDATE_LIGHT_IN_1_FRAME", + "value": 0 + }, + { + "name": "ENV_SDFGI_UPDATE_LIGHT_IN_2_FRAMES", + "value": 1 + }, + { + "name": "ENV_SDFGI_UPDATE_LIGHT_IN_4_FRAMES", + "value": 2 + }, + { + "name": "ENV_SDFGI_UPDATE_LIGHT_IN_8_FRAMES", + "value": 3 + }, + { + "name": "ENV_SDFGI_UPDATE_LIGHT_IN_16_FRAMES", + "value": 4 + }, + { + "name": "ENV_SDFGI_UPDATE_LIGHT_MAX", + "value": 5 + } + ] + }, + { + "name": "CanvasGroupMode", + "values": [ + { + "name": "CANVAS_GROUP_MODE_DISABLED", + "value": 0 + }, + { + "name": "CANVAS_GROUP_MODE_OPAQUE", + "value": 1 + }, + { + "name": "CANVAS_GROUP_MODE_TRANSPARENT", + "value": 2 + } + ] + }, + { + "name": "CanvasLightBlendMode", + "values": [ + { + "name": "CANVAS_LIGHT_BLEND_MODE_ADD", + "value": 0 + }, + { + "name": "CANVAS_LIGHT_BLEND_MODE_SUB", + "value": 1 + }, + { + "name": "CANVAS_LIGHT_BLEND_MODE_MIX", + "value": 2 + } + ] + }, + { + "name": "Features", + "values": [ + { + "name": "FEATURE_SHADERS", + "value": 0 + }, + { + "name": "FEATURE_MULTITHREADED", + "value": 1 + } + ] + }, + { + "name": "ShadowQuality", + "values": [ + { + "name": "SHADOW_QUALITY_HARD", + "value": 0 + }, + { + "name": "SHADOW_QUALITY_SOFT_LOW", + "value": 1 + }, + { + "name": "SHADOW_QUALITY_SOFT_MEDIUM", + "value": 2 + }, + { + "name": "SHADOW_QUALITY_SOFT_HIGH", + "value": 3 + }, + { + "name": "SHADOW_QUALITY_SOFT_ULTRA", + "value": 4 + }, + { + "name": "SHADOW_QUALITY_MAX", + "value": 5 + } + ] + }, + { + "name": "DecalFilter", + "values": [ + { + "name": "DECAL_FILTER_NEAREST", + "value": 0 + }, + { + "name": "DECAL_FILTER_NEAREST_MIPMAPS", + "value": 1 + }, + { + "name": "DECAL_FILTER_LINEAR", + "value": 2 + }, + { + "name": "DECAL_FILTER_LINEAR_MIPMAPS", + "value": 3 + }, + { + "name": "DECAL_FILTER_LINEAR_MIPMAPS_ANISOTROPIC", + "value": 4 + } + ] + }, + { + "name": "BakeChannels", + "values": [ + { + "name": "BAKE_CHANNEL_ALBEDO_ALPHA", + "value": 0 + }, + { + "name": "BAKE_CHANNEL_NORMAL", + "value": 1 + }, + { + "name": "BAKE_CHANNEL_ORM", + "value": 2 + }, + { + "name": "BAKE_CHANNEL_EMISSION", + "value": 3 + } + ] + }, + { + "name": "LightBakeMode", + "values": [ + { + "name": "LIGHT_BAKE_DISABLED", + "value": 0 + }, + { + "name": "LIGHT_BAKE_DYNAMIC", + "value": 1 + }, + { + "name": "LIGHT_BAKE_STATIC", + "value": 2 + } + ] + }, + { + "name": "EnvironmentToneMapper", + "values": [ + { + "name": "ENV_TONE_MAPPER_LINEAR", + "value": 0 + }, + { + "name": "ENV_TONE_MAPPER_REINHARD", + "value": 1 + }, + { + "name": "ENV_TONE_MAPPER_FILMIC", + "value": 2 + }, + { + "name": "ENV_TONE_MAPPER_ACES", + "value": 3 + } + ] + }, + { + "name": "SubSurfaceScatteringQuality", + "values": [ + { + "name": "SUB_SURFACE_SCATTERING_QUALITY_DISABLED", + "value": 0 + }, + { + "name": "SUB_SURFACE_SCATTERING_QUALITY_LOW", + "value": 1 + }, + { + "name": "SUB_SURFACE_SCATTERING_QUALITY_MEDIUM", + "value": 2 + }, + { + "name": "SUB_SURFACE_SCATTERING_QUALITY_HIGH", + "value": 3 + } + ] + }, + { + "name": "CanvasLightShadowFilter", + "values": [ + { + "name": "CANVAS_LIGHT_FILTER_NONE", + "value": 0 + }, + { + "name": "CANVAS_LIGHT_FILTER_PCF5", + "value": 1 + }, + { + "name": "CANVAS_LIGHT_FILTER_PCF13", + "value": 2 + }, + { + "name": "CANVAS_LIGHT_FILTER_MAX", + "value": 3 + } + ] + }, + { + "name": "ArrayType", + "values": [ + { + "name": "ARRAY_VERTEX", + "value": 0 + }, + { + "name": "ARRAY_NORMAL", + "value": 1 + }, + { + "name": "ARRAY_TANGENT", + "value": 2 + }, + { + "name": "ARRAY_COLOR", + "value": 3 + }, + { + "name": "ARRAY_TEX_UV", + "value": 4 + }, + { + "name": "ARRAY_TEX_UV2", + "value": 5 + }, + { + "name": "ARRAY_CUSTOM0", + "value": 6 + }, + { + "name": "ARRAY_CUSTOM1", + "value": 7 + }, + { + "name": "ARRAY_CUSTOM2", + "value": 8 + }, + { + "name": "ARRAY_CUSTOM3", + "value": 9 + }, + { + "name": "ARRAY_BONES", + "value": 10 + }, + { + "name": "ARRAY_WEIGHTS", + "value": 11 + }, + { + "name": "ARRAY_INDEX", + "value": 12 + }, + { + "name": "ARRAY_MAX", + "value": 13 + } + ] + }, + { + "name": "LightDirectionalShadowMode", + "values": [ + { + "name": "LIGHT_DIRECTIONAL_SHADOW_ORTHOGONAL", + "value": 0 + }, + { + "name": "LIGHT_DIRECTIONAL_SHADOW_PARALLEL_2_SPLITS", + "value": 1 + }, + { + "name": "LIGHT_DIRECTIONAL_SHADOW_PARALLEL_4_SPLITS", + "value": 2 + } + ] + }, + { + "name": "ParticlesDrawOrder", + "values": [ + { + "name": "PARTICLES_DRAW_ORDER_INDEX", + "value": 0 + }, + { + "name": "PARTICLES_DRAW_ORDER_LIFETIME", + "value": 1 + }, + { + "name": "PARTICLES_DRAW_ORDER_REVERSE_LIFETIME", + "value": 2 + }, + { + "name": "PARTICLES_DRAW_ORDER_VIEW_DEPTH", + "value": 3 + } + ] + }, + { + "name": "EnvironmentReflectionSource", + "values": [ + { + "name": "ENV_REFLECTION_SOURCE_BG", + "value": 0 + }, + { + "name": "ENV_REFLECTION_SOURCE_DISABLED", + "value": 1 + }, + { + "name": "ENV_REFLECTION_SOURCE_SKY", + "value": 2 + } + ] + }, + { + "name": "ViewportMSAA", + "values": [ + { + "name": "VIEWPORT_MSAA_DISABLED", + "value": 0 + }, + { + "name": "VIEWPORT_MSAA_2X", + "value": 1 + }, + { + "name": "VIEWPORT_MSAA_4X", + "value": 2 + }, + { + "name": "VIEWPORT_MSAA_8X", + "value": 3 + }, + { + "name": "VIEWPORT_MSAA_16X", + "value": 4 + }, + { + "name": "VIEWPORT_MSAA_MAX", + "value": 5 + } + ] + }, + { + "name": "InstanceFlags", + "values": [ + { + "name": "INSTANCE_FLAG_USE_BAKED_LIGHT", + "value": 0 + }, + { + "name": "INSTANCE_FLAG_USE_DYNAMIC_GI", + "value": 1 + }, + { + "name": "INSTANCE_FLAG_DRAW_NEXT_FRAME_IF_VISIBLE", + "value": 2 + }, + { + "name": "INSTANCE_FLAG_IGNORE_OCCLUSION_CULLING", + "value": 3 + }, + { + "name": "INSTANCE_FLAG_MAX", + "value": 4 + } + ] + }, + { + "name": "CanvasItemTextureFilter", + "values": [ + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_DEFAULT", + "value": 0 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_NEAREST", + "value": 1 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_LINEAR", + "value": 2 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS", + "value": 3 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS", + "value": 4 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC", + "value": 5 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC", + "value": 6 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_MAX", + "value": 7 + } + ] + }, + { + "name": "ArrayCustomFormat", + "values": [ + { + "name": "ARRAY_CUSTOM_RGBA8_UNORM", + "value": 0 + }, + { + "name": "ARRAY_CUSTOM_RGBA8_SNORM", + "value": 1 + }, + { + "name": "ARRAY_CUSTOM_RG_HALF", + "value": 2 + }, + { + "name": "ARRAY_CUSTOM_RGBA_HALF", + "value": 3 + }, + { + "name": "ARRAY_CUSTOM_R_FLOAT", + "value": 4 + }, + { + "name": "ARRAY_CUSTOM_RG_FLOAT", + "value": 5 + }, + { + "name": "ARRAY_CUSTOM_RGB_FLOAT", + "value": 6 + }, + { + "name": "ARRAY_CUSTOM_RGBA_FLOAT", + "value": 7 + }, + { + "name": "ARRAY_CUSTOM_MAX", + "value": 8 + } + ] + }, + { + "name": "EnvironmentSDFGIYScale", + "values": [ + { + "name": "ENV_SDFGI_Y_SCALE_DISABLED", + "value": 0 + }, + { + "name": "ENV_SDFGI_Y_SCALE_75_PERCENT", + "value": 1 + }, + { + "name": "ENV_SDFGI_Y_SCALE_50_PERCENT", + "value": 2 + } + ] + }, + { + "name": "DOFBokehShape", + "values": [ + { + "name": "DOF_BOKEH_BOX", + "value": 0 + }, + { + "name": "DOF_BOKEH_HEXAGON", + "value": 1 + }, + { + "name": "DOF_BOKEH_CIRCLE", + "value": 2 + } + ] + }, + { + "name": "ParticlesCollisionHeightfieldResolution", + "values": [ + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_256", + "value": 0 + }, + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_512", + "value": 1 + }, + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_1024", + "value": 2 + }, + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_2048", + "value": 3 + }, + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_4096", + "value": 4 + }, + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_8192", + "value": 5 + }, + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_MAX", + "value": 6 + } + ] + }, + { + "name": "ViewportSDFOversize", + "values": [ + { + "name": "VIEWPORT_SDF_OVERSIZE_100_PERCENT", + "value": 0 + }, + { + "name": "VIEWPORT_SDF_OVERSIZE_120_PERCENT", + "value": 1 + }, + { + "name": "VIEWPORT_SDF_OVERSIZE_150_PERCENT", + "value": 2 + }, + { + "name": "VIEWPORT_SDF_OVERSIZE_200_PERCENT", + "value": 3 + }, + { + "name": "VIEWPORT_SDF_OVERSIZE_MAX", + "value": 4 + } + ] + }, + { + "name": "EnvironmentSSRRoughnessQuality", + "values": [ + { + "name": "ENV_SSR_ROUGNESS_QUALITY_DISABLED", + "value": 0 + }, + { + "name": "ENV_SSR_ROUGNESS_QUALITY_LOW", + "value": 1 + }, + { + "name": "ENV_SSR_ROUGNESS_QUALITY_MEDIUM", + "value": 2 + }, + { + "name": "ENV_SSR_ROUGNESS_QUALITY_HIGH", + "value": 3 + } + ] + }, + { + "name": "EnvironmentSSAOQuality", + "values": [ + { + "name": "ENV_SSAO_QUALITY_VERY_LOW", + "value": 0 + }, + { + "name": "ENV_SSAO_QUALITY_LOW", + "value": 1 + }, + { + "name": "ENV_SSAO_QUALITY_MEDIUM", + "value": 2 + }, + { + "name": "ENV_SSAO_QUALITY_HIGH", + "value": 3 + }, + { + "name": "ENV_SSAO_QUALITY_ULTRA", + "value": 4 + } + ] + }, + { + "name": "NinePatchAxisMode", + "values": [ + { + "name": "NINE_PATCH_STRETCH", + "value": 0 + }, + { + "name": "NINE_PATCH_TILE", + "value": 1 + }, + { + "name": "NINE_PATCH_TILE_FIT", + "value": 2 + } + ] + }, + { + "name": "ParticlesCollisionType", + "values": [ + { + "name": "PARTICLES_COLLISION_TYPE_SPHERE_ATTRACT", + "value": 0 + }, + { + "name": "PARTICLES_COLLISION_TYPE_BOX_ATTRACT", + "value": 1 + }, + { + "name": "PARTICLES_COLLISION_TYPE_VECTOR_FIELD_ATTRACT", + "value": 2 + }, + { + "name": "PARTICLES_COLLISION_TYPE_SPHERE_COLLIDE", + "value": 3 + }, + { + "name": "PARTICLES_COLLISION_TYPE_BOX_COLLIDE", + "value": 4 + }, + { + "name": "PARTICLES_COLLISION_TYPE_SDF_COLLIDE", + "value": 5 + }, + { + "name": "PARTICLES_COLLISION_TYPE_HEIGHTFIELD_COLLIDE", + "value": 6 + } + ] + }, + { + "name": "ViewportSDFScale", + "values": [ + { + "name": "VIEWPORT_SDF_SCALE_100_PERCENT", + "value": 0 + }, + { + "name": "VIEWPORT_SDF_SCALE_50_PERCENT", + "value": 1 + }, + { + "name": "VIEWPORT_SDF_SCALE_25_PERCENT", + "value": 2 + }, + { + "name": "VIEWPORT_SDF_SCALE_MAX", + "value": 3 + } + ] + }, + { + "name": "ViewportDebugDraw", + "values": [ + { + "name": "VIEWPORT_DEBUG_DRAW_DISABLED", + "value": 0 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_UNSHADED", + "value": 1 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_LIGHTING", + "value": 2 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_OVERDRAW", + "value": 3 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_WIREFRAME", + "value": 4 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_NORMAL_BUFFER", + "value": 5 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_VOXEL_GI_ALBEDO", + "value": 6 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_VOXEL_GI_LIGHTING", + "value": 7 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_VOXEL_GI_EMISSION", + "value": 8 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_SHADOW_ATLAS", + "value": 9 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_DIRECTIONAL_SHADOW_ATLAS", + "value": 10 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_SCENE_LUMINANCE", + "value": 11 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_SSAO", + "value": 12 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_PSSM_SPLITS", + "value": 13 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_DECAL_ATLAS", + "value": 14 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_SDFGI", + "value": 15 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_SDFGI_PROBES", + "value": 16 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_GI_BUFFER", + "value": 17 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_DISABLE_LOD", + "value": 18 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_OMNI_LIGHTS", + "value": 19 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_SPOT_LIGHTS", + "value": 20 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_DECALS", + "value": 21 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_REFLECTION_PROBES", + "value": 22 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_OCCLUDERS", + "value": 23 + } + ] + }, + { + "name": "LightProjectorFilter", + "values": [ + { + "name": "LIGHT_PROJECTOR_FILTER_NEAREST", + "value": 0 + }, + { + "name": "LIGHT_PROJECTOR_FILTER_NEAREST_MIPMAPS", + "value": 1 + }, + { + "name": "LIGHT_PROJECTOR_FILTER_LINEAR", + "value": 2 + }, + { + "name": "LIGHT_PROJECTOR_FILTER_LINEAR_MIPMAPS", + "value": 3 + }, + { + "name": "LIGHT_PROJECTOR_FILTER_LINEAR_MIPMAPS_ANISOTROPIC", + "value": 4 + } + ] + }, + { + "name": "LightOmniShadowMode", + "values": [ + { + "name": "LIGHT_OMNI_SHADOW_DUAL_PARABOLOID", + "value": 0 + }, + { + "name": "LIGHT_OMNI_SHADOW_CUBE", + "value": 1 + } + ] + }, + { + "name": "ViewportOcclusionCullingBuildQuality", + "values": [ + { + "name": "VIEWPORT_OCCLUSION_BUILD_QUALITY_LOW", + "value": 0 + }, + { + "name": "VIEWPORT_OCCLUSION_BUILD_QUALITY_MEDIUM", + "value": 1 + }, + { + "name": "VIEWPORT_OCCLUSION_BUILD_QUALITY_HIGH", + "value": 2 + } + ] + }, + { + "name": "EnvironmentAmbientSource", + "values": [ + { + "name": "ENV_AMBIENT_SOURCE_BG", + "value": 0 + }, + { + "name": "ENV_AMBIENT_SOURCE_DISABLED", + "value": 1 + }, + { + "name": "ENV_AMBIENT_SOURCE_COLOR", + "value": 2 + }, + { + "name": "ENV_AMBIENT_SOURCE_SKY", + "value": 3 + } + ] + }, + { + "name": "CanvasTextureChannel", + "values": [ + { + "name": "CANVAS_TEXTURE_CHANNEL_DIFFUSE", + "value": 0 + }, + { + "name": "CANVAS_TEXTURE_CHANNEL_NORMAL", + "value": 1 + }, + { + "name": "CANVAS_TEXTURE_CHANNEL_SPECULAR", + "value": 2 + } + ] + }, + { + "name": "VoxelGIQuality", + "values": [ + { + "name": "VOXEL_GI_QUALITY_LOW", + "value": 0 + }, + { + "name": "VOXEL_GI_QUALITY_HIGH", + "value": 1 + } + ] + }, + { + "name": "EnvironmentSDFGIRayCount", + "values": [ + { + "name": "ENV_SDFGI_RAY_COUNT_4", + "value": 0 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_8", + "value": 1 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_16", + "value": 2 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_32", + "value": 3 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_64", + "value": 4 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_96", + "value": 5 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_128", + "value": 6 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_MAX", + "value": 7 + } + ] + }, + { + "name": "DOFBlurQuality", + "values": [ + { + "name": "DOF_BLUR_QUALITY_VERY_LOW", + "value": 0 + }, + { + "name": "DOF_BLUR_QUALITY_LOW", + "value": 1 + }, + { + "name": "DOF_BLUR_QUALITY_MEDIUM", + "value": 2 + }, + { + "name": "DOF_BLUR_QUALITY_HIGH", + "value": 3 + } + ] + }, + { + "name": "InstanceType", + "values": [ + { + "name": "INSTANCE_NONE", + "value": 0 + }, + { + "name": "INSTANCE_MESH", + "value": 1 + }, + { + "name": "INSTANCE_MULTIMESH", + "value": 2 + }, + { + "name": "INSTANCE_PARTICLES", + "value": 3 + }, + { + "name": "INSTANCE_PARTICLES_COLLISION", + "value": 4 + }, + { + "name": "INSTANCE_LIGHT", + "value": 5 + }, + { + "name": "INSTANCE_REFLECTION_PROBE", + "value": 6 + }, + { + "name": "INSTANCE_DECAL", + "value": 7 + }, + { + "name": "INSTANCE_VOXEL_GI", + "value": 8 + }, + { + "name": "INSTANCE_LIGHTMAP", + "value": 9 + }, + { + "name": "INSTANCE_OCCLUDER", + "value": 10 + }, + { + "name": "INSTANCE_VISIBLITY_NOTIFIER", + "value": 11 + }, + { + "name": "INSTANCE_MAX", + "value": 12 + }, + { + "name": "INSTANCE_GEOMETRY_MASK", + "value": 14 + } + ] + }, + { + "name": "ArrayFormat", + "values": [ + { + "name": "ARRAY_FORMAT_VERTEX", + "value": 1 + }, + { + "name": "ARRAY_FORMAT_NORMAL", + "value": 2 + }, + { + "name": "ARRAY_FORMAT_TANGENT", + "value": 4 + }, + { + "name": "ARRAY_FORMAT_COLOR", + "value": 8 + }, + { + "name": "ARRAY_FORMAT_TEX_UV", + "value": 16 + }, + { + "name": "ARRAY_FORMAT_TEX_UV2", + "value": 32 + }, + { + "name": "ARRAY_FORMAT_CUSTOM0", + "value": 64 + }, + { + "name": "ARRAY_FORMAT_CUSTOM1", + "value": 128 + }, + { + "name": "ARRAY_FORMAT_CUSTOM2", + "value": 256 + }, + { + "name": "ARRAY_FORMAT_CUSTOM3", + "value": 512 + }, + { + "name": "ARRAY_FORMAT_BONES", + "value": 1024 + }, + { + "name": "ARRAY_FORMAT_WEIGHTS", + "value": 2048 + }, + { + "name": "ARRAY_FORMAT_INDEX", + "value": 4096 + }, + { + "name": "ARRAY_FORMAT_BLEND_SHAPE_MASK", + "value": 2147475463 + }, + { + "name": "ARRAY_FORMAT_CUSTOM_BASE", + "value": 13 + }, + { + "name": "ARRAY_FORMAT_CUSTOM_BITS", + "value": 3 + }, + { + "name": "ARRAY_FORMAT_CUSTOM0_SHIFT", + "value": 13 + }, + { + "name": "ARRAY_FORMAT_CUSTOM1_SHIFT", + "value": 16 + }, + { + "name": "ARRAY_FORMAT_CUSTOM2_SHIFT", + "value": 19 + }, + { + "name": "ARRAY_FORMAT_CUSTOM3_SHIFT", + "value": 22 + }, + { + "name": "ARRAY_FORMAT_CUSTOM_MASK", + "value": 7 + }, + { + "name": "ARRAY_COMPRESS_FLAGS_BASE", + "value": 25 + }, + { + "name": "ARRAY_FLAG_USE_2D_VERTICES", + "value": 33554432 + }, + { + "name": "ARRAY_FLAG_USE_DYNAMIC_UPDATE", + "value": 67108864 + }, + { + "name": "ARRAY_FLAG_USE_8_BONE_WEIGHTS", + "value": 134217728 + } + ] + }, + { + "name": "ReflectionProbeAmbientMode", + "values": [ + { + "name": "REFLECTION_PROBE_AMBIENT_DISABLED", + "value": 0 + }, + { + "name": "REFLECTION_PROBE_AMBIENT_ENVIRONMENT", + "value": 1 + }, + { + "name": "REFLECTION_PROBE_AMBIENT_COLOR", + "value": 2 + } + ] + }, + { + "name": "ViewportUpdateMode", + "values": [ + { + "name": "VIEWPORT_UPDATE_DISABLED", + "value": 0 + }, + { + "name": "VIEWPORT_UPDATE_ONCE", + "value": 1 + }, + { + "name": "VIEWPORT_UPDATE_WHEN_VISIBLE", + "value": 2 + }, + { + "name": "VIEWPORT_UPDATE_WHEN_PARENT_VISIBLE", + "value": 3 + }, + { + "name": "VIEWPORT_UPDATE_ALWAYS", + "value": 4 + } + ] + }, + { + "name": "EnvironmentGlowBlendMode", + "values": [ + { + "name": "ENV_GLOW_BLEND_MODE_ADDITIVE", + "value": 0 + }, + { + "name": "ENV_GLOW_BLEND_MODE_SCREEN", + "value": 1 + }, + { + "name": "ENV_GLOW_BLEND_MODE_SOFTLIGHT", + "value": 2 + }, + { + "name": "ENV_GLOW_BLEND_MODE_REPLACE", + "value": 3 + }, + { + "name": "ENV_GLOW_BLEND_MODE_MIX", + "value": 4 + } + ] + }, + { + "name": "GlobalVariableType", + "values": [ + { + "name": "GLOBAL_VAR_TYPE_BOOL", + "value": 0 + }, + { + "name": "GLOBAL_VAR_TYPE_BVEC2", + "value": 1 + }, + { + "name": "GLOBAL_VAR_TYPE_BVEC3", + "value": 2 + }, + { + "name": "GLOBAL_VAR_TYPE_BVEC4", + "value": 3 + }, + { + "name": "GLOBAL_VAR_TYPE_INT", + "value": 4 + }, + { + "name": "GLOBAL_VAR_TYPE_IVEC2", + "value": 5 + }, + { + "name": "GLOBAL_VAR_TYPE_IVEC3", + "value": 6 + }, + { + "name": "GLOBAL_VAR_TYPE_IVEC4", + "value": 7 + }, + { + "name": "GLOBAL_VAR_TYPE_RECT2I", + "value": 8 + }, + { + "name": "GLOBAL_VAR_TYPE_UINT", + "value": 9 + }, + { + "name": "GLOBAL_VAR_TYPE_UVEC2", + "value": 10 + }, + { + "name": "GLOBAL_VAR_TYPE_UVEC3", + "value": 11 + }, + { + "name": "GLOBAL_VAR_TYPE_UVEC4", + "value": 12 + }, + { + "name": "GLOBAL_VAR_TYPE_FLOAT", + "value": 13 + }, + { + "name": "GLOBAL_VAR_TYPE_VEC2", + "value": 14 + }, + { + "name": "GLOBAL_VAR_TYPE_VEC3", + "value": 15 + }, + { + "name": "GLOBAL_VAR_TYPE_VEC4", + "value": 16 + }, + { + "name": "GLOBAL_VAR_TYPE_COLOR", + "value": 17 + }, + { + "name": "GLOBAL_VAR_TYPE_RECT2", + "value": 18 + }, + { + "name": "GLOBAL_VAR_TYPE_MAT2", + "value": 19 + }, + { + "name": "GLOBAL_VAR_TYPE_MAT3", + "value": 20 + }, + { + "name": "GLOBAL_VAR_TYPE_MAT4", + "value": 21 + }, + { + "name": "GLOBAL_VAR_TYPE_TRANSFORM_2D", + "value": 22 + }, + { + "name": "GLOBAL_VAR_TYPE_TRANSFORM", + "value": 23 + }, + { + "name": "GLOBAL_VAR_TYPE_SAMPLER2D", + "value": 24 + }, + { + "name": "GLOBAL_VAR_TYPE_SAMPLER2DARRAY", + "value": 25 + }, + { + "name": "GLOBAL_VAR_TYPE_SAMPLER3D", + "value": 26 + }, + { + "name": "GLOBAL_VAR_TYPE_SAMPLERCUBE", + "value": 27 + }, + { + "name": "GLOBAL_VAR_TYPE_MAX", + "value": 28 + } + ] + }, + { + "name": "TextureLayeredType", + "values": [ + { + "name": "TEXTURE_LAYERED_2D_ARRAY", + "value": 0 + }, + { + "name": "TEXTURE_LAYERED_CUBEMAP", + "value": 1 + }, + { + "name": "TEXTURE_LAYERED_CUBEMAP_ARRAY", + "value": 2 + } + ] + }, + { + "name": "LightParam", + "values": [ + { + "name": "LIGHT_PARAM_ENERGY", + "value": 0 + }, + { + "name": "LIGHT_PARAM_INDIRECT_ENERGY", + "value": 1 + }, + { + "name": "LIGHT_PARAM_SPECULAR", + "value": 2 + }, + { + "name": "LIGHT_PARAM_RANGE", + "value": 3 + }, + { + "name": "LIGHT_PARAM_SIZE", + "value": 4 + }, + { + "name": "LIGHT_PARAM_ATTENUATION", + "value": 5 + }, + { + "name": "LIGHT_PARAM_SPOT_ANGLE", + "value": 6 + }, + { + "name": "LIGHT_PARAM_SPOT_ATTENUATION", + "value": 7 + }, + { + "name": "LIGHT_PARAM_SHADOW_MAX_DISTANCE", + "value": 8 + }, + { + "name": "LIGHT_PARAM_SHADOW_SPLIT_1_OFFSET", + "value": 9 + }, + { + "name": "LIGHT_PARAM_SHADOW_SPLIT_2_OFFSET", + "value": 10 + }, + { + "name": "LIGHT_PARAM_SHADOW_SPLIT_3_OFFSET", + "value": 11 + }, + { + "name": "LIGHT_PARAM_SHADOW_FADE_START", + "value": 12 + }, + { + "name": "LIGHT_PARAM_SHADOW_NORMAL_BIAS", + "value": 13 + }, + { + "name": "LIGHT_PARAM_SHADOW_BIAS", + "value": 14 + }, + { + "name": "LIGHT_PARAM_SHADOW_PANCAKE_SIZE", + "value": 15 + }, + { + "name": "LIGHT_PARAM_SHADOW_BLUR", + "value": 16 + }, + { + "name": "LIGHT_PARAM_SHADOW_VOLUMETRIC_FOG_FADE", + "value": 17 + }, + { + "name": "LIGHT_PARAM_TRANSMITTANCE_BIAS", + "value": 18 + }, + { + "name": "LIGHT_PARAM_MAX", + "value": 19 + } + ] + }, + { + "name": "EnvironmentSDFGICascades", + "values": [ + { + "name": "ENV_SDFGI_CASCADES_4", + "value": 0 + }, + { + "name": "ENV_SDFGI_CASCADES_6", + "value": 1 + }, + { + "name": "ENV_SDFGI_CASCADES_8", + "value": 2 + } + ] + }, + { + "name": "CanvasLightMode", + "values": [ + { + "name": "CANVAS_LIGHT_MODE_POINT", + "value": 0 + }, + { + "name": "CANVAS_LIGHT_MODE_DIRECTIONAL", + "value": 1 + } + ] + }, + { + "name": "RenderingInfo", + "values": [ + { + "name": "RENDERING_INFO_TOTAL_OBJECTS_IN_FRAME", + "value": 0 + }, + { + "name": "RENDERING_INFO_TOTAL_PRIMITIVES_IN_FRAME", + "value": 1 + }, + { + "name": "RENDERING_INFO_TOTAL_DRAW_CALLS_IN_FRAME", + "value": 2 + }, + { + "name": "RENDERING_INFO_TEXTURE_MEM_USED", + "value": 3 + }, + { + "name": "RENDERING_INFO_BUFFER_MEM_USED", + "value": 4 + }, + { + "name": "RENDERING_INFO_VIDEO_MEM_USED", + "value": 5 + } + ] + }, + { + "name": "CubeMapLayer", + "values": [ + { + "name": "CUBEMAP_LAYER_LEFT", + "value": 0 + }, + { + "name": "CUBEMAP_LAYER_RIGHT", + "value": 1 + }, + { + "name": "CUBEMAP_LAYER_BOTTOM", + "value": 2 + }, + { + "name": "CUBEMAP_LAYER_TOP", + "value": 3 + }, + { + "name": "CUBEMAP_LAYER_FRONT", + "value": 4 + }, + { + "name": "CUBEMAP_LAYER_BACK", + "value": 5 + } + ] + }, + { + "name": "LightType", + "values": [ + { + "name": "LIGHT_DIRECTIONAL", + "value": 0 + }, + { + "name": "LIGHT_OMNI", + "value": 1 + }, + { + "name": "LIGHT_SPOT", + "value": 2 + } + ] + }, + { + "name": "DecalTexture", + "values": [ + { + "name": "DECAL_TEXTURE_ALBEDO", + "value": 0 + }, + { + "name": "DECAL_TEXTURE_NORMAL", + "value": 1 + }, + { + "name": "DECAL_TEXTURE_ORM", + "value": 2 + }, + { + "name": "DECAL_TEXTURE_EMISSION", + "value": 3 + }, + { + "name": "DECAL_TEXTURE_MAX", + "value": 4 + } + ] + }, + { + "name": "CanvasOccluderPolygonCullMode", + "values": [ + { + "name": "CANVAS_OCCLUDER_POLYGON_CULL_DISABLED", + "value": 0 + }, + { + "name": "CANVAS_OCCLUDER_POLYGON_CULL_CLOCKWISE", + "value": 1 + }, + { + "name": "CANVAS_OCCLUDER_POLYGON_CULL_COUNTER_CLOCKWISE", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "texture_2d_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "image", + "type": "Image" + } + ] + }, + { + "name": "texture_2d_layered_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "layers", + "type": "Array" + }, + { + "name": "layered_type", + "type": "enum::RenderingServer.TextureLayeredType" + } + ] + }, + { + "name": "texture_3d_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135553772, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "format", + "type": "enum::Image.Format" + }, + { + "name": "width", + "type": "int", + "meta": "int32" + }, + { + "name": "height", + "type": "int", + "meta": "int32" + }, + { + "name": "depth", + "type": "int", + "meta": "int32" + }, + { + "name": "mipmaps", + "type": "bool" + }, + { + "name": "data", + "type": "Array" + } + ] + }, + { + "name": "texture_proxy_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "base", + "type": "RID" + } + ] + }, + { + "name": "texture_2d_update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "texture", + "type": "RID" + }, + { + "name": "image", + "type": "Image" + }, + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "texture_3d_update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "texture", + "type": "RID" + }, + { + "name": "data", + "type": "Array" + } + ] + }, + { + "name": "texture_proxy_update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "texture", + "type": "RID" + }, + { + "name": "proxy_to", + "type": "RID" + } + ] + }, + { + "name": "texture_2d_placeholder_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "texture_2d_layered_placeholder_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "layered_type", + "type": "enum::RenderingServer.TextureLayeredType" + } + ] + }, + { + "name": "texture_3d_placeholder_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "texture_2d_get", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Image" + }, + "arguments": [ + { + "name": "texture", + "type": "RID" + } + ] + }, + { + "name": "texture_2d_layer_get", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Image" + }, + "arguments": [ + { + "name": "texture", + "type": "RID" + }, + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "texture_3d_get", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "texture", + "type": "RID" + } + ] + }, + { + "name": "texture_replace", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "texture", + "type": "RID" + }, + { + "name": "by_texture", + "type": "RID" + } + ] + }, + { + "name": "texture_set_size_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "texture", + "type": "RID" + }, + { + "name": "width", + "type": "int", + "meta": "int32" + }, + { + "name": "height", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "texture_set_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "texture", + "type": "RID" + }, + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "texture_get_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "texture", + "type": "RID" + } + ] + }, + { + "name": "texture_set_force_redraw_if_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "texture", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "shader_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "shader_get_code", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "shader", + "type": "RID" + } + ] + }, + { + "name": "shader_get_param_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shader", + "type": "RID" + } + ] + }, + { + "name": "shader_get_param_default", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "shader", + "type": "RID" + }, + { + "name": "param", + "type": "StringName" + } + ] + }, + { + "name": "shader_set_default_texture_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "shader", + "type": "RID" + }, + { + "name": "param", + "type": "StringName" + }, + { + "name": "texture", + "type": "RID" + } + ] + }, + { + "name": "shader_get_default_texture_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "shader", + "type": "RID" + }, + { + "name": "param", + "type": "StringName" + } + ] + }, + { + "name": "material_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "material_set_shader", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "shader_material", + "type": "RID" + }, + { + "name": "shader", + "type": "RID" + } + ] + }, + { + "name": "material_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "material", + "type": "RID" + }, + { + "name": "parameter", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "material_get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "material", + "type": "RID" + }, + { + "name": "parameter", + "type": "StringName" + } + ] + }, + { + "name": "material_set_render_priority", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "material", + "type": "RID" + }, + { + "name": "priority", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "material_set_next_pass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "material", + "type": "RID" + }, + { + "name": "next_material", + "type": "RID" + } + ] + }, + { + "name": "mesh_create_from_surfaces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "surfaces", + "type": "Array" + }, + { + "name": "blend_shape_count", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "mesh_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "mesh_surface_get_format_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "format", + "type": "int", + "meta": "uint32" + }, + { + "name": "vertex_count", + "type": "int", + "meta": "int32" + }, + { + "name": "array_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "mesh_surface_get_format_vertex_stride", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "format", + "type": "int", + "meta": "uint32" + }, + { + "name": "vertex_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "mesh_surface_get_format_attribute_stride", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "format", + "type": "int", + "meta": "uint32" + }, + { + "name": "vertex_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "mesh_surface_get_format_skin_stride", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "format", + "type": "int", + "meta": "uint32" + }, + { + "name": "vertex_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "mesh_add_surface", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "surface", + "type": "Dictionary" + } + ] + }, + { + "name": "mesh_add_surface_from_arrays", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1351626862, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "primitive", + "type": "enum::RenderingServer.PrimitiveType" + }, + { + "name": "arrays", + "type": "Array" + }, + { + "name": "blend_shapes", + "type": "Array", + "default_value": "[]" + }, + { + "name": "lods", + "type": "Dictionary", + "default_value": "{\n}" + }, + { + "name": "compress_format", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "mesh_get_blend_shape_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "mesh", + "type": "RID" + } + ] + }, + { + "name": "mesh_set_blend_shape_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::RenderingServer.BlendShapeMode" + } + ] + }, + { + "name": "mesh_get_blend_shape_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::RenderingServer.BlendShapeMode" + }, + "arguments": [ + { + "name": "mesh", + "type": "RID" + } + ] + }, + { + "name": "mesh_surface_set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + }, + { + "name": "material", + "type": "RID" + } + ] + }, + { + "name": "mesh_surface_get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "mesh_get_surface", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "mesh_surface_get_arrays", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "mesh_surface_get_blend_shape_arrays", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "mesh_get_surface_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "mesh", + "type": "RID" + } + ] + }, + { + "name": "mesh_set_custom_aabb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "aabb", + "type": "AABB" + } + ] + }, + { + "name": "mesh_get_custom_aabb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "AABB" + }, + "arguments": [ + { + "name": "mesh", + "type": "RID" + } + ] + }, + { + "name": "mesh_clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mesh", + "type": "RID" + } + ] + }, + { + "name": "mesh_surface_update_vertex_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + }, + { + "name": "offset", + "type": "int", + "meta": "int32" + }, + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "mesh_surface_update_attribute_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + }, + { + "name": "offset", + "type": "int", + "meta": "int32" + }, + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "mesh_surface_update_skin_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + }, + { + "name": "offset", + "type": "int", + "meta": "int32" + }, + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "mesh_set_shadow_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "shadow_mesh", + "type": "RID" + } + ] + }, + { + "name": "multimesh_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "multimesh_allocate_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 260938124, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + }, + { + "name": "instances", + "type": "int", + "meta": "int32" + }, + { + "name": "transform_format", + "type": "enum::RenderingServer.MultimeshTransformFormat" + }, + { + "name": "color_format", + "type": "bool", + "default_value": "false" + }, + { + "name": "custom_data_format", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "multimesh_get_instance_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + } + ] + }, + { + "name": "multimesh_set_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + }, + { + "name": "mesh", + "type": "RID" + } + ] + }, + { + "name": "multimesh_instance_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "multimesh_instance_set_transform_2d", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "multimesh_instance_set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "multimesh_instance_set_custom_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "custom_data", + "type": "Color" + } + ] + }, + { + "name": "multimesh_get_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + } + ] + }, + { + "name": "multimesh_get_aabb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "AABB" + }, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + } + ] + }, + { + "name": "multimesh_instance_get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "multimesh_instance_get_transform_2d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Transform2D" + }, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "multimesh_instance_get_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "multimesh_instance_get_custom_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "multimesh_set_visible_instances", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + }, + { + "name": "visible", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "multimesh_get_visible_instances", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + } + ] + }, + { + "name": "multimesh_set_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + }, + { + "name": "buffer", + "type": "PackedFloat32Array" + } + ] + }, + { + "name": "multimesh_get_buffer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedFloat32Array" + }, + "arguments": [ + { + "name": "multimesh", + "type": "RID" + } + ] + }, + { + "name": "skeleton_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "skeleton_allocate_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "skeleton", + "type": "RID" + }, + { + "name": "bones", + "type": "int", + "meta": "int32" + }, + { + "name": "is_2d_skeleton", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "skeleton_get_bone_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "skeleton", + "type": "RID" + } + ] + }, + { + "name": "skeleton_bone_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "skeleton", + "type": "RID" + }, + { + "name": "bone", + "type": "int", + "meta": "int32" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "skeleton_bone_get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "skeleton", + "type": "RID" + }, + { + "name": "bone", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "skeleton_bone_set_transform_2d", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "skeleton", + "type": "RID" + }, + { + "name": "bone", + "type": "int", + "meta": "int32" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "skeleton_bone_get_transform_2d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Transform2D" + }, + "arguments": [ + { + "name": "skeleton", + "type": "RID" + }, + { + "name": "bone", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "skeleton_set_base_transform_2d", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "skeleton", + "type": "RID" + }, + { + "name": "base_transform", + "type": "Transform2D" + } + ] + }, + { + "name": "directional_light_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "omni_light_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "spot_light_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "light_set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "light_set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "param", + "type": "enum::RenderingServer.LightParam" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "light_set_shadow", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "light_set_shadow_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "light_set_projector", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "texture", + "type": "RID" + } + ] + }, + { + "name": "light_set_negative", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "light_set_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "light_set_reverse_cull_face_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "light_set_bake_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "bake_mode", + "type": "enum::RenderingServer.LightBakeMode" + } + ] + }, + { + "name": "light_set_max_sdfgi_cascade", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "cascade", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "light_omni_set_shadow_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::RenderingServer.LightOmniShadowMode" + } + ] + }, + { + "name": "light_directional_set_shadow_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::RenderingServer.LightDirectionalShadowMode" + } + ] + }, + { + "name": "light_directional_set_blend_splits", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "light_directional_set_sky_only", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "light_projectors_set_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filter", + "type": "enum::RenderingServer.LightProjectorFilter" + } + ] + }, + { + "name": "shadows_quality_set", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "quality", + "type": "enum::RenderingServer.ShadowQuality" + } + ] + }, + { + "name": "directional_shadow_quality_set", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "quality", + "type": "enum::RenderingServer.ShadowQuality" + } + ] + }, + { + "name": "directional_shadow_atlas_set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "is_16bits", + "type": "bool" + } + ] + }, + { + "name": "reflection_probe_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "reflection_probe_set_update_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::RenderingServer.ReflectionProbeUpdateMode" + } + ] + }, + { + "name": "reflection_probe_set_intensity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "intensity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "reflection_probe_set_ambient_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::RenderingServer.ReflectionProbeAmbientMode" + } + ] + }, + { + "name": "reflection_probe_set_ambient_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "reflection_probe_set_ambient_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "reflection_probe_set_max_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "reflection_probe_set_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "reflection_probe_set_origin_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "offset", + "type": "Vector3" + } + ] + }, + { + "name": "reflection_probe_set_as_interior", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "reflection_probe_set_enable_box_projection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "reflection_probe_set_enable_shadows", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "reflection_probe_set_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "layers", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "reflection_probe_set_resolution", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "resolution", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "reflection_probe_set_lod_threshold", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "probe", + "type": "RID" + }, + { + "name": "pixels", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "decal_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "decal_set_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "decal", + "type": "RID" + }, + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "decal_set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "decal", + "type": "RID" + }, + { + "name": "type", + "type": "enum::RenderingServer.DecalTexture" + }, + { + "name": "texture", + "type": "RID" + } + ] + }, + { + "name": "decal_set_emission_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "decal", + "type": "RID" + }, + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "decal_set_albedo_mix", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "decal", + "type": "RID" + }, + { + "name": "albedo_mix", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "decal_set_modulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "decal", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "decal_set_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "decal", + "type": "RID" + }, + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "decal_set_distance_fade", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "decal", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + }, + { + "name": "begin", + "type": "float", + "meta": "float" + }, + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "decal_set_fade", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "decal", + "type": "RID" + }, + { + "name": "above", + "type": "float", + "meta": "float" + }, + { + "name": "below", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "decal_set_normal_fade", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "decal", + "type": "RID" + }, + { + "name": "fade", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "decals_set_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "filter", + "type": "enum::RenderingServer.DecalFilter" + } + ] + }, + { + "name": "voxel_gi_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "voxel_gi_allocate_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134439725, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + }, + { + "name": "to_cell_xform", + "type": "Transform3D" + }, + { + "name": "aabb", + "type": "AABB" + }, + { + "name": "octree_size", + "type": "Vector3i" + }, + { + "name": "octree_cells", + "type": "PackedByteArray" + }, + { + "name": "data_cells", + "type": "PackedByteArray" + }, + { + "name": "distance_field", + "type": "PackedByteArray" + }, + { + "name": "level_counts", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "voxel_gi_get_octree_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector3i" + }, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + } + ] + }, + { + "name": "voxel_gi_get_octree_cells", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + } + ] + }, + { + "name": "voxel_gi_get_data_cells", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + } + ] + }, + { + "name": "voxel_gi_get_distance_field", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + } + ] + }, + { + "name": "voxel_gi_get_level_counts", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + } + ] + }, + { + "name": "voxel_gi_get_to_cell_xform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + } + ] + }, + { + "name": "voxel_gi_set_dynamic_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + }, + { + "name": "range", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "voxel_gi_set_propagation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + }, + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "voxel_gi_set_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + }, + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "voxel_gi_set_bias", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + }, + { + "name": "bias", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "voxel_gi_set_normal_bias", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + }, + { + "name": "bias", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "voxel_gi_set_interior", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "voxel_gi_set_use_two_bounces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "voxel_gi", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "voxel_gi_set_quality", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "quality", + "type": "enum::RenderingServer.VoxelGIQuality" + } + ] + }, + { + "name": "lightmap_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "lightmap_set_textures", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "lightmap", + "type": "RID" + }, + { + "name": "light", + "type": "RID" + }, + { + "name": "uses_sh", + "type": "bool" + } + ] + }, + { + "name": "lightmap_set_probe_bounds", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "lightmap", + "type": "RID" + }, + { + "name": "bounds", + "type": "AABB" + } + ] + }, + { + "name": "lightmap_set_probe_interior", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "lightmap", + "type": "RID" + }, + { + "name": "interior", + "type": "bool" + } + ] + }, + { + "name": "lightmap_set_probe_capture_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "lightmap", + "type": "RID" + }, + { + "name": "points", + "type": "PackedVector3Array" + }, + { + "name": "point_sh", + "type": "PackedColorArray" + }, + { + "name": "tetrahedra", + "type": "PackedInt32Array" + }, + { + "name": "bsp_tree", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "lightmap_get_probe_capture_points", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedVector3Array" + }, + "arguments": [ + { + "name": "lightmap", + "type": "RID" + } + ] + }, + { + "name": "lightmap_get_probe_capture_sh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedColorArray" + }, + "arguments": [ + { + "name": "lightmap", + "type": "RID" + } + ] + }, + { + "name": "lightmap_get_probe_capture_tetrahedra", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "lightmap", + "type": "RID" + } + ] + }, + { + "name": "lightmap_get_probe_capture_bsp_tree", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "lightmap", + "type": "RID" + } + ] + }, + { + "name": "lightmap_set_probe_capture_update_speed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "particles_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "particles_set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::RenderingServer.ParticlesMode" + } + ] + }, + { + "name": "particles_set_emitting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "emitting", + "type": "bool" + } + ] + }, + { + "name": "particles_get_emitting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "particles", + "type": "RID" + } + ] + }, + { + "name": "particles_set_amount", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "particles_set_lifetime", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "lifetime", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "particles_set_one_shot", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "one_shot", + "type": "bool" + } + ] + }, + { + "name": "particles_set_pre_process_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "time", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "particles_set_explosiveness_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "particles_set_randomness_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "particles_set_custom_aabb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "aabb", + "type": "AABB" + } + ] + }, + { + "name": "particles_set_speed_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "particles_set_use_local_coordinates", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "particles_set_process_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "material", + "type": "RID" + } + ] + }, + { + "name": "particles_set_fixed_fps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "fps", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "particles_set_interpolate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "particles_set_fractional_delta", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "particles_set_collision_base_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "particles_set_transform_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "align", + "type": "enum::RenderingServer.ParticlesTransformAlign" + } + ] + }, + { + "name": "particles_set_trails", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "length_sec", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "particles_set_trail_bind_poses", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "bind_poses", + "type": "Array" + } + ] + }, + { + "name": "particles_is_inactive", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "particles", + "type": "RID" + } + ] + }, + { + "name": "particles_request_process", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "particles", + "type": "RID" + } + ] + }, + { + "name": "particles_restart", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "particles", + "type": "RID" + } + ] + }, + { + "name": "particles_set_subemitter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "subemitter_particles", + "type": "RID" + } + ] + }, + { + "name": "particles_emit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134367851, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform3D" + }, + { + "name": "velocity", + "type": "Vector3" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "custom", + "type": "Color" + }, + { + "name": "emit_flags", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "particles_set_draw_order", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "order", + "type": "enum::RenderingServer.ParticlesDrawOrder" + } + ] + }, + { + "name": "particles_set_draw_passes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "particles_set_draw_pass_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "pass", + "type": "int", + "meta": "int32" + }, + { + "name": "mesh", + "type": "RID" + } + ] + }, + { + "name": "particles_get_current_aabb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "AABB" + }, + "arguments": [ + { + "name": "particles", + "type": "RID" + } + ] + }, + { + "name": "particles_set_emission_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "particles_collision_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "particles_collision_set_collision_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles_collision", + "type": "RID" + }, + { + "name": "type", + "type": "enum::RenderingServer.ParticlesCollisionType" + } + ] + }, + { + "name": "particles_collision_set_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles_collision", + "type": "RID" + }, + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "particles_collision_set_sphere_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles_collision", + "type": "RID" + }, + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "particles_collision_set_box_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles_collision", + "type": "RID" + }, + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "particles_collision_set_attractor_strength", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles_collision", + "type": "RID" + }, + { + "name": "setrngth", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "particles_collision_set_attractor_directionality", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles_collision", + "type": "RID" + }, + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "particles_collision_set_attractor_attenuation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles_collision", + "type": "RID" + }, + { + "name": "curve", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "particles_collision_set_field_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles_collision", + "type": "RID" + }, + { + "name": "texture", + "type": "RID" + } + ] + }, + { + "name": "particles_collision_height_field_update", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "particles_collision", + "type": "RID" + } + ] + }, + { + "name": "particles_collision_set_height_field_resolution", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "particles_collision", + "type": "RID" + }, + { + "name": "resolution", + "type": "enum::RenderingServer.ParticlesCollisionHeightfieldResolution" + } + ] + }, + { + "name": "visibility_notifier_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "visibility_notifier_set_aabb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "notifier", + "type": "RID" + }, + { + "name": "aabb", + "type": "AABB" + } + ] + }, + { + "name": "visibility_notifier_set_callbacks", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "notifier", + "type": "RID" + }, + { + "name": "enter_callable", + "type": "Callable" + }, + { + "name": "exit_callable", + "type": "Callable" + } + ] + }, + { + "name": "occluder_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "occluder_set_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "occluder", + "type": "RID" + }, + { + "name": "vertices", + "type": "PackedVector3Array" + }, + { + "name": "indices", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "camera_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "camera_set_perspective", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "camera", + "type": "RID" + }, + { + "name": "fovy_degrees", + "type": "float", + "meta": "float" + }, + { + "name": "z_near", + "type": "float", + "meta": "float" + }, + { + "name": "z_far", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "camera_set_orthogonal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "camera", + "type": "RID" + }, + { + "name": "size", + "type": "float", + "meta": "float" + }, + { + "name": "z_near", + "type": "float", + "meta": "float" + }, + { + "name": "z_far", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "camera_set_frustum", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "camera", + "type": "RID" + }, + { + "name": "size", + "type": "float", + "meta": "float" + }, + { + "name": "offset", + "type": "Vector2" + }, + { + "name": "z_near", + "type": "float", + "meta": "float" + }, + { + "name": "z_far", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "camera_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "camera", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "camera_set_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "camera", + "type": "RID" + }, + { + "name": "layers", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "camera_set_environment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "camera", + "type": "RID" + }, + { + "name": "env", + "type": "RID" + } + ] + }, + { + "name": "camera_set_camera_effects", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "camera", + "type": "RID" + }, + { + "name": "effects", + "type": "RID" + } + ] + }, + { + "name": "camera_set_use_vertical_aspect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "camera", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "viewport_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "viewport_set_use_xr", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "use_xr", + "type": "bool" + } + ] + }, + { + "name": "viewport_set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "width", + "type": "int", + "meta": "int32" + }, + { + "name": "height", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "viewport_set_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "viewport_set_parent_viewport", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "parent_viewport", + "type": "RID" + } + ] + }, + { + "name": "viewport_attach_to_screen", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1174500091, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "rect", + "type": "Rect2", + "default_value": "Rect2(0, 0, 0, 0)" + }, + { + "name": "screen", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "viewport_set_render_direct_to_screen", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "viewport_set_update_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "update_mode", + "type": "enum::RenderingServer.ViewportUpdateMode" + } + ] + }, + { + "name": "viewport_set_clear_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "clear_mode", + "type": "enum::RenderingServer.ViewportClearMode" + } + ] + }, + { + "name": "viewport_get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "viewport", + "type": "RID" + } + ] + }, + { + "name": "viewport_set_disable_3d", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "viewport_set_disable_2d", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "viewport_set_disable_environment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "viewport_attach_camera", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "camera", + "type": "RID" + } + ] + }, + { + "name": "viewport_set_scenario", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "scenario", + "type": "RID" + } + ] + }, + { + "name": "viewport_attach_canvas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "canvas", + "type": "RID" + } + ] + }, + { + "name": "viewport_remove_canvas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "canvas", + "type": "RID" + } + ] + }, + { + "name": "viewport_set_snap_2d_transforms_to_pixel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "viewport_set_snap_2d_vertices_to_pixel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "viewport_set_default_canvas_item_texture_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "filter", + "type": "enum::RenderingServer.CanvasItemTextureFilter" + } + ] + }, + { + "name": "viewport_set_default_canvas_item_texture_repeat", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "repeat", + "type": "enum::RenderingServer.CanvasItemTextureRepeat" + } + ] + }, + { + "name": "viewport_set_canvas_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "canvas", + "type": "RID" + }, + { + "name": "offset", + "type": "Transform2D" + } + ] + }, + { + "name": "viewport_set_canvas_stacking", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "canvas", + "type": "RID" + }, + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "sublayer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "viewport_set_transparent_background", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "viewport_set_global_canvas_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "viewport_set_sdf_oversize_and_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "oversize", + "type": "enum::RenderingServer.ViewportSDFOversize" + }, + { + "name": "scale", + "type": "enum::RenderingServer.ViewportSDFScale" + } + ] + }, + { + "name": "viewport_set_shadow_atlas_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "use_16_bits", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "viewport_set_shadow_atlas_quadrant_subdivision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "quadrant", + "type": "int", + "meta": "int32" + }, + { + "name": "subdivision", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "viewport_set_msaa", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "msaa", + "type": "enum::RenderingServer.ViewportMSAA" + } + ] + }, + { + "name": "viewport_set_screen_space_aa", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::RenderingServer.ViewportScreenSpaceAA" + } + ] + }, + { + "name": "viewport_set_use_debanding", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "viewport_set_use_occlusion_culling", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "viewport_set_occlusion_rays_per_thread", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rays_per_thread", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "viewport_set_occlusion_culling_build_quality", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "quality", + "type": "enum::RenderingServer.ViewportOcclusionCullingBuildQuality" + } + ] + }, + { + "name": "viewport_get_render_info", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "type", + "type": "enum::RenderingServer.ViewportRenderInfoType" + }, + { + "name": "info", + "type": "enum::RenderingServer.ViewportRenderInfo" + } + ] + }, + { + "name": "viewport_set_debug_draw", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "draw", + "type": "enum::RenderingServer.ViewportDebugDraw" + } + ] + }, + { + "name": "viewport_set_measure_render_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "viewport", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "viewport_get_measured_render_time_cpu", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "viewport", + "type": "RID" + } + ] + }, + { + "name": "viewport_get_measured_render_time_gpu", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "viewport", + "type": "RID" + } + ] + }, + { + "name": "sky_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "sky_set_radiance_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "sky", + "type": "RID" + }, + { + "name": "radiance_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "sky_set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "sky", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::RenderingServer.SkyMode" + } + ] + }, + { + "name": "sky_set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "sky", + "type": "RID" + }, + { + "name": "material", + "type": "RID" + } + ] + }, + { + "name": "sky_bake_panorama", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "Image" + }, + "arguments": [ + { + "name": "sky", + "type": "RID" + }, + { + "name": "energy", + "type": "float", + "meta": "float" + }, + { + "name": "bake_irradiance", + "type": "bool" + }, + { + "name": "size", + "type": "Vector2i" + } + ] + }, + { + "name": "environment_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "environment_set_background", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "bg", + "type": "enum::RenderingServer.EnvironmentBG" + } + ] + }, + { + "name": "environment_set_sky", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "sky", + "type": "RID" + } + ] + }, + { + "name": "environment_set_sky_custom_fov", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "environment_set_sky_orientation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "orientation", + "type": "Basis" + } + ] + }, + { + "name": "environment_set_bg_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "environment_set_bg_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "environment_set_canvas_max_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "max_layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "environment_set_ambient_light", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3710940635, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "ambient", + "type": "enum::RenderingServer.EnvironmentAmbientSource", + "default_value": "0" + }, + { + "name": "energy", + "type": "float", + "meta": "float", + "default_value": "1.0" + }, + { + "name": "sky_contibution", + "type": "float", + "meta": "float", + "default_value": "0.0" + }, + { + "name": "reflection_source", + "type": "enum::RenderingServer.EnvironmentReflectionSource", + "default_value": "0" + }, + { + "name": "ao_color", + "type": "Color", + "default_value": "Color(0, 0, 0, 1)" + } + ] + }, + { + "name": "environment_set_glow", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134547536, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "levels", + "type": "PackedFloat32Array" + }, + { + "name": "intensity", + "type": "float", + "meta": "float" + }, + { + "name": "strength", + "type": "float", + "meta": "float" + }, + { + "name": "mix", + "type": "float", + "meta": "float" + }, + { + "name": "bloom_threshold", + "type": "float", + "meta": "float" + }, + { + "name": "blend_mode", + "type": "enum::RenderingServer.EnvironmentGlowBlendMode" + }, + { + "name": "hdr_bleed_threshold", + "type": "float", + "meta": "float" + }, + { + "name": "hdr_bleed_scale", + "type": "float", + "meta": "float" + }, + { + "name": "hdr_luminance_cap", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "environment_set_tonemap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134475662, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "tone_mapper", + "type": "enum::RenderingServer.EnvironmentToneMapper" + }, + { + "name": "exposure", + "type": "float", + "meta": "float" + }, + { + "name": "white", + "type": "float", + "meta": "float" + }, + { + "name": "auto_exposure", + "type": "bool" + }, + { + "name": "min_luminance", + "type": "float", + "meta": "float" + }, + { + "name": "max_luminance", + "type": "float", + "meta": "float" + }, + { + "name": "auto_exp_speed", + "type": "float", + "meta": "float" + }, + { + "name": "auto_exp_grey", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "environment_set_adjustment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134403788, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "brightness", + "type": "float", + "meta": "float" + }, + { + "name": "contrast", + "type": "float", + "meta": "float" + }, + { + "name": "saturation", + "type": "float", + "meta": "float" + }, + { + "name": "use_1d_color_correction", + "type": "bool" + }, + { + "name": "color_correction", + "type": "RID" + } + ] + }, + { + "name": "environment_set_ssr", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134367851, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "max_steps", + "type": "int", + "meta": "int32" + }, + { + "name": "fade_in", + "type": "float", + "meta": "float" + }, + { + "name": "fade_out", + "type": "float", + "meta": "float" + }, + { + "name": "depth_tolerance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "environment_set_ssao", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134511599, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "radius", + "type": "float", + "meta": "float" + }, + { + "name": "intensity", + "type": "float", + "meta": "float" + }, + { + "name": "power", + "type": "float", + "meta": "float" + }, + { + "name": "detail", + "type": "float", + "meta": "float" + }, + { + "name": "horizon", + "type": "float", + "meta": "float" + }, + { + "name": "sharpness", + "type": "float", + "meta": "float" + }, + { + "name": "light_affect", + "type": "float", + "meta": "float" + }, + { + "name": "ao_channel_affect", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "environment_set_fog", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134475662, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "light_color", + "type": "Color" + }, + { + "name": "light_energy", + "type": "float", + "meta": "float" + }, + { + "name": "sun_scatter", + "type": "float", + "meta": "float" + }, + { + "name": "density", + "type": "float", + "meta": "float" + }, + { + "name": "height", + "type": "float", + "meta": "float" + }, + { + "name": "height_density", + "type": "float", + "meta": "float" + }, + { + "name": "aerial_perspective", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "environment_set_sdfgi", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134547536, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "cascades", + "type": "enum::RenderingServer.EnvironmentSDFGICascades" + }, + { + "name": "min_cell_size", + "type": "float", + "meta": "float" + }, + { + "name": "y_scale", + "type": "enum::RenderingServer.EnvironmentSDFGIYScale" + }, + { + "name": "use_occlusion", + "type": "bool" + }, + { + "name": "bounce_feedback", + "type": "float", + "meta": "float" + }, + { + "name": "read_sky", + "type": "bool" + }, + { + "name": "energy", + "type": "float", + "meta": "float" + }, + { + "name": "normal_bias", + "type": "float", + "meta": "float" + }, + { + "name": "probe_bias", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "environment_set_volumetric_fog", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134511599, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "density", + "type": "float", + "meta": "float" + }, + { + "name": "light", + "type": "Color" + }, + { + "name": "light_energy", + "type": "float", + "meta": "float" + }, + { + "name": "length", + "type": "float", + "meta": "float" + }, + { + "name": "p_detail_spread", + "type": "float", + "meta": "float" + }, + { + "name": "gi_inject", + "type": "float", + "meta": "float" + }, + { + "name": "temporal_reprojection", + "type": "bool" + }, + { + "name": "temporal_reprojection_amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "environment_glow_set_use_bicubic_upscale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "environment_glow_set_use_high_quality", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "environment_set_ssr_roughness_quality", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "quality", + "type": "enum::RenderingServer.EnvironmentSSRRoughnessQuality" + } + ] + }, + { + "name": "environment_set_ssao_quality", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134367851, + "arguments": [ + { + "name": "quality", + "type": "enum::RenderingServer.EnvironmentSSAOQuality" + }, + { + "name": "half_size", + "type": "bool" + }, + { + "name": "adaptive_target", + "type": "float", + "meta": "float" + }, + { + "name": "blur_passes", + "type": "int", + "meta": "int32" + }, + { + "name": "fadeout_from", + "type": "float", + "meta": "float" + }, + { + "name": "fadeout_to", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "environment_set_sdfgi_ray_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ray_count", + "type": "enum::RenderingServer.EnvironmentSDFGIRayCount" + } + ] + }, + { + "name": "environment_set_sdfgi_frames_to_converge", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "frames", + "type": "enum::RenderingServer.EnvironmentSDFGIFramesToConverge" + } + ] + }, + { + "name": "environment_set_sdfgi_frames_to_update_light", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "frames", + "type": "enum::RenderingServer.EnvironmentSDFGIFramesToUpdateLight" + } + ] + }, + { + "name": "environment_set_volumetric_fog_volume_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "depth", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "environment_set_volumetric_fog_filter_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "environment_bake_panorama", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "Image" + }, + "arguments": [ + { + "name": "environment", + "type": "RID" + }, + { + "name": "bake_irradiance", + "type": "bool" + }, + { + "name": "size", + "type": "Vector2i" + } + ] + }, + { + "name": "screen_space_roughness_limiter_set_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "enable", + "type": "bool" + }, + { + "name": "amount", + "type": "float", + "meta": "float" + }, + { + "name": "limit", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "sub_surface_scattering_set_quality", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "quality", + "type": "enum::RenderingServer.SubSurfaceScatteringQuality" + } + ] + }, + { + "name": "sub_surface_scattering_set_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + }, + { + "name": "depth_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "camera_effects_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "camera_effects_set_dof_blur_quality", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "quality", + "type": "enum::RenderingServer.DOFBlurQuality" + }, + { + "name": "use_jitter", + "type": "bool" + } + ] + }, + { + "name": "camera_effects_set_dof_blur_bokeh_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "enum::RenderingServer.DOFBokehShape" + } + ] + }, + { + "name": "camera_effects_set_dof_blur", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134439725, + "arguments": [ + { + "name": "camera_effects", + "type": "RID" + }, + { + "name": "far_enable", + "type": "bool" + }, + { + "name": "far_distance", + "type": "float", + "meta": "float" + }, + { + "name": "far_transition", + "type": "float", + "meta": "float" + }, + { + "name": "near_enable", + "type": "bool" + }, + { + "name": "near_distance", + "type": "float", + "meta": "float" + }, + { + "name": "near_transition", + "type": "float", + "meta": "float" + }, + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "camera_effects_set_custom_exposure", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "camera_effects", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "exposure", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "scenario_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "scenario_set_environment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "scenario", + "type": "RID" + }, + { + "name": "environment", + "type": "RID" + } + ] + }, + { + "name": "scenario_set_fallback_environment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "scenario", + "type": "RID" + }, + { + "name": "environment", + "type": "RID" + } + ] + }, + { + "name": "scenario_set_camera_effects", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "scenario", + "type": "RID" + }, + { + "name": "effects", + "type": "RID" + } + ] + }, + { + "name": "instance_create2", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "base", + "type": "RID" + }, + { + "name": "scenario", + "type": "RID" + } + ] + }, + { + "name": "instance_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "instance_set_base", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "base", + "type": "RID" + } + ] + }, + { + "name": "instance_set_scenario", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "scenario", + "type": "RID" + } + ] + }, + { + "name": "instance_set_layer_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "instance_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "instance_attach_object_instance_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "id", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "instance_set_blend_shape_weight", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "shape", + "type": "int", + "meta": "int32" + }, + { + "name": "weight", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "instance_set_surface_override_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + }, + { + "name": "material", + "type": "RID" + } + ] + }, + { + "name": "instance_set_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "visible", + "type": "bool" + } + ] + }, + { + "name": "instance_set_custom_aabb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "aabb", + "type": "AABB" + } + ] + }, + { + "name": "instance_attach_skeleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "skeleton", + "type": "RID" + } + ] + }, + { + "name": "instance_set_extra_visibility_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "instance_set_visibility_parent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "parent", + "type": "RID" + } + ] + }, + { + "name": "instance_geometry_set_flag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "flag", + "type": "enum::RenderingServer.InstanceFlags" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "instance_geometry_set_cast_shadows_setting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "shadow_casting_setting", + "type": "enum::RenderingServer.ShadowCastingSetting" + } + ] + }, + { + "name": "instance_geometry_set_material_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "material", + "type": "RID" + } + ] + }, + { + "name": "instance_geometry_set_visibility_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "min", + "type": "float", + "meta": "float" + }, + { + "name": "max", + "type": "float", + "meta": "float" + }, + { + "name": "min_margin", + "type": "float", + "meta": "float" + }, + { + "name": "max_margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "instance_geometry_set_lightmap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "lightmap", + "type": "RID" + }, + { + "name": "lightmap_uv_scale", + "type": "Rect2" + }, + { + "name": "lightmap_slice", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "instance_geometry_set_lod_bias", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "lod_bias", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "instance_geometry_set_shader_parameter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "parameter", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "instance_geometry_get_shader_parameter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "parameter", + "type": "StringName" + } + ] + }, + { + "name": "instance_geometry_get_shader_parameter_default_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "instance", + "type": "RID" + }, + { + "name": "parameter", + "type": "StringName" + } + ] + }, + { + "name": "instance_geometry_get_shader_parameter_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "instance", + "type": "RID" + } + ] + }, + { + "name": "instances_cull_aabb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "aabb", + "type": "AABB" + }, + { + "name": "scenario", + "type": "RID", + "default_value": "" + } + ] + }, + { + "name": "instances_cull_ray", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 174785387, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "from", + "type": "Vector3" + }, + { + "name": "to", + "type": "Vector3" + }, + { + "name": "scenario", + "type": "RID", + "default_value": "" + } + ] + }, + { + "name": "instances_cull_convex", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "convex", + "type": "Array" + }, + { + "name": "scenario", + "type": "RID", + "default_value": "" + } + ] + }, + { + "name": "bake_render_uv2", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "base", + "type": "RID" + }, + { + "name": "material_overrides", + "type": "Array" + }, + { + "name": "image_size", + "type": "Vector2i" + } + ] + }, + { + "name": "canvas_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "canvas_set_item_mirroring", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "item", + "type": "RID" + }, + { + "name": "mirroring", + "type": "Vector2" + } + ] + }, + { + "name": "canvas_set_modulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "canvas_set_disable_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "canvas_texture_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "canvas_texture_set_channel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "canvas_texture", + "type": "RID" + }, + { + "name": "channel", + "type": "enum::RenderingServer.CanvasTextureChannel" + }, + { + "name": "texture", + "type": "RID" + } + ] + }, + { + "name": "canvas_texture_set_shading_parameters", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "canvas_texture", + "type": "RID" + }, + { + "name": "base_color", + "type": "Color" + }, + { + "name": "shininess", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "canvas_texture_set_texture_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "canvas_texture", + "type": "RID" + }, + { + "name": "filter", + "type": "enum::RenderingServer.CanvasItemTextureFilter" + } + ] + }, + { + "name": "canvas_texture_set_texture_repeat", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "canvas_texture", + "type": "RID" + }, + { + "name": "repeat", + "type": "enum::RenderingServer.CanvasItemTextureRepeat" + } + ] + }, + { + "name": "canvas_item_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "canvas_item_set_parent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "parent", + "type": "RID" + } + ] + }, + { + "name": "canvas_item_set_default_texture_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "filter", + "type": "enum::RenderingServer.CanvasItemTextureFilter" + } + ] + }, + { + "name": "canvas_item_set_default_texture_repeat", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "repeat", + "type": "enum::RenderingServer.CanvasItemTextureRepeat" + } + ] + }, + { + "name": "canvas_item_set_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "visible", + "type": "bool" + } + ] + }, + { + "name": "canvas_item_set_light_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "canvas_item_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "canvas_item_set_clip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "clip", + "type": "bool" + } + ] + }, + { + "name": "canvas_item_set_distance_field_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "canvas_item_set_custom_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "use_custom_rect", + "type": "bool" + }, + { + "name": "rect", + "type": "Rect2", + "default_value": "Rect2(0, 0, 0, 0)" + } + ] + }, + { + "name": "canvas_item_set_modulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "canvas_item_set_self_modulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "canvas_item_set_draw_behind_parent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "canvas_item_add_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 138021803, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "from", + "type": "Vector2" + }, + { + "name": "to", + "type": "Vector2" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "canvas_item_add_polyline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 260938124, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "points", + "type": "PackedVector2Array" + }, + { + "name": "colors", + "type": "PackedColorArray" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "1.0" + }, + { + "name": "antialiased", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "canvas_item_add_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "canvas_item_add_circle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "radius", + "type": "float", + "meta": "float" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "canvas_item_add_texture_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1351626862, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "texture", + "type": "RID" + }, + { + "name": "tile", + "type": "bool", + "default_value": "false" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "transpose", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "canvas_item_add_texture_rect_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2643094831, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "texture", + "type": "RID" + }, + { + "name": "src_rect", + "type": "Rect2" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "transpose", + "type": "bool", + "default_value": "false" + }, + { + "name": "clip_uv", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "canvas_item_add_nine_patch", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1620561523, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "source", + "type": "Rect2" + }, + { + "name": "texture", + "type": "RID" + }, + { + "name": "topleft", + "type": "Vector2" + }, + { + "name": "bottomright", + "type": "Vector2" + }, + { + "name": "x_axis_mode", + "type": "enum::RenderingServer.NinePatchAxisMode", + "default_value": "0" + }, + { + "name": "y_axis_mode", + "type": "enum::RenderingServer.NinePatchAxisMode", + "default_value": "0" + }, + { + "name": "draw_center", + "type": "bool", + "default_value": "true" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "canvas_item_add_primitive", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 139207724, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "points", + "type": "PackedVector2Array" + }, + { + "name": "colors", + "type": "PackedColorArray" + }, + { + "name": "uvs", + "type": "PackedVector2Array" + }, + { + "name": "texture", + "type": "RID" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "1.0" + } + ] + }, + { + "name": "canvas_item_add_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 260938124, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "points", + "type": "PackedVector2Array" + }, + { + "name": "colors", + "type": "PackedColorArray" + }, + { + "name": "uvs", + "type": "PackedVector2Array", + "default_value": "PackedVector2Array()" + }, + { + "name": "texture", + "type": "RID", + "default_value": "" + } + ] + }, + { + "name": "canvas_item_add_triangle_array", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3954697530, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "indices", + "type": "PackedInt32Array" + }, + { + "name": "points", + "type": "PackedVector2Array" + }, + { + "name": "colors", + "type": "PackedColorArray" + }, + { + "name": "uvs", + "type": "PackedVector2Array", + "default_value": "PackedVector2Array()" + }, + { + "name": "bones", + "type": "PackedInt32Array", + "default_value": "PackedInt32Array()" + }, + { + "name": "weights", + "type": "PackedFloat32Array", + "default_value": "PackedFloat32Array()" + }, + { + "name": "texture", + "type": "RID", + "default_value": "" + }, + { + "name": "count", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "canvas_item_add_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 542376426, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "mesh", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D", + "default_value": "Transform2D(1, 0, 0, 1, 0, 0)" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "texture", + "type": "RID", + "default_value": "" + } + ] + }, + { + "name": "canvas_item_add_multimesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "mesh", + "type": "RID" + }, + { + "name": "texture", + "type": "RID", + "default_value": "" + } + ] + }, + { + "name": "canvas_item_add_particles", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "particles", + "type": "RID" + }, + { + "name": "texture", + "type": "RID" + } + ] + }, + { + "name": "canvas_item_add_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "canvas_item_add_clip_ignore", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "ignore", + "type": "bool" + } + ] + }, + { + "name": "canvas_item_set_sort_children_by_y", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "canvas_item_set_z_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "z_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "canvas_item_set_z_as_relative_to_parent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "canvas_item_set_copy_to_backbuffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + }, + { + "name": "rect", + "type": "Rect2" + } + ] + }, + { + "name": "canvas_item_clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "item", + "type": "RID" + } + ] + }, + { + "name": "canvas_item_set_draw_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "canvas_item_set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "material", + "type": "RID" + } + ] + }, + { + "name": "canvas_item_set_use_parent_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "canvas_item_set_visibility_notifier", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "area", + "type": "Rect2" + }, + { + "name": "enter_callable", + "type": "Callable" + }, + { + "name": "exit_callable", + "type": "Callable" + } + ] + }, + { + "name": "canvas_item_set_canvas_group_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 793705129, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::RenderingServer.CanvasGroupMode" + }, + { + "name": "clear_margin", + "type": "float", + "meta": "float", + "default_value": "5.0" + }, + { + "name": "fit_empty", + "type": "bool", + "default_value": "false" + }, + { + "name": "fit_margin", + "type": "float", + "meta": "float", + "default_value": "0.0" + }, + { + "name": "blur_mipmaps", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "canvas_light_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "canvas_light_attach_to_canvas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "canvas", + "type": "RID" + } + ] + }, + { + "name": "canvas_light_set_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "canvas_light_set_texture_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "canvas_light_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "canvas_light_set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "texture", + "type": "RID" + } + ] + }, + { + "name": "canvas_light_set_texture_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "canvas_light_set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "canvas_light_set_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "canvas_light_set_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "canvas_light_set_z_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "min_z", + "type": "int", + "meta": "int32" + }, + { + "name": "max_z", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "canvas_light_set_layer_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "min_layer", + "type": "int", + "meta": "int32" + }, + { + "name": "max_layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "canvas_light_set_item_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "canvas_light_set_item_shadow_cull_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "canvas_light_set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::RenderingServer.CanvasLightMode" + } + ] + }, + { + "name": "canvas_light_set_shadow_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "canvas_light_set_shadow_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "filter", + "type": "enum::RenderingServer.CanvasLightShadowFilter" + } + ] + }, + { + "name": "canvas_light_set_shadow_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "canvas_light_set_shadow_smooth", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "smooth", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "canvas_light_occluder_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "canvas_light_occluder_attach_to_canvas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "occluder", + "type": "RID" + }, + { + "name": "canvas", + "type": "RID" + } + ] + }, + { + "name": "canvas_light_occluder_set_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "occluder", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "canvas_light_occluder_set_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "occluder", + "type": "RID" + }, + { + "name": "polygon", + "type": "RID" + } + ] + }, + { + "name": "canvas_light_occluder_set_as_sdf_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "occluder", + "type": "RID" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "canvas_light_occluder_set_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "occluder", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "canvas_light_occluder_set_light_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "occluder", + "type": "RID" + }, + { + "name": "mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "canvas_occluder_polygon_create", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "canvas_occluder_polygon_set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "occluder_polygon", + "type": "RID" + }, + { + "name": "shape", + "type": "PackedVector2Array" + }, + { + "name": "closed", + "type": "bool" + } + ] + }, + { + "name": "canvas_occluder_polygon_set_cull_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "occluder_polygon", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::RenderingServer.CanvasOccluderPolygonCullMode" + } + ] + }, + { + "name": "canvas_set_shadow_texture_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "global_variable_add", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "type", + "type": "enum::RenderingServer.GlobalVariableType" + }, + { + "name": "default_value", + "type": "Variant" + } + ] + }, + { + "name": "global_variable_remove", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "global_variable_get_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "global_variable_set", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "global_variable_set_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "global_variable_get", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "global_variable_get_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::RenderingServer.GlobalVariableType" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "free_rid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "request_frame_drawn_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "where", + "type": "Object" + }, + { + "name": "method", + "type": "StringName" + }, + { + "name": "userdata", + "type": "Variant" + } + ] + }, + { + "name": "has_changed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_rendering_info", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "info", + "type": "enum::RenderingServer.RenderingInfo" + } + ] + }, + { + "name": "get_video_adapter_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_video_adapter_vendor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "make_sphere_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "latitudes", + "type": "int", + "meta": "int32" + }, + { + "name": "longitudes", + "type": "int", + "meta": "int32" + }, + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_test_cube", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_test_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_white_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_boot_image", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "image", + "type": "Image" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "scale", + "type": "bool" + }, + { + "name": "use_filter", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "set_default_clear_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "has_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "feature", + "type": "enum::RenderingServer.Features" + } + ] + }, + { + "name": "has_os_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "feature", + "type": "String" + } + ] + }, + { + "name": "set_debug_generate_wireframes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "generate", + "type": "bool" + } + ] + }, + { + "name": "is_render_loop_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_render_loop_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_frame_setup_time_cpu", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "force_sync", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "force_draw", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2754828378, + "arguments": [ + { + "name": "swap_buffers", + "type": "bool", + "default_value": "true" + }, + { + "name": "frame_step", + "type": "float", + "meta": "double", + "default_value": "0.0" + } + ] + }, + { + "name": "create_local_rendering_device", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RenderingDevice" + } + } + ], + "signals": [ + { + "name": "frame_post_draw" + }, + { + "name": "frame_pre_draw" + } + ], + "properties": [ + { + "type": "bool", + "name": "render_loop_enabled", + "setter": "set_render_loop_enabled", + "getter": "is_render_loop_enabled", + "index": -1 + } + ] + }, + { + "name": "Resource", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "_setup_local_to_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "set_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "take_over_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_local_to_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_local_to_scene", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_local_scene", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Node" + } + }, + { + "name": "setup_local_to_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "emit_changed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "duplicate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "Resource" + }, + "arguments": [ + { + "name": "subresources", + "type": "bool", + "default_value": "false" + } + ] + } + ], + "signals": [ + { + "name": "changed" + } + ], + "properties": [ + { + "type": "bool", + "name": "resource_local_to_scene", + "setter": "set_local_to_scene", + "getter": "is_local_to_scene", + "index": -1 + }, + { + "type": "String", + "name": "resource_path", + "setter": "set_path", + "getter": "get_path", + "index": -1 + }, + { + "type": "StringName", + "name": "resource_name", + "setter": "set_name", + "getter": "get_name", + "index": -1 + } + ] + }, + { + "name": "ResourceFormatLoader", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "CacheMode", + "values": [ + { + "name": "CACHE_MODE_IGNORE", + "value": 0 + }, + { + "name": "CACHE_MODE_REUSE", + "value": 1 + }, + { + "name": "CACHE_MODE_REPLACE", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "_load", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "original_path", + "type": "String" + }, + { + "name": "use_sub_threads", + "type": "bool" + }, + { + "name": "cache_mode", + "type": "int" + } + ] + }, + { + "name": "_get_recognized_extensions", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "_handles_type", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "typename", + "type": "StringName" + } + ] + }, + { + "name": "_get_resource_type", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "_get_dependencies", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "add_types", + "type": "String" + } + ] + }, + { + "name": "_rename_dependencies", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "renames", + "type": "String" + } + ] + } + ] + }, + { + "name": "ResourceFormatSaver", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "_save", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "resource", + "type": "Resource" + }, + { + "name": "flags", + "type": "int" + } + ] + }, + { + "name": "_get_recognized_extensions", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "resource", + "type": "Resource" + } + ] + }, + { + "name": "_recognize", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "resource", + "type": "Resource" + } + ] + } + ] + }, + { + "name": "ResourceImporter", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "ImportOrder", + "values": [ + { + "name": "IMPORT_ORDER_DEFAULT", + "value": 0 + }, + { + "name": "IMPORT_ORDER_SCENE", + "value": 100 + } + ] + } + ] + }, + { + "name": "ResourcePreloader", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core", + "methods": [ + { + "name": "add_resource", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "resource", + "type": "Resource" + } + ] + }, + { + "name": "remove_resource", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "rename_resource", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "newname", + "type": "StringName" + } + ] + }, + { + "name": "has_resource", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_resource", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Resource" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_resource_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + } + ], + "properties": [ + { + "type": "Array", + "name": "resources", + "setter": "_set_resources", + "getter": "_get_resources", + "index": -1 + } + ] + }, + { + "name": "ResourceUID", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "constants": [ + { + "name": "INVALID_ID", + "value": -1 + } + ], + "methods": [ + { + "name": "id_to_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "text_to_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "text_id", + "type": "String" + } + ] + }, + { + "name": "create_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int64" + } + }, + { + "name": "has_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "add_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int64" + }, + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "set_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int64" + }, + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_id_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "remove_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int64" + } + ] + } + ] + }, + { + "name": "RibbonTrailMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PrimitiveMesh", + "api_type": "core", + "enums": [ + { + "name": "Shape", + "values": [ + { + "name": "SHAPE_FLAT", + "value": 0 + }, + { + "name": "SHAPE_CROSS", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_sections", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sections", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_sections", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_section_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "section_length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_section_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_section_segments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "section_segments", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_section_segments", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_curve", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "Curve" + } + ] + }, + { + "name": "get_curve", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Curve" + } + }, + { + "name": "set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "enum::RibbonTrailMesh.Shape" + } + ] + }, + { + "name": "get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RibbonTrailMesh.Shape" + } + } + ], + "properties": [ + { + "type": "int", + "name": "shape", + "setter": "set_shape", + "getter": "get_shape", + "index": -1 + }, + { + "type": "float", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + }, + { + "type": "int", + "name": "sections", + "setter": "set_sections", + "getter": "get_sections", + "index": -1 + }, + { + "type": "float", + "name": "section_length", + "setter": "set_section_length", + "getter": "get_section_length", + "index": -1 + }, + { + "type": "int", + "name": "section_segments", + "setter": "set_section_segments", + "getter": "get_section_segments", + "index": -1 + }, + { + "type": "Curve", + "name": "curve", + "setter": "set_curve", + "getter": "get_curve", + "index": -1 + } + ] + }, + { + "name": "RichTextEffect", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "_process_custom_fx", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "char_fx", + "type": "CharFXTransform" + } + ] + } + ] + }, + { + "name": "RichTextLabel", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "enums": [ + { + "name": "Align", + "values": [ + { + "name": "ALIGN_LEFT", + "value": 0 + }, + { + "name": "ALIGN_CENTER", + "value": 1 + }, + { + "name": "ALIGN_RIGHT", + "value": 2 + }, + { + "name": "ALIGN_FILL", + "value": 3 + } + ] + }, + { + "name": "ListType", + "values": [ + { + "name": "LIST_NUMBERS", + "value": 0 + }, + { + "name": "LIST_LETTERS", + "value": 1 + }, + { + "name": "LIST_ROMAN", + "value": 2 + }, + { + "name": "LIST_DOTS", + "value": 3 + } + ] + }, + { + "name": "ItemType", + "values": [ + { + "name": "ITEM_FRAME", + "value": 0 + }, + { + "name": "ITEM_TEXT", + "value": 1 + }, + { + "name": "ITEM_IMAGE", + "value": 2 + }, + { + "name": "ITEM_NEWLINE", + "value": 3 + }, + { + "name": "ITEM_FONT", + "value": 4 + }, + { + "name": "ITEM_FONT_SIZE", + "value": 5 + }, + { + "name": "ITEM_FONT_FEATURES", + "value": 6 + }, + { + "name": "ITEM_COLOR", + "value": 7 + }, + { + "name": "ITEM_OUTLINE_SIZE", + "value": 8 + }, + { + "name": "ITEM_OUTLINE_COLOR", + "value": 9 + }, + { + "name": "ITEM_UNDERLINE", + "value": 10 + }, + { + "name": "ITEM_STRIKETHROUGH", + "value": 11 + }, + { + "name": "ITEM_PARAGRAPH", + "value": 12 + }, + { + "name": "ITEM_INDENT", + "value": 13 + }, + { + "name": "ITEM_LIST", + "value": 14 + }, + { + "name": "ITEM_TABLE", + "value": 15 + }, + { + "name": "ITEM_FADE", + "value": 16 + }, + { + "name": "ITEM_SHAKE", + "value": 17 + }, + { + "name": "ITEM_WAVE", + "value": 18 + }, + { + "name": "ITEM_TORNADO", + "value": 19 + }, + { + "name": "ITEM_RAINBOW", + "value": 20 + }, + { + "name": "ITEM_BGCOLOR", + "value": 21 + }, + { + "name": "ITEM_FGCOLOR", + "value": 22 + }, + { + "name": "ITEM_META", + "value": 23 + }, + { + "name": "ITEM_DROPCAP", + "value": 24 + }, + { + "name": "ITEM_CUSTOMFX", + "value": 25 + } + ] + } + ], + "methods": [ + { + "name": "get_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "add_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "set_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "add_image", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 219616615, + "arguments": [ + { + "name": "image", + "type": "Texture2D" + }, + { + "name": "width", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "height", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "inline_align", + "type": "enum::VAlign", + "default_value": "0" + } + ] + }, + { + "name": "newline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "remove_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "push_font", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "font", + "type": "Font" + } + ] + }, + { + "name": "push_font_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "font_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "push_font_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "opentype_features", + "type": "Dictionary" + } + ] + }, + { + "name": "push_normal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "push_bold", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "push_bold_italics", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "push_italics", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "push_mono", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "push_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "push_outline_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "outline_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "push_outline_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "push_paragraph", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3069518129, + "arguments": [ + { + "name": "align", + "type": "enum::RichTextLabel.Align" + }, + { + "name": "base_direction", + "type": "enum::Control.TextDirection", + "default_value": "0" + }, + { + "name": "language", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "st_parser", + "type": "enum::Control.StructuredTextParser", + "default_value": "0" + } + ] + }, + { + "name": "push_indent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "level", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "push_list", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "level", + "type": "int", + "meta": "int32" + }, + { + "name": "type", + "type": "enum::RichTextLabel.ListType" + }, + { + "name": "capitalize", + "type": "bool" + } + ] + }, + { + "name": "push_meta", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "data", + "type": "Variant" + } + ] + }, + { + "name": "push_underline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "push_strikethrough", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "push_table", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "columns", + "type": "int", + "meta": "int32" + }, + { + "name": "inline_align", + "type": "enum::VAlign", + "default_value": "0" + } + ] + }, + { + "name": "push_dropcap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3606084225, + "arguments": [ + { + "name": "string", + "type": "String" + }, + { + "name": "font", + "type": "Font" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "dropcap_margins", + "type": "Rect2", + "default_value": "Rect2(0, 0, 0, 0)" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "outline_color", + "type": "Color", + "default_value": "Color(0, 0, 0, 0)" + } + ] + }, + { + "name": "set_table_column_expand", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "expand", + "type": "bool" + }, + { + "name": "ratio", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_cell_row_background_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "odd_row_bg", + "type": "Color" + }, + { + "name": "even_row_bg", + "type": "Color" + } + ] + }, + { + "name": "set_cell_border_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "set_cell_size_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "min_size", + "type": "Vector2" + }, + { + "name": "max_size", + "type": "Vector2" + } + ] + }, + { + "name": "set_cell_padding", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "padding", + "type": "Rect2" + } + ] + }, + { + "name": "push_cell", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "push_fgcolor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "fgcolor", + "type": "Color" + } + ] + }, + { + "name": "push_bgcolor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bgcolor", + "type": "Color" + } + ] + }, + { + "name": "pop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_structured_text_bidi_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "parser", + "type": "enum::Control.StructuredTextParser" + } + ] + }, + { + "name": "get_structured_text_bidi_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.StructuredTextParser" + } + }, + { + "name": "set_structured_text_bidi_override_options", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "args", + "type": "Array" + } + ] + }, + { + "name": "get_structured_text_bidi_override_options", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_text_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "get_text_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.TextDirection" + } + }, + { + "name": "set_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_meta_underline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_meta_underlined", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_override_selected_font_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "override", + "type": "bool" + } + ] + }, + { + "name": "is_overriding_selected_font_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_scroll_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "is_scroll_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_scroll_follow", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "follow", + "type": "bool" + } + ] + }, + { + "name": "is_scroll_following", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_v_scroll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "VScrollBar" + } + }, + { + "name": "scroll_to_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "scroll_to_paragraph", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "paragraph", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tab_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "spaces", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_tab_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_fit_content_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_fit_content_height_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_selection_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_selection_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_selection_from", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_selection_to", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_selected_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "parse_bbcode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "bbcode", + "type": "String" + } + ] + }, + { + "name": "append_bbcode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "bbcode", + "type": "String" + } + ] + }, + { + "name": "set_bbcode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_bbcode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_visible_characters", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_visible_characters", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_percent_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "percent_visible", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_percent_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_total_character_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_use_bbcode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_bbcode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_line_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_visible_line_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_paragraph_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_visible_paragraph_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_content_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "parse_expressions_for_values", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "expressions", + "type": "PackedStringArray" + } + ] + }, + { + "name": "set_effects", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "effects", + "type": "Array" + } + ] + }, + { + "name": "get_effects", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "install_effect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "effect", + "type": "Variant" + } + ] + } + ], + "signals": [ + { + "name": "meta_clicked", + "arguments": [ + { + "name": "meta", + "type": "Variant" + } + ] + }, + { + "name": "meta_hover_started", + "arguments": [ + { + "name": "meta", + "type": "Variant" + } + ] + }, + { + "name": "meta_hover_ended", + "arguments": [ + { + "name": "meta", + "type": "Variant" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "bbcode_enabled", + "setter": "set_use_bbcode", + "getter": "is_using_bbcode", + "index": -1 + }, + { + "type": "String", + "name": "bbcode_text", + "setter": "set_bbcode", + "getter": "get_bbcode", + "index": -1 + }, + { + "type": "int", + "name": "visible_characters", + "setter": "set_visible_characters", + "getter": "get_visible_characters", + "index": -1 + }, + { + "type": "float", + "name": "percent_visible", + "setter": "set_percent_visible", + "getter": "get_percent_visible", + "index": -1 + }, + { + "type": "bool", + "name": "meta_underlined", + "setter": "set_meta_underline", + "getter": "is_meta_underlined", + "index": -1 + }, + { + "type": "int", + "name": "tab_size", + "setter": "set_tab_size", + "getter": "get_tab_size", + "index": -1 + }, + { + "type": "String", + "name": "text", + "setter": "set_text", + "getter": "get_text", + "index": -1 + }, + { + "type": "bool", + "name": "fit_content_height", + "setter": "set_fit_content_height", + "getter": "is_fit_content_height_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "scroll_active", + "setter": "set_scroll_active", + "getter": "is_scroll_active", + "index": -1 + }, + { + "type": "bool", + "name": "scroll_following", + "setter": "set_scroll_follow", + "getter": "is_scroll_following", + "index": -1 + }, + { + "type": "bool", + "name": "selection_enabled", + "setter": "set_selection_enabled", + "getter": "is_selection_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "override_selected_font_color", + "setter": "set_override_selected_font_color", + "getter": "is_overriding_selected_font_color", + "index": -1 + }, + { + "type": "Array", + "name": "custom_effects", + "setter": "set_effects", + "getter": "get_effects", + "index": -1 + }, + { + "type": "int", + "name": "text_direction", + "setter": "set_text_direction", + "getter": "get_text_direction", + "index": -1 + }, + { + "type": "String", + "name": "language", + "setter": "set_language", + "getter": "get_language", + "index": -1 + }, + { + "type": "int", + "name": "structured_text_bidi_override", + "setter": "set_structured_text_bidi_override", + "getter": "get_structured_text_bidi_override", + "index": -1 + }, + { + "type": "Array", + "name": "structured_text_bidi_override_options", + "setter": "set_structured_text_bidi_override_options", + "getter": "get_structured_text_bidi_override_options", + "index": -1 + } + ] + }, + { + "name": "RigidBody2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "PhysicsBody2D", + "api_type": "core", + "enums": [ + { + "name": "Mode", + "values": [ + { + "name": "MODE_DYNAMIC", + "value": 0 + }, + { + "name": "MODE_STATIC", + "value": 1 + }, + { + "name": "MODE_DYNAMIC_LOCKED", + "value": 2 + }, + { + "name": "MODE_KINEMATIC", + "value": 3 + } + ] + }, + { + "name": "CCDMode", + "values": [ + { + "name": "CCD_MODE_DISABLED", + "value": 0 + }, + { + "name": "CCD_MODE_CAST_RAY", + "value": 1 + }, + { + "name": "CCD_MODE_CAST_SHAPE", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "_integrate_forces", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "state", + "type": "PhysicsDirectBodyState2D" + } + ] + }, + { + "name": "set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::RigidBody2D.Mode" + } + ] + }, + { + "name": "get_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RigidBody2D.Mode" + } + }, + { + "name": "set_mass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mass", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mass", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_inertia", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_inertia", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "inertia", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_physics_material_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "physics_material_override", + "type": "PhysicsMaterial" + } + ] + }, + { + "name": "get_physics_material_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PhysicsMaterial" + } + }, + { + "name": "set_gravity_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gravity_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_gravity_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_linear_damp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "linear_damp", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_linear_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_angular_damp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angular_damp", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_angular_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_linear_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "linear_velocity", + "type": "Vector2" + } + ] + }, + { + "name": "get_linear_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_angular_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angular_velocity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_angular_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_contacts_reported", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max_contacts_reported", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_use_custom_integrator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_custom_integrator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_contact_monitor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_contact_monitor_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_continuous_collision_detection_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::RigidBody2D.CCDMode" + } + ] + }, + { + "name": "get_continuous_collision_detection_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RigidBody2D.CCDMode" + } + }, + { + "name": "set_axis_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "axis_velocity", + "type": "Vector2" + } + ] + }, + { + "name": "apply_central_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2823412066, + "arguments": [ + { + "name": "impulse", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "apply_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "impulse", + "type": "Vector2" + }, + { + "name": "position", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "apply_torque_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "torque", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_applied_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "force", + "type": "Vector2" + } + ] + }, + { + "name": "get_applied_force", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_applied_torque", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "torque", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_applied_torque", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "add_central_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "force", + "type": "Vector2" + } + ] + }, + { + "name": "add_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "force", + "type": "Vector2" + }, + { + "name": "position", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "add_torque", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "torque", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_sleeping", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sleeping", + "type": "bool" + } + ] + }, + { + "name": "is_sleeping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_can_sleep", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "able_to_sleep", + "type": "bool" + } + ] + }, + { + "name": "is_able_to_sleep", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_colliding_bodies", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + } + ], + "signals": [ + { + "name": "body_entered", + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "body_shape_entered", + "arguments": [ + { + "name": "body_rid", + "type": "RID" + }, + { + "name": "body", + "type": "Node" + }, + { + "name": "body_shape", + "type": "int" + }, + { + "name": "local_shape", + "type": "int" + } + ] + }, + { + "name": "sleeping_state_changed" + }, + { + "name": "body_exited", + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "body_shape_exited", + "arguments": [ + { + "name": "body_rid", + "type": "RID" + }, + { + "name": "body", + "type": "Node" + }, + { + "name": "body_shape", + "type": "int" + }, + { + "name": "local_shape", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "mode", + "setter": "set_mode", + "getter": "get_mode", + "index": -1 + }, + { + "type": "float", + "name": "mass", + "setter": "set_mass", + "getter": "get_mass", + "index": -1 + }, + { + "type": "float", + "name": "inertia", + "setter": "set_inertia", + "getter": "get_inertia", + "index": -1 + }, + { + "type": "PhysicsMaterial", + "name": "physics_material_override", + "setter": "set_physics_material_override", + "getter": "get_physics_material_override", + "index": -1 + }, + { + "type": "float", + "name": "gravity_scale", + "setter": "set_gravity_scale", + "getter": "get_gravity_scale", + "index": -1 + }, + { + "type": "bool", + "name": "custom_integrator", + "setter": "set_use_custom_integrator", + "getter": "is_using_custom_integrator", + "index": -1 + }, + { + "type": "int", + "name": "continuous_cd", + "setter": "set_continuous_collision_detection_mode", + "getter": "get_continuous_collision_detection_mode", + "index": -1 + }, + { + "type": "int", + "name": "contacts_reported", + "setter": "set_max_contacts_reported", + "getter": "get_max_contacts_reported", + "index": -1 + }, + { + "type": "bool", + "name": "contact_monitor", + "setter": "set_contact_monitor", + "getter": "is_contact_monitor_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "sleeping", + "setter": "set_sleeping", + "getter": "is_sleeping", + "index": -1 + }, + { + "type": "bool", + "name": "can_sleep", + "setter": "set_can_sleep", + "getter": "is_able_to_sleep", + "index": -1 + }, + { + "type": "Vector2", + "name": "linear_velocity", + "setter": "set_linear_velocity", + "getter": "get_linear_velocity", + "index": -1 + }, + { + "type": "float", + "name": "linear_damp", + "setter": "set_linear_damp", + "getter": "get_linear_damp", + "index": -1 + }, + { + "type": "float", + "name": "angular_velocity", + "setter": "set_angular_velocity", + "getter": "get_angular_velocity", + "index": -1 + }, + { + "type": "float", + "name": "angular_damp", + "setter": "set_angular_damp", + "getter": "get_angular_damp", + "index": -1 + }, + { + "type": "Vector2", + "name": "applied_force", + "setter": "set_applied_force", + "getter": "get_applied_force", + "index": -1 + }, + { + "type": "float", + "name": "applied_torque", + "setter": "set_applied_torque", + "getter": "get_applied_torque", + "index": -1 + } + ] + }, + { + "name": "RigidBody3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "PhysicsBody3D", + "api_type": "core", + "enums": [ + { + "name": "Mode", + "values": [ + { + "name": "MODE_DYNAMIC", + "value": 0 + }, + { + "name": "MODE_STATIC", + "value": 1 + }, + { + "name": "MODE_DYNAMIC_LOCKED", + "value": 2 + }, + { + "name": "MODE_KINEMATIC", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "_integrate_forces", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "state", + "type": "PhysicsDirectBodyState3D" + } + ] + }, + { + "name": "set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::RigidBody3D.Mode" + } + ] + }, + { + "name": "get_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::RigidBody3D.Mode" + } + }, + { + "name": "set_mass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mass", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mass", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_physics_material_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "physics_material_override", + "type": "PhysicsMaterial" + } + ] + }, + { + "name": "get_physics_material_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PhysicsMaterial" + } + }, + { + "name": "set_linear_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "linear_velocity", + "type": "Vector3" + } + ] + }, + { + "name": "get_linear_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_angular_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angular_velocity", + "type": "Vector3" + } + ] + }, + { + "name": "get_angular_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_inverse_inertia_tensor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Basis" + } + }, + { + "name": "set_gravity_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gravity_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_gravity_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_linear_damp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "linear_damp", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_linear_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_angular_damp", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angular_damp", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_angular_damp", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_contacts_reported", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max_contacts_reported", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_use_custom_integrator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_custom_integrator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_contact_monitor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_contact_monitor_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_use_continuous_collision_detection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_continuous_collision_detection", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_axis_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "axis_velocity", + "type": "Vector3" + } + ] + }, + { + "name": "add_central_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "force", + "type": "Vector3" + } + ] + }, + { + "name": "add_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "force", + "type": "Vector3" + }, + { + "name": "position", + "type": "Vector3", + "default_value": "Vector3(0, 0, 0)" + } + ] + }, + { + "name": "add_torque", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "torque", + "type": "Vector3" + } + ] + }, + { + "name": "apply_central_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "impulse", + "type": "Vector3" + } + ] + }, + { + "name": "apply_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "impulse", + "type": "Vector3" + }, + { + "name": "position", + "type": "Vector3", + "default_value": "Vector3(0, 0, 0)" + } + ] + }, + { + "name": "apply_torque_impulse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "impulse", + "type": "Vector3" + } + ] + }, + { + "name": "set_sleeping", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sleeping", + "type": "bool" + } + ] + }, + { + "name": "is_sleeping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_can_sleep", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "able_to_sleep", + "type": "bool" + } + ] + }, + { + "name": "is_able_to_sleep", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_colliding_bodies", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + } + ], + "signals": [ + { + "name": "body_entered", + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "body_shape_entered", + "arguments": [ + { + "name": "body_rid", + "type": "RID" + }, + { + "name": "body", + "type": "Node" + }, + { + "name": "body_shape", + "type": "int" + }, + { + "name": "local_shape", + "type": "int" + } + ] + }, + { + "name": "sleeping_state_changed" + }, + { + "name": "body_exited", + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "body_shape_exited", + "arguments": [ + { + "name": "body_rid", + "type": "RID" + }, + { + "name": "body", + "type": "Node" + }, + { + "name": "body_shape", + "type": "int" + }, + { + "name": "local_shape", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "mode", + "setter": "set_mode", + "getter": "get_mode", + "index": -1 + }, + { + "type": "float", + "name": "mass", + "setter": "set_mass", + "getter": "get_mass", + "index": -1 + }, + { + "type": "PhysicsMaterial", + "name": "physics_material_override", + "setter": "set_physics_material_override", + "getter": "get_physics_material_override", + "index": -1 + }, + { + "type": "float", + "name": "gravity_scale", + "setter": "set_gravity_scale", + "getter": "get_gravity_scale", + "index": -1 + }, + { + "type": "bool", + "name": "custom_integrator", + "setter": "set_use_custom_integrator", + "getter": "is_using_custom_integrator", + "index": -1 + }, + { + "type": "bool", + "name": "continuous_cd", + "setter": "set_use_continuous_collision_detection", + "getter": "is_using_continuous_collision_detection", + "index": -1 + }, + { + "type": "int", + "name": "contacts_reported", + "setter": "set_max_contacts_reported", + "getter": "get_max_contacts_reported", + "index": -1 + }, + { + "type": "bool", + "name": "contact_monitor", + "setter": "set_contact_monitor", + "getter": "is_contact_monitor_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "sleeping", + "setter": "set_sleeping", + "getter": "is_sleeping", + "index": -1 + }, + { + "type": "bool", + "name": "can_sleep", + "setter": "set_can_sleep", + "getter": "is_able_to_sleep", + "index": -1 + }, + { + "type": "Vector3", + "name": "linear_velocity", + "setter": "set_linear_velocity", + "getter": "get_linear_velocity", + "index": -1 + }, + { + "type": "float", + "name": "linear_damp", + "setter": "set_linear_damp", + "getter": "get_linear_damp", + "index": -1 + }, + { + "type": "Vector3", + "name": "angular_velocity", + "setter": "set_angular_velocity", + "getter": "get_angular_velocity", + "index": -1 + }, + { + "type": "float", + "name": "angular_damp", + "setter": "set_angular_damp", + "getter": "get_angular_damp", + "index": -1 + } + ] + }, + { + "name": "RootMotionView", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "VisualInstance3D", + "api_type": "core", + "properties": [ + { + "type": "NodePath", + "name": "animation_path", + "setter": "set_animation_path", + "getter": "get_animation_path", + "index": -1 + }, + { + "type": "Color", + "name": "color", + "setter": "set_color", + "getter": "get_color", + "index": -1 + }, + { + "type": "float", + "name": "cell_size", + "setter": "set_cell_size", + "getter": "get_cell_size", + "index": -1 + }, + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + }, + { + "type": "bool", + "name": "zero_y", + "setter": "set_zero_y", + "getter": "get_zero_y", + "index": -1 + } + ] + }, + { + "name": "SceneState", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "GenEditState", + "values": [ + { + "name": "GEN_EDIT_STATE_DISABLED", + "value": 0 + }, + { + "name": "GEN_EDIT_STATE_INSTANCE", + "value": 1 + }, + { + "name": "GEN_EDIT_STATE_MAIN", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "get_node_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_node_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_node_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_node_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "for_parent", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_node_owner_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_node_instance_placeholder", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_node_instance_placeholder", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_node_instance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedScene" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_node_groups", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_node_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_node_property_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_node_property_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "prop_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_node_property_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "prop_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_connection_source", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_signal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_target", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_method", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_flags", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_binds", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + } + ] + }, + { + "name": "SceneTree", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "MainLoop", + "api_type": "core", + "enums": [ + { + "name": "GroupCallFlags", + "values": [ + { + "name": "GROUP_CALL_DEFAULT", + "value": 0 + }, + { + "name": "GROUP_CALL_REVERSE", + "value": 1 + }, + { + "name": "GROUP_CALL_REALTIME", + "value": 2 + }, + { + "name": "GROUP_CALL_UNIQUE", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "get_root", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Window" + } + }, + { + "name": "has_group", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "set_auto_accept_quit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "set_quit_on_go_back", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "set_debug_collisions_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_debugging_collisions_hint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_debug_navigation_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_debugging_navigation_hint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_edited_scene_root", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scene", + "type": "Node" + } + ] + }, + { + "name": "get_edited_scene_root", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Node" + } + }, + { + "name": "set_pause", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_paused", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "create_timer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "SceneTreeTimer" + }, + "arguments": [ + { + "name": "time_sec", + "type": "float", + "meta": "double" + }, + { + "name": "process_always", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "create_tween", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Tween" + } + }, + { + "name": "get_processed_tweens", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_node_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_frame", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int64" + } + }, + { + "name": "quit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "exit_code", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "queue_delete", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "obj", + "type": "Object" + } + ] + }, + { + "name": "call_group_flags", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135445962, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "group", + "type": "StringName" + }, + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "notify_group_flags", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "call_flags", + "type": "int", + "meta": "uint32" + }, + { + "name": "group", + "type": "StringName" + }, + { + "name": "notification", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_group_flags", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "call_flags", + "type": "int", + "meta": "uint32" + }, + { + "name": "group", + "type": "StringName" + }, + { + "name": "property", + "type": "String" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "call_group", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135410025, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "group", + "type": "StringName" + }, + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "notify_group", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "group", + "type": "StringName" + }, + { + "name": "notification", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_group", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "group", + "type": "StringName" + }, + { + "name": "property", + "type": "String" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_nodes_in_group", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "group", + "type": "StringName" + } + ] + }, + { + "name": "get_first_node_in_group", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "group", + "type": "StringName" + } + ] + }, + { + "name": "set_current_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "child_node", + "type": "Node" + } + ] + }, + { + "name": "get_current_scene", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Node" + } + }, + { + "name": "change_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "change_scene_to", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "packed_scene", + "type": "PackedScene" + } + ] + }, + { + "name": "reload_current_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "set_multiplayer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "multiplayer", + "type": "MultiplayerAPI" + } + ] + }, + { + "name": "get_multiplayer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "MultiplayerAPI" + } + }, + { + "name": "set_multiplayer_poll_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_multiplayer_poll_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "node_configuration_warning_changed", + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "tree_process_mode_changed" + }, + { + "name": "physics_frame" + }, + { + "name": "node_removed", + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "node_added", + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "files_dropped", + "arguments": [ + { + "name": "files", + "type": "PackedStringArray" + }, + { + "name": "screen", + "type": "int" + } + ] + }, + { + "name": "process_frame" + }, + { + "name": "node_renamed", + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "tree_changed" + } + ], + "properties": [ + { + "type": "bool", + "name": "debug_collisions_hint", + "setter": "set_debug_collisions_hint", + "getter": "is_debugging_collisions_hint", + "index": -1 + }, + { + "type": "bool", + "name": "debug_navigation_hint", + "setter": "set_debug_navigation_hint", + "getter": "is_debugging_navigation_hint", + "index": -1 + }, + { + "type": "bool", + "name": "paused", + "setter": "set_pause", + "getter": "is_paused", + "index": -1 + }, + { + "type": "Node", + "name": "edited_scene_root", + "setter": "set_edited_scene_root", + "getter": "get_edited_scene_root", + "index": -1 + }, + { + "type": "Node", + "name": "current_scene", + "setter": "set_current_scene", + "getter": "get_current_scene", + "index": -1 + }, + { + "type": "Node", + "name": "root", + "setter": "", + "getter": "get_root", + "index": -1 + }, + { + "type": "MultiplayerAPI", + "name": "multiplayer", + "setter": "set_multiplayer", + "getter": "get_multiplayer", + "index": -1 + }, + { + "type": "bool", + "name": "multiplayer_poll", + "setter": "set_multiplayer_poll_enabled", + "getter": "is_multiplayer_poll_enabled", + "index": -1 + } + ] + }, + { + "name": "SceneTreeTimer", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_time_left", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "time", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "get_time_left", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + } + ], + "signals": [ + { + "name": "timeout" + } + ], + "properties": [ + { + "type": "float", + "name": "time_left", + "setter": "set_time_left", + "getter": "get_time_left", + "index": -1 + } + ] + }, + { + "name": "Script", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "can_instantiate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "instance_has", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "base_object", + "type": "Object" + } + ] + }, + { + "name": "has_source_code", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_source_code", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_source_code", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "source", + "type": "String" + } + ] + }, + { + "name": "reload", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "keep_state", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_base_script", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Script" + } + }, + { + "name": "get_instance_base_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "has_script_signal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "signal_name", + "type": "StringName" + } + ] + }, + { + "name": "get_script_property_list", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_script_method_list", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_script_signal_list", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_script_constant_map", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "get_property_default_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "property", + "type": "StringName" + } + ] + }, + { + "name": "is_tool", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "String", + "name": "source_code", + "setter": "set_source_code", + "getter": "get_source_code", + "index": -1 + } + ] + }, + { + "name": "ScriptCreateDialog", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "ConfirmationDialog", + "api_type": "editor", + "methods": [ + { + "name": "config", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 221802731, + "arguments": [ + { + "name": "inherits", + "type": "String" + }, + { + "name": "path", + "type": "String" + }, + { + "name": "built_in_enabled", + "type": "bool", + "default_value": "true" + }, + { + "name": "load_enabled", + "type": "bool", + "default_value": "true" + } + ] + } + ], + "signals": [ + { + "name": "script_created", + "arguments": [ + { + "name": "script", + "type": "Script" + } + ] + } + ] + }, + { + "name": "ScriptEditor", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "PanelContainer", + "api_type": "editor", + "methods": [ + { + "name": "get_current_editor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "ScriptEditorBase" + } + }, + { + "name": "get_open_script_editors", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "register_syntax_highlighter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "syntax_highlighter", + "type": "EditorSyntaxHighlighter" + } + ] + }, + { + "name": "unregister_syntax_highlighter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "syntax_highlighter", + "type": "EditorSyntaxHighlighter" + } + ] + }, + { + "name": "goto_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "line_number", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_current_script", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Script" + } + }, + { + "name": "get_open_scripts", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "open_script_create_dialog", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "base_name", + "type": "String" + }, + { + "name": "base_path", + "type": "String" + } + ] + } + ], + "signals": [ + { + "name": "editor_script_changed", + "arguments": [ + { + "name": "script", + "type": "Script" + } + ] + }, + { + "name": "script_close", + "arguments": [ + { + "name": "script", + "type": "Script" + } + ] + } + ] + }, + { + "name": "ScriptEditorBase", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "VBoxContainer", + "api_type": "editor", + "methods": [ + { + "name": "_add_syntax_highlighter", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "highlighter", + "type": "Object" + } + ] + }, + { + "name": "get_base_editor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Control" + } + } + ], + "signals": [ + { + "name": "edited_script_changed" + }, + { + "name": "replace_in_files_requested", + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "search_in_files_requested", + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "go_to_help", + "arguments": [ + { + "name": "what", + "type": "String" + } + ] + }, + { + "name": "request_save_history" + }, + { + "name": "request_open_script_at_line", + "arguments": [ + { + "name": "script", + "type": "Object" + }, + { + "name": "line", + "type": "int" + } + ] + }, + { + "name": "request_help", + "arguments": [ + { + "name": "topic", + "type": "String" + } + ] + }, + { + "name": "name_changed" + } + ] + }, + { + "name": "ScrollBar", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Range", + "api_type": "core", + "methods": [ + { + "name": "set_custom_step", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "step", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_custom_step", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "signals": [ + { + "name": "scrolling" + } + ], + "properties": [ + { + "type": "float", + "name": "custom_step", + "setter": "set_custom_step", + "getter": "get_custom_step", + "index": -1 + } + ] + }, + { + "name": "ScrollContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Container", + "api_type": "core", + "methods": [ + { + "name": "set_h_scroll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_h_scroll", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_v_scroll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_v_scroll", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_enable_h_scroll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_h_scroll_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_enable_v_scroll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_v_scroll_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_h_scroll_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "visible", + "type": "bool" + } + ] + }, + { + "name": "is_h_scroll_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_v_scroll_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "visible", + "type": "bool" + } + ] + }, + { + "name": "is_v_scroll_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_deadzone", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "deadzone", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_deadzone", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_follow_focus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_following_focus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_h_scrollbar", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "HScrollBar" + } + }, + { + "name": "get_v_scrollbar", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "VScrollBar" + } + }, + { + "name": "ensure_control_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "control", + "type": "Control" + } + ] + } + ], + "signals": [ + { + "name": "scroll_started" + }, + { + "name": "scroll_ended" + } + ], + "properties": [ + { + "type": "bool", + "name": "follow_focus", + "setter": "set_follow_focus", + "getter": "is_following_focus", + "index": -1 + }, + { + "type": "int", + "name": "scroll_horizontal", + "setter": "set_h_scroll", + "getter": "get_h_scroll", + "index": -1 + }, + { + "type": "int", + "name": "scroll_vertical", + "setter": "set_v_scroll", + "getter": "get_v_scroll", + "index": -1 + }, + { + "type": "bool", + "name": "scroll_horizontal_enabled", + "setter": "set_enable_h_scroll", + "getter": "is_h_scroll_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "scroll_vertical_enabled", + "setter": "set_enable_v_scroll", + "getter": "is_v_scroll_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "scroll_horizontal_visible", + "setter": "set_h_scroll_visible", + "getter": "is_h_scroll_visible", + "index": -1 + }, + { + "type": "bool", + "name": "scroll_vertical_visible", + "setter": "set_v_scroll_visible", + "getter": "is_v_scroll_visible", + "index": -1 + }, + { + "type": "int", + "name": "scroll_deadzone", + "setter": "set_deadzone", + "getter": "get_deadzone", + "index": -1 + } + ] + }, + { + "name": "SegmentShape2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape2D", + "api_type": "core", + "methods": [ + { + "name": "set_a", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "a", + "type": "Vector2" + } + ] + }, + { + "name": "get_a", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_b", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "b", + "type": "Vector2" + } + ] + }, + { + "name": "get_b", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "a", + "setter": "set_a", + "getter": "get_a", + "index": -1 + }, + { + "type": "Vector2", + "name": "b", + "setter": "set_b", + "getter": "get_b", + "index": -1 + } + ] + }, + { + "name": "Separator", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Control", + "api_type": "core" + }, + { + "name": "Shader", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "Mode", + "values": [ + { + "name": "MODE_SPATIAL", + "value": 0 + }, + { + "name": "MODE_CANVAS_ITEM", + "value": 1 + }, + { + "name": "MODE_PARTICLES", + "value": 2 + }, + { + "name": "MODE_SKY", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "get_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Shader.Mode" + } + }, + { + "name": "set_code", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "code", + "type": "String" + } + ] + }, + { + "name": "get_code", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_default_texture_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "StringName" + }, + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_default_texture_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "param", + "type": "StringName" + } + ] + }, + { + "name": "has_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "code", + "setter": "set_code", + "getter": "get_code", + "index": -1 + } + ] + }, + { + "name": "ShaderGlobalsOverride", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core" + }, + { + "name": "ShaderMaterial", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Material", + "api_type": "core", + "methods": [ + { + "name": "set_shader", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shader", + "type": "Shader" + } + ] + }, + { + "name": "get_shader", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Shader" + } + }, + { + "name": "set_shader_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_shader_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "param", + "type": "StringName" + } + ] + }, + { + "name": "property_can_revert", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "property_get_revert", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + } + ], + "properties": [ + { + "type": "Shader", + "name": "shader", + "setter": "set_shader", + "getter": "get_shader", + "index": -1 + } + ] + }, + { + "name": "Shape2D", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_custom_solver_bias", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bias", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_custom_solver_bias", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "collide", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "local_xform", + "type": "Transform2D" + }, + { + "name": "with_shape", + "type": "Shape2D" + }, + { + "name": "shape_xform", + "type": "Transform2D" + } + ] + }, + { + "name": "collide_with_motion", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135517835, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "local_xform", + "type": "Transform2D" + }, + { + "name": "local_motion", + "type": "Vector2" + }, + { + "name": "with_shape", + "type": "Shape2D" + }, + { + "name": "shape_xform", + "type": "Transform2D" + }, + { + "name": "shape_motion", + "type": "Vector2" + } + ] + }, + { + "name": "collide_and_get_contacts", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "local_xform", + "type": "Transform2D" + }, + { + "name": "with_shape", + "type": "Shape2D" + }, + { + "name": "shape_xform", + "type": "Transform2D" + } + ] + }, + { + "name": "collide_with_motion_and_get_contacts", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135517835, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "local_xform", + "type": "Transform2D" + }, + { + "name": "local_motion", + "type": "Vector2" + }, + { + "name": "with_shape", + "type": "Shape2D" + }, + { + "name": "shape_xform", + "type": "Transform2D" + }, + { + "name": "shape_motion", + "type": "Vector2" + } + ] + }, + { + "name": "draw", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "canvas_item", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + } + ], + "properties": [ + { + "type": "float", + "name": "custom_solver_bias", + "setter": "set_custom_solver_bias", + "getter": "get_custom_solver_bias", + "index": -1 + } + ] + }, + { + "name": "Shape3D", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_debug_mesh", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "ArrayMesh" + } + } + ], + "properties": [ + { + "type": "float", + "name": "margin", + "setter": "set_margin", + "getter": "get_margin", + "index": -1 + } + ] + }, + { + "name": "Shortcut", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_event", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "get_event", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "InputEvent" + } + }, + { + "name": "has_valid_event", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "matches_event", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "get_as_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "InputEvent", + "name": "event", + "setter": "set_event", + "getter": "get_event", + "index": -1 + } + ] + }, + { + "name": "Skeleton2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "get_bone_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_bone", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Bone2D" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_skeleton", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_modification_stack", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "modification_stack", + "type": "SkeletonModificationStack2D" + } + ] + }, + { + "name": "get_modification_stack", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "SkeletonModificationStack2D" + } + }, + { + "name": "execute_modifications", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "delta", + "type": "float", + "meta": "float" + }, + { + "name": "execution_mode", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bone_local_pose_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "override_pose", + "type": "Transform2D" + }, + { + "name": "strength", + "type": "float", + "meta": "float" + }, + { + "name": "persistent", + "type": "bool" + } + ] + }, + { + "name": "get_bone_local_pose_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Transform2D" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + } + ], + "signals": [ + { + "name": "bone_setup_changed" + } + ] + }, + { + "name": "Skeleton3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "constants": [ + { + "name": "NOTIFICATION_UPDATE_SKELETON", + "value": 50 + } + ], + "methods": [ + { + "name": "get_bone_process_orders", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "add_bone", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "find_bone", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_bone_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bone_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_bone_parent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bone_parent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "parent_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bone_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "unparent_bone_and_rest", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bone_rest", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bone_rest", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "rest", + "type": "Transform3D" + } + ] + }, + { + "name": "register_skin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "SkinReference" + }, + "arguments": [ + { + "name": "skin", + "type": "Skin" + } + ] + }, + { + "name": "localize_rests", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_bone_disable_rest", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "is_bone_rest_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_bones", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_bone_pose", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bone_pose", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "pose", + "type": "Transform3D" + } + ] + }, + { + "name": "clear_bones_global_pose_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_bone_global_pose_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "pose", + "type": "Transform3D" + }, + { + "name": "amount", + "type": "float", + "meta": "float" + }, + { + "name": "persistent", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_bone_global_pose", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bone_global_pose_no_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bone_custom_pose", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bone_custom_pose", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "custom_pose", + "type": "Transform3D" + } + ] + }, + { + "name": "bone_transform_to_world_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "bone_transform", + "type": "Transform3D" + } + ] + }, + { + "name": "world_transform_to_bone_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "world_transform", + "type": "Transform3D" + } + ] + }, + { + "name": "set_animate_physical_bones", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "bool" + } + ] + }, + { + "name": "get_animate_physical_bones", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "physical_bones_stop_simulation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "physical_bones_start_simulation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 326655116, + "arguments": [ + { + "name": "bones", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "physical_bones_add_collision_exception", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "exception", + "type": "RID" + } + ] + }, + { + "name": "physical_bones_remove_collision_exception", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "exception", + "type": "RID" + } + ] + } + ], + "signals": [ + { + "name": "pose_updated" + } + ], + "properties": [ + { + "type": "bool", + "name": "animate_physical_bones", + "setter": "set_animate_physical_bones", + "getter": "get_animate_physical_bones", + "index": -1 + } + ] + }, + { + "name": "SkeletonIK3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core", + "methods": [ + { + "name": "set_root_bone", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "root_bone", + "type": "StringName" + } + ] + }, + { + "name": "get_root_bone", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_tip_bone", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tip_bone", + "type": "StringName" + } + ] + }, + { + "name": "get_tip_bone", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_interpolation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "interpolation", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_interpolation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_target_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "target", + "type": "Transform3D" + } + ] + }, + { + "name": "get_target_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "set_target_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "node", + "type": "NodePath" + } + ] + }, + { + "name": "get_target_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_override_tip_basis", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "override", + "type": "bool" + } + ] + }, + { + "name": "is_override_tip_basis", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_use_magnet", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "use", + "type": "bool" + } + ] + }, + { + "name": "is_using_magnet", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_magnet_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "local_position", + "type": "Vector3" + } + ] + }, + { + "name": "get_magnet_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_parent_skeleton", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Skeleton3D" + } + }, + { + "name": "is_running", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_min_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "min_distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_min_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max_iterations", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "iterations", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max_iterations", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "start", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "one_time", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "properties": [ + { + "type": "StringName", + "name": "root_bone", + "setter": "set_root_bone", + "getter": "get_root_bone", + "index": -1 + }, + { + "type": "StringName", + "name": "tip_bone", + "setter": "set_tip_bone", + "getter": "get_tip_bone", + "index": -1 + }, + { + "type": "float", + "name": "interpolation", + "setter": "set_interpolation", + "getter": "get_interpolation", + "index": -1 + }, + { + "type": "Transform3D", + "name": "target", + "setter": "set_target_transform", + "getter": "get_target_transform", + "index": -1 + }, + { + "type": "bool", + "name": "override_tip_basis", + "setter": "set_override_tip_basis", + "getter": "is_override_tip_basis", + "index": -1 + }, + { + "type": "bool", + "name": "use_magnet", + "setter": "set_use_magnet", + "getter": "is_using_magnet", + "index": -1 + }, + { + "type": "Vector3", + "name": "magnet", + "setter": "set_magnet_position", + "getter": "get_magnet_position", + "index": -1 + }, + { + "type": "NodePath", + "name": "target_node", + "setter": "set_target_node", + "getter": "get_target_node", + "index": -1 + }, + { + "type": "float", + "name": "min_distance", + "setter": "set_min_distance", + "getter": "get_min_distance", + "index": -1 + }, + { + "type": "int", + "name": "max_iterations", + "setter": "set_max_iterations", + "getter": "get_max_iterations", + "index": -1 + } + ] + }, + { + "name": "SkeletonModification2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "_execute", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "delta", + "type": "float" + } + ] + }, + { + "name": "_setup_modification", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "modification_stack", + "type": "SkeletonModificationStack2D" + } + ] + }, + { + "name": "_draw_editor_gizmo", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "set_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_modification_stack", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "SkeletonModificationStack2D" + } + }, + { + "name": "set_is_setup", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "is_setup", + "type": "bool" + } + ] + }, + { + "name": "get_is_setup", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_execution_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "execution_mode", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_execution_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "clamp_angle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "angle", + "type": "float", + "meta": "float" + }, + { + "name": "min", + "type": "float", + "meta": "float" + }, + { + "name": "max", + "type": "float", + "meta": "float" + }, + { + "name": "invert", + "type": "bool" + } + ] + }, + { + "name": "set_editor_draw_gizmo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "draw_gizmo", + "type": "bool" + } + ] + }, + { + "name": "get_editor_draw_gizmo", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "enabled", + "setter": "set_enabled", + "getter": "get_enabled", + "index": -1 + }, + { + "type": "int", + "name": "execution_mode", + "setter": "set_execution_mode", + "getter": "get_execution_mode", + "index": -1 + } + ] + }, + { + "name": "SkeletonModification2DCCDIK", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "SkeletonModification2D", + "api_type": "core", + "methods": [ + { + "name": "set_target_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "target_nodepath", + "type": "NodePath" + } + ] + }, + { + "name": "get_target_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_tip_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tip_nodepath", + "type": "NodePath" + } + ] + }, + { + "name": "get_tip_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_ccdik_data_chain_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_ccdik_data_chain_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_ccdik_joint_bone2d_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "bone2d_nodepath", + "type": "NodePath" + } + ] + }, + { + "name": "get_ccdik_joint_bone2d_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_ccdik_joint_bone_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_ccdik_joint_bone_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_ccdik_joint_rotate_from_joint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "rotate_from_joint", + "type": "bool" + } + ] + }, + { + "name": "get_ccdik_joint_rotate_from_joint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_ccdik_joint_enable_constraint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "enable_constraint", + "type": "bool" + } + ] + }, + { + "name": "get_ccdik_joint_enable_constraint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_ccdik_joint_constraint_angle_min", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "angle_min", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ccdik_joint_constraint_angle_min", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_ccdik_joint_constraint_angle_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "angle_max", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ccdik_joint_constraint_angle_max", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_ccdik_joint_constraint_angle_invert", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "invert", + "type": "bool" + } + ] + }, + { + "name": "get_ccdik_joint_constraint_angle_invert", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "NodePath", + "name": "target_nodepath", + "setter": "set_target_node", + "getter": "get_target_node", + "index": -1 + }, + { + "type": "NodePath", + "name": "tip_nodepath", + "setter": "set_tip_node", + "getter": "get_tip_node", + "index": -1 + }, + { + "type": "int", + "name": "ccdik_data_chain_length", + "setter": "set_ccdik_data_chain_length", + "getter": "get_ccdik_data_chain_length", + "index": -1 + } + ] + }, + { + "name": "SkeletonModification2DFABRIK", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "SkeletonModification2D", + "api_type": "core", + "methods": [ + { + "name": "set_target_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "target_nodepath", + "type": "NodePath" + } + ] + }, + { + "name": "get_target_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_fabrik_data_chain_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_fabrik_data_chain_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_fabrik_joint_bone2d_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "bone2d_nodepath", + "type": "NodePath" + } + ] + }, + { + "name": "get_fabrik_joint_bone2d_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_fabrik_joint_bone_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_fabrik_joint_bone_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_fabrik_joint_magnet_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "magnet_position", + "type": "Vector2" + } + ] + }, + { + "name": "get_fabrik_joint_magnet_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_fabrik_joint_use_target_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "use_target_rotation", + "type": "bool" + } + ] + }, + { + "name": "get_fabrik_joint_use_target_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "NodePath", + "name": "target_nodepath", + "setter": "set_target_node", + "getter": "get_target_node", + "index": -1 + }, + { + "type": "int", + "name": "fabrik_data_chain_length", + "setter": "set_fabrik_data_chain_length", + "getter": "get_fabrik_data_chain_length", + "index": -1 + } + ] + }, + { + "name": "SkeletonModification2DJiggle", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "SkeletonModification2D", + "api_type": "core", + "methods": [ + { + "name": "set_target_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "target_nodepath", + "type": "NodePath" + } + ] + }, + { + "name": "get_target_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_jiggle_data_chain_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_jiggle_data_chain_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_stiffness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "stiffness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_stiffness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_mass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mass", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mass", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_damping", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "damping", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_damping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_use_gravity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "use_gravity", + "type": "bool" + } + ] + }, + { + "name": "get_use_gravity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_gravity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gravity", + "type": "Vector2" + } + ] + }, + { + "name": "get_gravity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_use_colliders", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "use_colliders", + "type": "bool" + } + ] + }, + { + "name": "get_use_colliders", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "collision_mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_jiggle_joint_bone2d_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "bone2d_node", + "type": "NodePath" + } + ] + }, + { + "name": "get_jiggle_joint_bone2d_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_jiggle_joint_bone_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_jiggle_joint_bone_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_jiggle_joint_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "override", + "type": "bool" + } + ] + }, + { + "name": "get_jiggle_joint_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_jiggle_joint_stiffness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "stiffness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_jiggle_joint_stiffness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_jiggle_joint_mass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "mass", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_jiggle_joint_mass", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_jiggle_joint_damping", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "damping", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_jiggle_joint_damping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_jiggle_joint_use_gravity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "use_gravity", + "type": "bool" + } + ] + }, + { + "name": "get_jiggle_joint_use_gravity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_jiggle_joint_gravity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "gravity", + "type": "Vector2" + } + ] + }, + { + "name": "get_jiggle_joint_gravity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "NodePath", + "name": "target_nodepath", + "setter": "set_target_node", + "getter": "get_target_node", + "index": -1 + }, + { + "type": "int", + "name": "jiggle_data_chain_length", + "setter": "set_jiggle_data_chain_length", + "getter": "get_jiggle_data_chain_length", + "index": -1 + }, + { + "type": "float", + "name": "stiffness", + "setter": "set_stiffness", + "getter": "get_stiffness", + "index": -1 + }, + { + "type": "float", + "name": "mass", + "setter": "set_mass", + "getter": "get_mass", + "index": -1 + }, + { + "type": "float", + "name": "damping", + "setter": "set_damping", + "getter": "get_damping", + "index": -1 + }, + { + "type": "bool", + "name": "use_gravity", + "setter": "set_use_gravity", + "getter": "get_use_gravity", + "index": -1 + }, + { + "type": "Vector2", + "name": "gravity", + "setter": "set_gravity", + "getter": "get_gravity", + "index": -1 + } + ] + }, + { + "name": "SkeletonModification2DLookAt", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "SkeletonModification2D", + "api_type": "core", + "methods": [ + { + "name": "set_bone2d_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bone2d_nodepath", + "type": "NodePath" + } + ] + }, + { + "name": "get_bone2d_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_bone_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bone_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_target_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "target_nodepath", + "type": "NodePath" + } + ] + }, + { + "name": "get_target_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_additional_rotation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rotation", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_additional_rotation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_enable_constraint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable_constraint", + "type": "bool" + } + ] + }, + { + "name": "get_enable_constraint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_constraint_angle_min", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angle_min", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_constraint_angle_min", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_constraint_angle_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "angle_max", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_constraint_angle_max", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_constraint_angle_invert", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "invert", + "type": "bool" + } + ] + }, + { + "name": "get_constraint_angle_invert", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "bone_index", + "setter": "set_bone_index", + "getter": "get_bone_index", + "index": -1 + }, + { + "type": "NodePath", + "name": "bone2d_node", + "setter": "set_bone2d_node", + "getter": "get_bone2d_node", + "index": -1 + }, + { + "type": "NodePath", + "name": "target_nodepath", + "setter": "set_target_node", + "getter": "get_target_node", + "index": -1 + } + ] + }, + { + "name": "SkeletonModification2DPhysicalBones", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "SkeletonModification2D", + "api_type": "core", + "methods": [ + { + "name": "set_physical_bone_chain_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_physical_bone_chain_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_physical_bone_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "physicalbone2d_node", + "type": "NodePath" + } + ] + }, + { + "name": "get_physical_bone_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NodePath" + }, + "arguments": [ + { + "name": "joint_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "fetch_physical_bones", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "start_simulation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 326655116, + "arguments": [ + { + "name": "bones", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "stop_simulation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 326655116, + "arguments": [ + { + "name": "bones", + "type": "Array", + "default_value": "[]" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "physical_bone_chain_length", + "setter": "set_physical_bone_chain_length", + "getter": "get_physical_bone_chain_length", + "index": -1 + } + ] + }, + { + "name": "SkeletonModification2DStackHolder", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "SkeletonModification2D", + "api_type": "core", + "methods": [ + { + "name": "set_held_modification_stack", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "held_modification_stack", + "type": "SkeletonModificationStack2D" + } + ] + }, + { + "name": "get_held_modification_stack", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "SkeletonModificationStack2D" + } + } + ] + }, + { + "name": "SkeletonModification2DTwoBoneIK", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "SkeletonModification2D", + "api_type": "core", + "methods": [ + { + "name": "set_target_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "target_nodepath", + "type": "NodePath" + } + ] + }, + { + "name": "get_target_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_target_minimum_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "minimum_distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_target_minimum_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_target_maximum_distance", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "maximum_distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_target_maximum_distance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_flip_bend_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flip_direction", + "type": "bool" + } + ] + }, + { + "name": "get_flip_bend_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_joint_one_bone2d_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bone2d_node", + "type": "NodePath" + } + ] + }, + { + "name": "get_joint_one_bone2d_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_joint_one_bone_idx", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_joint_one_bone_idx", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_joint_two_bone2d_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bone2d_node", + "type": "NodePath" + } + ] + }, + { + "name": "get_joint_two_bone2d_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_joint_two_bone_idx", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_joint_two_bone_idx", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "NodePath", + "name": "target_nodepath", + "setter": "set_target_node", + "getter": "get_target_node", + "index": -1 + }, + { + "type": "float", + "name": "target_minimum_distance", + "setter": "set_target_minimum_distance", + "getter": "get_target_minimum_distance", + "index": -1 + }, + { + "type": "float", + "name": "target_maximum_distance", + "setter": "set_target_maximum_distance", + "getter": "get_target_maximum_distance", + "index": -1 + }, + { + "type": "bool", + "name": "flip_bend_direction", + "setter": "set_flip_bend_direction", + "getter": "get_flip_bend_direction", + "index": -1 + } + ] + }, + { + "name": "SkeletonModificationStack2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "setup", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "execute", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "delta", + "type": "float", + "meta": "float" + }, + { + "name": "execution_mode", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "enable_all_modifications", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_modification", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "SkeletonModification2D" + }, + "arguments": [ + { + "name": "mod_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_modification", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "modification", + "type": "SkeletonModification2D" + } + ] + }, + { + "name": "delete_modification", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mod_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_modification", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "mod_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "modification", + "type": "SkeletonModification2D" + } + ] + }, + { + "name": "set_modification_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_modification_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_is_setup", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_strength", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "strength", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_strength", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_skeleton", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Skeleton2D" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "enabled", + "setter": "set_enabled", + "getter": "get_enabled", + "index": -1 + }, + { + "type": "float", + "name": "strength", + "setter": "set_strength", + "getter": "get_strength", + "index": -1 + }, + { + "type": "int", + "name": "modification_count", + "setter": "set_modification_count", + "getter": "get_modification_count", + "index": -1 + } + ] + }, + { + "name": "Skin", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_bind_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bind_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bind_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "add_bind", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bone", + "type": "int", + "meta": "int32" + }, + { + "name": "pose", + "type": "Transform3D" + } + ] + }, + { + "name": "set_bind_pose", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bind_index", + "type": "int", + "meta": "int32" + }, + { + "name": "pose", + "type": "Transform3D" + } + ] + }, + { + "name": "get_bind_pose", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "bind_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bind_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bind_index", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_bind_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "bind_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bind_bone", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bind_index", + "type": "int", + "meta": "int32" + }, + { + "name": "bone", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bind_bone", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "bind_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_binds", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ] + }, + { + "name": "SkinReference", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "get_skeleton", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_skin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Skin" + } + } + ] + }, + { + "name": "Sky", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "ProcessMode", + "values": [ + { + "name": "PROCESS_MODE_AUTOMATIC", + "value": 0 + }, + { + "name": "PROCESS_MODE_QUALITY", + "value": 1 + }, + { + "name": "PROCESS_MODE_INCREMENTAL", + "value": 2 + }, + { + "name": "PROCESS_MODE_REALTIME", + "value": 3 + } + ] + }, + { + "name": "RadianceSize", + "values": [ + { + "name": "RADIANCE_SIZE_32", + "value": 0 + }, + { + "name": "RADIANCE_SIZE_64", + "value": 1 + }, + { + "name": "RADIANCE_SIZE_128", + "value": 2 + }, + { + "name": "RADIANCE_SIZE_256", + "value": 3 + }, + { + "name": "RADIANCE_SIZE_512", + "value": 4 + }, + { + "name": "RADIANCE_SIZE_1024", + "value": 5 + }, + { + "name": "RADIANCE_SIZE_2048", + "value": 6 + }, + { + "name": "RADIANCE_SIZE_MAX", + "value": 7 + } + ] + } + ], + "methods": [ + { + "name": "set_radiance_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "enum::Sky.RadianceSize" + } + ] + }, + { + "name": "get_radiance_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Sky.RadianceSize" + } + }, + { + "name": "set_process_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Sky.ProcessMode" + } + ] + }, + { + "name": "get_process_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Sky.ProcessMode" + } + }, + { + "name": "set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Material" + } + } + ], + "properties": [ + { + "type": "ShaderMaterial,PanoramaSkyMaterial,ProceduralSkyMaterial,PhysicalSkyMaterial", + "name": "sky_material", + "setter": "set_material", + "getter": "get_material", + "index": -1 + }, + { + "type": "int", + "name": "process_mode", + "setter": "set_process_mode", + "getter": "get_process_mode", + "index": -1 + }, + { + "type": "int", + "name": "radiance_size", + "setter": "set_radiance_size", + "getter": "get_radiance_size", + "index": -1 + } + ] + }, + { + "name": "Slider", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Range", + "api_type": "core", + "methods": [ + { + "name": "set_ticks", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_ticks", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_ticks_on_borders", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_ticks_on_borders", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ticks_on_border", + "type": "bool" + } + ] + }, + { + "name": "set_editable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "editable", + "type": "bool" + } + ] + }, + { + "name": "is_editable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_scrollable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scrollable", + "type": "bool" + } + ] + }, + { + "name": "is_scrollable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "editable", + "setter": "set_editable", + "getter": "is_editable", + "index": -1 + }, + { + "type": "bool", + "name": "scrollable", + "setter": "set_scrollable", + "getter": "is_scrollable", + "index": -1 + }, + { + "type": "int", + "name": "tick_count", + "setter": "set_ticks", + "getter": "get_ticks", + "index": -1 + }, + { + "type": "bool", + "name": "ticks_on_borders", + "setter": "set_ticks_on_borders", + "getter": "get_ticks_on_borders", + "index": -1 + } + ] + }, + { + "name": "SliderJoint3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Joint3D", + "api_type": "core", + "enums": [ + { + "name": "Param", + "values": [ + { + "name": "PARAM_LINEAR_LIMIT_UPPER", + "value": 0 + }, + { + "name": "PARAM_LINEAR_LIMIT_LOWER", + "value": 1 + }, + { + "name": "PARAM_LINEAR_LIMIT_SOFTNESS", + "value": 2 + }, + { + "name": "PARAM_LINEAR_LIMIT_RESTITUTION", + "value": 3 + }, + { + "name": "PARAM_LINEAR_LIMIT_DAMPING", + "value": 4 + }, + { + "name": "PARAM_LINEAR_MOTION_SOFTNESS", + "value": 5 + }, + { + "name": "PARAM_LINEAR_MOTION_RESTITUTION", + "value": 6 + }, + { + "name": "PARAM_LINEAR_MOTION_DAMPING", + "value": 7 + }, + { + "name": "PARAM_LINEAR_ORTHOGONAL_SOFTNESS", + "value": 8 + }, + { + "name": "PARAM_LINEAR_ORTHOGONAL_RESTITUTION", + "value": 9 + }, + { + "name": "PARAM_LINEAR_ORTHOGONAL_DAMPING", + "value": 10 + }, + { + "name": "PARAM_ANGULAR_LIMIT_UPPER", + "value": 11 + }, + { + "name": "PARAM_ANGULAR_LIMIT_LOWER", + "value": 12 + }, + { + "name": "PARAM_ANGULAR_LIMIT_SOFTNESS", + "value": 13 + }, + { + "name": "PARAM_ANGULAR_LIMIT_RESTITUTION", + "value": 14 + }, + { + "name": "PARAM_ANGULAR_LIMIT_DAMPING", + "value": 15 + }, + { + "name": "PARAM_ANGULAR_MOTION_SOFTNESS", + "value": 16 + }, + { + "name": "PARAM_ANGULAR_MOTION_RESTITUTION", + "value": 17 + }, + { + "name": "PARAM_ANGULAR_MOTION_DAMPING", + "value": 18 + }, + { + "name": "PARAM_ANGULAR_ORTHOGONAL_SOFTNESS", + "value": 19 + }, + { + "name": "PARAM_ANGULAR_ORTHOGONAL_RESTITUTION", + "value": 20 + }, + { + "name": "PARAM_ANGULAR_ORTHOGONAL_DAMPING", + "value": 21 + }, + { + "name": "PARAM_MAX", + "value": 22 + } + ] + } + ], + "methods": [ + { + "name": "set_param", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "param", + "type": "enum::SliderJoint3D.Param" + }, + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_param", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "param", + "type": "enum::SliderJoint3D.Param" + } + ] + } + ], + "properties": [ + { + "type": "float", + "name": "linear_limit/upper_distance", + "setter": "set_param", + "getter": "get_param", + "index": 0 + }, + { + "type": "float", + "name": "linear_limit/lower_distance", + "setter": "set_param", + "getter": "get_param", + "index": 1 + }, + { + "type": "float", + "name": "linear_limit/softness", + "setter": "set_param", + "getter": "get_param", + "index": 2 + }, + { + "type": "float", + "name": "linear_limit/restitution", + "setter": "set_param", + "getter": "get_param", + "index": 3 + }, + { + "type": "float", + "name": "linear_limit/damping", + "setter": "set_param", + "getter": "get_param", + "index": 4 + }, + { + "type": "float", + "name": "linear_motion/softness", + "setter": "set_param", + "getter": "get_param", + "index": 5 + }, + { + "type": "float", + "name": "linear_motion/restitution", + "setter": "set_param", + "getter": "get_param", + "index": 6 + }, + { + "type": "float", + "name": "linear_motion/damping", + "setter": "set_param", + "getter": "get_param", + "index": 7 + }, + { + "type": "float", + "name": "linear_ortho/softness", + "setter": "set_param", + "getter": "get_param", + "index": 8 + }, + { + "type": "float", + "name": "linear_ortho/restitution", + "setter": "set_param", + "getter": "get_param", + "index": 9 + }, + { + "type": "float", + "name": "linear_ortho/damping", + "setter": "set_param", + "getter": "get_param", + "index": 10 + }, + { + "type": "float", + "name": "angular_limit/upper_angle", + "setter": "_set_upper_limit_angular", + "getter": "_get_upper_limit_angular", + "index": -1 + }, + { + "type": "float", + "name": "angular_limit/lower_angle", + "setter": "_set_lower_limit_angular", + "getter": "_get_lower_limit_angular", + "index": -1 + }, + { + "type": "float", + "name": "angular_limit/softness", + "setter": "set_param", + "getter": "get_param", + "index": 13 + }, + { + "type": "float", + "name": "angular_limit/restitution", + "setter": "set_param", + "getter": "get_param", + "index": 14 + }, + { + "type": "float", + "name": "angular_limit/damping", + "setter": "set_param", + "getter": "get_param", + "index": 15 + }, + { + "type": "float", + "name": "angular_motion/softness", + "setter": "set_param", + "getter": "get_param", + "index": 16 + }, + { + "type": "float", + "name": "angular_motion/restitution", + "setter": "set_param", + "getter": "get_param", + "index": 17 + }, + { + "type": "float", + "name": "angular_motion/damping", + "setter": "set_param", + "getter": "get_param", + "index": 18 + }, + { + "type": "float", + "name": "angular_ortho/softness", + "setter": "set_param", + "getter": "get_param", + "index": 19 + }, + { + "type": "float", + "name": "angular_ortho/restitution", + "setter": "set_param", + "getter": "get_param", + "index": 20 + }, + { + "type": "float", + "name": "angular_ortho/damping", + "setter": "set_param", + "getter": "get_param", + "index": 21 + } + ] + }, + { + "name": "SoftBody3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "MeshInstance3D", + "api_type": "core", + "enums": [ + { + "name": "DisableMode", + "values": [ + { + "name": "DISABLE_MODE_REMOVE", + "value": 0 + }, + { + "name": "DISABLE_MODE_KEEP_ACTIVE", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "get_physics_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "collision_mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "collision_layer", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_layer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_collision_mask_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_mask_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_collision_layer_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_collision_layer_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "bit", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_parent_collision_ignore", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "parent_collision_ignore", + "type": "NodePath" + } + ] + }, + { + "name": "get_parent_collision_ignore", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_disable_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::SoftBody3D.DisableMode" + } + ] + }, + { + "name": "get_disable_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::SoftBody3D.DisableMode" + } + }, + { + "name": "get_collision_exceptions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "add_collision_exception_with", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "remove_collision_exception_with", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "set_simulation_precision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "simulation_precision", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_simulation_precision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_total_mass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mass", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_total_mass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_linear_stiffness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "linear_stiffness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_linear_stiffness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_pressure_coefficient", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pressure_coefficient", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pressure_coefficient", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_damping_coefficient", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "damping_coefficient", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_damping_coefficient", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_drag_coefficient", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "drag_coefficient", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_drag_coefficient", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_ray_pickable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ray_pickable", + "type": "bool" + } + ] + }, + { + "name": "is_ray_pickable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "collision_layer", + "setter": "set_collision_layer", + "getter": "get_collision_layer", + "index": -1 + }, + { + "type": "int", + "name": "collision_mask", + "setter": "set_collision_mask", + "getter": "get_collision_mask", + "index": -1 + }, + { + "type": "NodePath", + "name": "parent_collision_ignore", + "setter": "set_parent_collision_ignore", + "getter": "get_parent_collision_ignore", + "index": -1 + }, + { + "type": "int", + "name": "simulation_precision", + "setter": "set_simulation_precision", + "getter": "get_simulation_precision", + "index": -1 + }, + { + "type": "float", + "name": "total_mass", + "setter": "set_total_mass", + "getter": "get_total_mass", + "index": -1 + }, + { + "type": "float", + "name": "linear_stiffness", + "setter": "set_linear_stiffness", + "getter": "get_linear_stiffness", + "index": -1 + }, + { + "type": "float", + "name": "pressure_coefficient", + "setter": "set_pressure_coefficient", + "getter": "get_pressure_coefficient", + "index": -1 + }, + { + "type": "float", + "name": "damping_coefficient", + "setter": "set_damping_coefficient", + "getter": "get_damping_coefficient", + "index": -1 + }, + { + "type": "float", + "name": "drag_coefficient", + "setter": "set_drag_coefficient", + "getter": "get_drag_coefficient", + "index": -1 + }, + { + "type": "bool", + "name": "ray_pickable", + "setter": "set_ray_pickable", + "getter": "is_ray_pickable", + "index": -1 + }, + { + "type": "int", + "name": "disable_mode", + "setter": "set_disable_mode", + "getter": "get_disable_mode", + "index": -1 + } + ] + }, + { + "name": "SphereMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PrimitiveMesh", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_radial_segments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radial_segments", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_radial_segments", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_rings", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rings", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_rings", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_is_hemisphere", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "is_hemisphere", + "type": "bool" + } + ] + }, + { + "name": "get_is_hemisphere", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + }, + { + "type": "float", + "name": "height", + "setter": "set_height", + "getter": "get_height", + "index": -1 + }, + { + "type": "int", + "name": "radial_segments", + "setter": "set_radial_segments", + "getter": "get_radial_segments", + "index": -1 + }, + { + "type": "int", + "name": "rings", + "setter": "set_rings", + "getter": "get_rings", + "index": -1 + }, + { + "type": "bool", + "name": "is_hemisphere", + "setter": "set_is_hemisphere", + "getter": "get_is_hemisphere", + "index": -1 + } + ] + }, + { + "name": "SphereShape3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape3D", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + } + ] + }, + { + "name": "SpinBox", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Range", + "api_type": "core", + "methods": [ + { + "name": "set_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "align", + "type": "enum::LineEdit.Align" + } + ] + }, + { + "name": "get_align", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::LineEdit.Align" + } + }, + { + "name": "set_suffix", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "suffix", + "type": "String" + } + ] + }, + { + "name": "get_suffix", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_prefix", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "prefix", + "type": "String" + } + ] + }, + { + "name": "get_prefix", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_editable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "editable", + "type": "bool" + } + ] + }, + { + "name": "is_editable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "apply", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_line_edit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "LineEdit" + } + } + ], + "properties": [ + { + "type": "int", + "name": "align", + "setter": "set_align", + "getter": "get_align", + "index": -1 + }, + { + "type": "bool", + "name": "editable", + "setter": "set_editable", + "getter": "is_editable", + "index": -1 + }, + { + "type": "String", + "name": "prefix", + "setter": "set_prefix", + "getter": "get_prefix", + "index": -1 + }, + { + "type": "String", + "name": "suffix", + "setter": "set_suffix", + "getter": "get_suffix", + "index": -1 + } + ] + }, + { + "name": "SplitContainer", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Container", + "api_type": "core", + "enums": [ + { + "name": "DraggerVisibility", + "values": [ + { + "name": "DRAGGER_VISIBLE", + "value": 0 + }, + { + "name": "DRAGGER_HIDDEN", + "value": 1 + }, + { + "name": "DRAGGER_HIDDEN_COLLAPSED", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_split_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_split_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "clamp_split_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_collapsed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "collapsed", + "type": "bool" + } + ] + }, + { + "name": "is_collapsed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_dragger_visibility", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::SplitContainer.DraggerVisibility" + } + ] + }, + { + "name": "get_dragger_visibility", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::SplitContainer.DraggerVisibility" + } + } + ], + "signals": [ + { + "name": "dragged", + "arguments": [ + { + "name": "offset", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "split_offset", + "setter": "set_split_offset", + "getter": "get_split_offset", + "index": -1 + }, + { + "type": "bool", + "name": "collapsed", + "setter": "set_collapsed", + "getter": "is_collapsed", + "index": -1 + }, + { + "type": "int", + "name": "dragger_visibility", + "setter": "set_dragger_visibility", + "getter": "get_dragger_visibility", + "index": -1 + } + ] + }, + { + "name": "SpotLight3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Light3D", + "api_type": "core", + "properties": [ + { + "type": "float", + "name": "spot_range", + "setter": "set_param", + "getter": "get_param", + "index": 3 + }, + { + "type": "float", + "name": "spot_attenuation", + "setter": "set_param", + "getter": "get_param", + "index": 5 + }, + { + "type": "float", + "name": "spot_angle", + "setter": "set_param", + "getter": "get_param", + "index": 6 + }, + { + "type": "float", + "name": "spot_angle_attenuation", + "setter": "set_param", + "getter": "get_param", + "index": 7 + } + ] + }, + { + "name": "SpringArm3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "get_hit_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "Shape3D" + } + ] + }, + { + "name": "get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Shape3D" + } + }, + { + "name": "add_excluded_object", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "RID", + "type": "RID" + } + ] + }, + { + "name": "remove_excluded_object", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "RID", + "type": "RID" + } + ] + }, + { + "name": "clear_excluded_objects", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "int", + "name": "collision_mask", + "setter": "set_collision_mask", + "getter": "get_collision_mask", + "index": -1 + }, + { + "type": "Shape3D", + "name": "shape", + "setter": "set_shape", + "getter": "get_shape", + "index": -1 + }, + { + "type": "float", + "name": "spring_length", + "setter": "set_length", + "getter": "get_length", + "index": -1 + }, + { + "type": "float", + "name": "margin", + "setter": "set_margin", + "getter": "get_margin", + "index": -1 + } + ] + }, + { + "name": "Sprite2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_centered", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "centered", + "type": "bool" + } + ] + }, + { + "name": "is_centered", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_flip_h", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flip_h", + "type": "bool" + } + ] + }, + { + "name": "is_flipped_h", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_flip_v", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flip_v", + "type": "bool" + } + ] + }, + { + "name": "is_flipped_v", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_region_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_region_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_pixel_opaque", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "pos", + "type": "Vector2" + } + ] + }, + { + "name": "set_region_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rect", + "type": "Rect2" + } + ] + }, + { + "name": "get_region_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "set_region_filter_clip_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_region_filter_clip_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_frame", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "frame", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_frame", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_frame_coords", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + } + ] + }, + { + "name": "get_frame_coords", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_vframes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vframes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_vframes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_hframes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hframes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_hframes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + } + ], + "signals": [ + { + "name": "frame_changed" + }, + { + "name": "texture_changed" + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "bool", + "name": "centered", + "setter": "set_centered", + "getter": "is_centered", + "index": -1 + }, + { + "type": "Vector2", + "name": "offset", + "setter": "set_offset", + "getter": "get_offset", + "index": -1 + }, + { + "type": "bool", + "name": "flip_h", + "setter": "set_flip_h", + "getter": "is_flipped_h", + "index": -1 + }, + { + "type": "bool", + "name": "flip_v", + "setter": "set_flip_v", + "getter": "is_flipped_v", + "index": -1 + }, + { + "type": "int", + "name": "hframes", + "setter": "set_hframes", + "getter": "get_hframes", + "index": -1 + }, + { + "type": "int", + "name": "vframes", + "setter": "set_vframes", + "getter": "get_vframes", + "index": -1 + }, + { + "type": "int", + "name": "frame", + "setter": "set_frame", + "getter": "get_frame", + "index": -1 + }, + { + "type": "Vector2i", + "name": "frame_coords", + "setter": "set_frame_coords", + "getter": "get_frame_coords", + "index": -1 + }, + { + "type": "bool", + "name": "region_enabled", + "setter": "set_region_enabled", + "getter": "is_region_enabled", + "index": -1 + }, + { + "type": "Rect2", + "name": "region_rect", + "setter": "set_region_rect", + "getter": "get_region_rect", + "index": -1 + }, + { + "type": "bool", + "name": "region_filter_clip_enabled", + "setter": "set_region_filter_clip_enabled", + "getter": "is_region_filter_clip_enabled", + "index": -1 + } + ] + }, + { + "name": "Sprite3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "SpriteBase3D", + "api_type": "core", + "methods": [ + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_region_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_region_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_region_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rect", + "type": "Rect2" + } + ] + }, + { + "name": "get_region_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "set_frame", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "frame", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_frame", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_frame_coords", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + } + ] + }, + { + "name": "get_frame_coords", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_vframes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vframes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_vframes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_hframes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hframes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_hframes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "signals": [ + { + "name": "frame_changed" + } + ], + "properties": [ + { + "type": "Texture", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "int", + "name": "hframes", + "setter": "set_hframes", + "getter": "get_hframes", + "index": -1 + }, + { + "type": "int", + "name": "vframes", + "setter": "set_vframes", + "getter": "get_vframes", + "index": -1 + }, + { + "type": "int", + "name": "frame", + "setter": "set_frame", + "getter": "get_frame", + "index": -1 + }, + { + "type": "Vector2", + "name": "frame_coords", + "setter": "set_frame_coords", + "getter": "get_frame_coords", + "index": -1 + }, + { + "type": "bool", + "name": "region_enabled", + "setter": "set_region_enabled", + "getter": "is_region_enabled", + "index": -1 + }, + { + "type": "Rect2", + "name": "region_rect", + "setter": "set_region_rect", + "getter": "get_region_rect", + "index": -1 + } + ] + }, + { + "name": "SpriteBase3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "GeometryInstance3D", + "api_type": "core", + "enums": [ + { + "name": "DrawFlags", + "values": [ + { + "name": "FLAG_TRANSPARENT", + "value": 0 + }, + { + "name": "FLAG_SHADED", + "value": 1 + }, + { + "name": "FLAG_DOUBLE_SIDED", + "value": 2 + }, + { + "name": "FLAG_MAX", + "value": 3 + } + ] + }, + { + "name": "AlphaCutMode", + "values": [ + { + "name": "ALPHA_CUT_DISABLED", + "value": 0 + }, + { + "name": "ALPHA_CUT_DISCARD", + "value": 1 + }, + { + "name": "ALPHA_CUT_OPAQUE_PREPASS", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_centered", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "centered", + "type": "bool" + } + ] + }, + { + "name": "is_centered", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_flip_h", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flip_h", + "type": "bool" + } + ] + }, + { + "name": "is_flipped_h", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_flip_v", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flip_v", + "type": "bool" + } + ] + }, + { + "name": "is_flipped_v", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_modulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "modulate", + "type": "Color" + } + ] + }, + { + "name": "get_modulate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_opacity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "opacity", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_opacity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_pixel_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pixel_size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pixel_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_axis", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "axis", + "type": "enum::Vector3.Axis" + } + ] + }, + { + "name": "get_axis", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Vector3.Axis" + } + }, + { + "name": "set_draw_flag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "flag", + "type": "enum::SpriteBase3D.DrawFlags" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_draw_flag", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "flag", + "type": "enum::SpriteBase3D.DrawFlags" + } + ] + }, + { + "name": "set_alpha_cut_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::SpriteBase3D.AlphaCutMode" + } + ] + }, + { + "name": "get_alpha_cut_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::SpriteBase3D.AlphaCutMode" + } + }, + { + "name": "set_billboard_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::BaseMaterial3D.BillboardMode" + } + ] + }, + { + "name": "get_billboard_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.BillboardMode" + } + }, + { + "name": "get_item_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "generate_triangle_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "TriangleMesh" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "centered", + "setter": "set_centered", + "getter": "is_centered", + "index": -1 + }, + { + "type": "Vector2", + "name": "offset", + "setter": "set_offset", + "getter": "get_offset", + "index": -1 + }, + { + "type": "bool", + "name": "flip_h", + "setter": "set_flip_h", + "getter": "is_flipped_h", + "index": -1 + }, + { + "type": "bool", + "name": "flip_v", + "setter": "set_flip_v", + "getter": "is_flipped_v", + "index": -1 + }, + { + "type": "Color", + "name": "modulate", + "setter": "set_modulate", + "getter": "get_modulate", + "index": -1 + }, + { + "type": "float", + "name": "opacity", + "setter": "set_opacity", + "getter": "get_opacity", + "index": -1 + }, + { + "type": "float", + "name": "pixel_size", + "setter": "set_pixel_size", + "getter": "get_pixel_size", + "index": -1 + }, + { + "type": "int", + "name": "axis", + "setter": "set_axis", + "getter": "get_axis", + "index": -1 + }, + { + "type": "int", + "name": "billboard", + "setter": "set_billboard_mode", + "getter": "get_billboard_mode", + "index": -1 + }, + { + "type": "bool", + "name": "transparent", + "setter": "set_draw_flag", + "getter": "get_draw_flag", + "index": 0 + }, + { + "type": "bool", + "name": "shaded", + "setter": "set_draw_flag", + "getter": "get_draw_flag", + "index": 1 + }, + { + "type": "bool", + "name": "double_sided", + "setter": "set_draw_flag", + "getter": "get_draw_flag", + "index": 2 + }, + { + "type": "int", + "name": "alpha_cut", + "setter": "set_alpha_cut_mode", + "getter": "get_alpha_cut_mode", + "index": -1 + } + ] + }, + { + "name": "SpriteFrames", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "add_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "anim", + "type": "StringName" + } + ] + }, + { + "name": "has_animation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "anim", + "type": "StringName" + } + ] + }, + { + "name": "remove_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "anim", + "type": "StringName" + } + ] + }, + { + "name": "rename_animation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "anim", + "type": "StringName" + }, + { + "name": "newname", + "type": "StringName" + } + ] + }, + { + "name": "get_animation_names", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "set_animation_speed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "anim", + "type": "StringName" + }, + { + "name": "speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_animation_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "anim", + "type": "StringName" + } + ] + }, + { + "name": "set_animation_loop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "anim", + "type": "StringName" + }, + { + "name": "loop", + "type": "bool" + } + ] + }, + { + "name": "get_animation_loop", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "anim", + "type": "StringName" + } + ] + }, + { + "name": "add_frame", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "anim", + "type": "StringName" + }, + { + "name": "frame", + "type": "Texture2D" + }, + { + "name": "at_position", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_frame_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "anim", + "type": "StringName" + } + ] + }, + { + "name": "get_frame", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "anim", + "type": "StringName" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_frame", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "anim", + "type": "StringName" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "txt", + "type": "Texture2D" + } + ] + }, + { + "name": "remove_frame", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "anim", + "type": "StringName" + }, + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "anim", + "type": "StringName" + } + ] + }, + { + "name": "clear_all", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "properties": [ + { + "type": "Array", + "name": "frames", + "setter": "_set_frames", + "getter": "_get_frames", + "index": -1 + }, + { + "type": "Array", + "name": "animations", + "setter": "_set_animations", + "getter": "_get_animations", + "index": -1 + } + ] + }, + { + "name": "StandardMaterial3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "BaseMaterial3D", + "api_type": "core" + }, + { + "name": "StaticBody2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "PhysicsBody2D", + "api_type": "core", + "methods": [ + { + "name": "set_constant_linear_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vel", + "type": "Vector2" + } + ] + }, + { + "name": "set_constant_angular_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vel", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_constant_linear_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_constant_angular_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_kinematic_motion_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_kinematic_motion_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_physics_material_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "physics_material_override", + "type": "PhysicsMaterial" + } + ] + }, + { + "name": "get_physics_material_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PhysicsMaterial" + } + }, + { + "name": "set_sync_to_physics", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_sync_to_physics_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "PhysicsMaterial", + "name": "physics_material_override", + "setter": "set_physics_material_override", + "getter": "get_physics_material_override", + "index": -1 + }, + { + "type": "Vector2", + "name": "constant_linear_velocity", + "setter": "set_constant_linear_velocity", + "getter": "get_constant_linear_velocity", + "index": -1 + }, + { + "type": "float", + "name": "constant_angular_velocity", + "setter": "set_constant_angular_velocity", + "getter": "get_constant_angular_velocity", + "index": -1 + }, + { + "type": "bool", + "name": "kinematic_motion", + "setter": "set_kinematic_motion_enabled", + "getter": "is_kinematic_motion_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "sync_to_physics", + "setter": "set_sync_to_physics", + "getter": "is_sync_to_physics_enabled", + "index": -1 + } + ] + }, + { + "name": "StaticBody3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "PhysicsBody3D", + "api_type": "core", + "methods": [ + { + "name": "set_constant_linear_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vel", + "type": "Vector3" + } + ] + }, + { + "name": "set_constant_angular_velocity", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vel", + "type": "Vector3" + } + ] + }, + { + "name": "get_constant_linear_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_constant_angular_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_kinematic_motion_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_kinematic_motion_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_physics_material_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "physics_material_override", + "type": "PhysicsMaterial" + } + ] + }, + { + "name": "get_physics_material_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PhysicsMaterial" + } + }, + { + "name": "set_sync_to_physics", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_sync_to_physics_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "PhysicsMaterial", + "name": "physics_material_override", + "setter": "set_physics_material_override", + "getter": "get_physics_material_override", + "index": -1 + }, + { + "type": "Vector3", + "name": "constant_linear_velocity", + "setter": "set_constant_linear_velocity", + "getter": "get_constant_linear_velocity", + "index": -1 + }, + { + "type": "Vector3", + "name": "constant_angular_velocity", + "setter": "set_constant_angular_velocity", + "getter": "get_constant_angular_velocity", + "index": -1 + }, + { + "type": "bool", + "name": "kinematic_motion", + "setter": "set_kinematic_motion_enabled", + "getter": "is_kinematic_motion_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "sync_to_physics", + "setter": "set_sync_to_physics", + "getter": "is_sync_to_physics_enabled", + "index": -1 + } + ] + }, + { + "name": "StreamCubemap", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "StreamTextureLayered", + "api_type": "core" + }, + { + "name": "StreamCubemapArray", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "StreamTextureLayered", + "api_type": "core" + }, + { + "name": "StreamPeer", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "put_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "put_partial_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "get_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "bytes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_partial_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "bytes", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_available_bytes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_big_endian", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_big_endian_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "put_8", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "int8" + } + ] + }, + { + "name": "put_u8", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "uint8" + } + ] + }, + { + "name": "put_16", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "int16" + } + ] + }, + { + "name": "put_u16", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "uint16" + } + ] + }, + { + "name": "put_32", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "put_u32", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "put_64", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "put_u64", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "put_float", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "put_double", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "put_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "String" + } + ] + }, + { + "name": "put_utf8_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "String" + } + ] + }, + { + "name": "put_var", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "value", + "type": "Variant" + }, + { + "name": "full_objects", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_8", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int8" + } + }, + { + "name": "get_u8", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint8" + } + }, + { + "name": "get_16", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int16" + } + }, + { + "name": "get_u16", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint16" + } + }, + { + "name": "get_32", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_u32", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "get_64", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int64" + } + }, + { + "name": "get_u64", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_float", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_double", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "get_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172412423, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "bytes", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_utf8_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172412423, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "bytes", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_var", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "allow_objects", + "type": "bool", + "default_value": "false" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "big_endian", + "setter": "set_big_endian", + "getter": "is_big_endian_enabled", + "index": -1 + } + ] + }, + { + "name": "StreamPeerBuffer", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "StreamPeer", + "api_type": "core", + "methods": [ + { + "name": "seek", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "resize", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_data_array", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "get_data_array", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedByteArray" + } + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "duplicate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StreamPeerBuffer" + } + } + ], + "properties": [ + { + "type": "PackedByteArray", + "name": "data_array", + "setter": "set_data_array", + "getter": "get_data_array", + "index": -1 + } + ] + }, + { + "name": "StreamPeerGDNative", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "StreamPeer", + "api_type": "core" + }, + { + "name": "StreamPeerSSL", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "StreamPeer", + "api_type": "core", + "enums": [ + { + "name": "Status", + "values": [ + { + "name": "STATUS_DISCONNECTED", + "value": 0 + }, + { + "name": "STATUS_HANDSHAKING", + "value": 1 + }, + { + "name": "STATUS_CONNECTED", + "value": 2 + }, + { + "name": "STATUS_ERROR", + "value": 3 + }, + { + "name": "STATUS_ERROR_HOSTNAME_MISMATCH", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "poll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "accept_stream", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 175971275, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "stream", + "type": "StreamPeer" + }, + { + "name": "private_key", + "type": "CryptoKey" + }, + { + "name": "certificate", + "type": "X509Certificate" + }, + { + "name": "chain", + "type": "X509Certificate", + "default_value": "null" + } + ] + }, + { + "name": "connect_to_stream", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2738288146, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "stream", + "type": "StreamPeer" + }, + { + "name": "validate_certs", + "type": "bool", + "default_value": "false" + }, + { + "name": "for_hostname", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "valid_certificate", + "type": "X509Certificate", + "default_value": "null" + } + ] + }, + { + "name": "get_status", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::StreamPeerSSL.Status" + } + }, + { + "name": "disconnect_from_stream", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_blocking_handshake_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_blocking_handshake_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "blocking_handshake", + "setter": "set_blocking_handshake_enabled", + "getter": "is_blocking_handshake_enabled", + "index": -1 + } + ] + }, + { + "name": "StreamPeerTCP", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "StreamPeer", + "api_type": "core", + "enums": [ + { + "name": "Status", + "values": [ + { + "name": "STATUS_NONE", + "value": 0 + }, + { + "name": "STATUS_CONNECTING", + "value": 1 + }, + { + "name": "STATUS_CONNECTED", + "value": 2 + }, + { + "name": "STATUS_ERROR", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "bind", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + }, + { + "name": "host", + "type": "String", + "default_value": "\"*\"" + } + ] + }, + { + "name": "connect_to_host", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "host", + "type": "String" + }, + { + "name": "port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_connected_to_host", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_status", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::StreamPeerTCP.Status" + } + }, + { + "name": "get_connected_host", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_connected_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_local_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "disconnect_from_host", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_no_delay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + } + ] + }, + { + "name": "StreamTexture2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "methods": [ + { + "name": "load", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_load_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "String", + "name": "load_path", + "setter": "load", + "getter": "get_load_path", + "index": -1 + } + ] + }, + { + "name": "StreamTexture2DArray", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "StreamTextureLayered", + "api_type": "core" + }, + { + "name": "StreamTexture3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture3D", + "api_type": "core", + "methods": [ + { + "name": "load", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_load_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "String", + "name": "load_path", + "setter": "load", + "getter": "get_load_path", + "index": -1 + } + ] + }, + { + "name": "StreamTextureLayered", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "TextureLayered", + "api_type": "core", + "methods": [ + { + "name": "load", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_load_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "String", + "name": "load_path", + "setter": "load", + "getter": "get_load_path", + "index": -1 + } + ] + }, + { + "name": "StyleBox", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "test_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "point", + "type": "Vector2" + }, + { + "name": "rect", + "type": "Rect2" + } + ] + }, + { + "name": "set_default_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + }, + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_default_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + } + ] + }, + { + "name": "get_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + } + ] + }, + { + "name": "get_minimum_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_center_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_current_item_drawn", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "CanvasItem" + } + }, + { + "name": "draw", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134224136, + "arguments": [ + { + "name": "canvas_item", + "type": "RID" + }, + { + "name": "rect", + "type": "Rect2" + } + ] + } + ], + "properties": [ + { + "type": "float", + "name": "content_margin_left", + "setter": "set_default_margin", + "getter": "get_default_margin", + "index": 0 + }, + { + "type": "float", + "name": "content_margin_right", + "setter": "set_default_margin", + "getter": "get_default_margin", + "index": 2 + }, + { + "type": "float", + "name": "content_margin_top", + "setter": "set_default_margin", + "getter": "get_default_margin", + "index": 1 + }, + { + "type": "float", + "name": "content_margin_bottom", + "setter": "set_default_margin", + "getter": "get_default_margin", + "index": 3 + } + ] + }, + { + "name": "StyleBoxEmpty", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "StyleBox", + "api_type": "core" + }, + { + "name": "StyleBoxFlat", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "StyleBox", + "api_type": "core", + "methods": [ + { + "name": "set_bg_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_bg_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_border_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_border_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_border_width_all", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_border_width_min", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_border_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + }, + { + "name": "width", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_border_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + } + ] + }, + { + "name": "set_border_blend", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "blend", + "type": "bool" + } + ] + }, + { + "name": "get_border_blend", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_corner_radius_individual", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "radius_top_left", + "type": "int", + "meta": "int32" + }, + { + "name": "radius_top_right", + "type": "int", + "meta": "int32" + }, + { + "name": "radius_bottom_right", + "type": "int", + "meta": "int32" + }, + { + "name": "radius_bottom_left", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_corner_radius_all", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_corner_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "corner", + "type": "enum::Corner" + }, + { + "name": "radius", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_corner_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "corner", + "type": "enum::Corner" + } + ] + }, + { + "name": "set_expand_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + }, + { + "name": "size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_expand_margin_all", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_expand_margin_individual", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "size_left", + "type": "float", + "meta": "float" + }, + { + "name": "size_top", + "type": "float", + "meta": "float" + }, + { + "name": "size_right", + "type": "float", + "meta": "float" + }, + { + "name": "size_bottom", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_expand_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + } + ] + }, + { + "name": "set_draw_center", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "draw_center", + "type": "bool" + } + ] + }, + { + "name": "is_draw_center_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_shadow_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_shadow_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_shadow_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_shadow_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_shadow_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_shadow_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_anti_aliased", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "anti_aliased", + "type": "bool" + } + ] + }, + { + "name": "is_anti_aliased", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_aa_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_aa_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_corner_detail", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "detail", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_corner_detail", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "Color", + "name": "bg_color", + "setter": "set_bg_color", + "getter": "get_bg_color", + "index": -1 + }, + { + "type": "bool", + "name": "draw_center", + "setter": "set_draw_center", + "getter": "is_draw_center_enabled", + "index": -1 + }, + { + "type": "int", + "name": "border_width_left", + "setter": "set_border_width", + "getter": "get_border_width", + "index": 0 + }, + { + "type": "int", + "name": "border_width_top", + "setter": "set_border_width", + "getter": "get_border_width", + "index": 1 + }, + { + "type": "int", + "name": "border_width_right", + "setter": "set_border_width", + "getter": "get_border_width", + "index": 2 + }, + { + "type": "int", + "name": "border_width_bottom", + "setter": "set_border_width", + "getter": "get_border_width", + "index": 3 + }, + { + "type": "Color", + "name": "border_color", + "setter": "set_border_color", + "getter": "get_border_color", + "index": -1 + }, + { + "type": "bool", + "name": "border_blend", + "setter": "set_border_blend", + "getter": "get_border_blend", + "index": -1 + }, + { + "type": "int", + "name": "corner_radius_top_left", + "setter": "set_corner_radius", + "getter": "get_corner_radius", + "index": 0 + }, + { + "type": "int", + "name": "corner_radius_top_right", + "setter": "set_corner_radius", + "getter": "get_corner_radius", + "index": 1 + }, + { + "type": "int", + "name": "corner_radius_bottom_right", + "setter": "set_corner_radius", + "getter": "get_corner_radius", + "index": 2 + }, + { + "type": "int", + "name": "corner_radius_bottom_left", + "setter": "set_corner_radius", + "getter": "get_corner_radius", + "index": 3 + }, + { + "type": "int", + "name": "corner_detail", + "setter": "set_corner_detail", + "getter": "get_corner_detail", + "index": -1 + }, + { + "type": "float", + "name": "expand_margin_left", + "setter": "set_expand_margin", + "getter": "get_expand_margin", + "index": 0 + }, + { + "type": "float", + "name": "expand_margin_right", + "setter": "set_expand_margin", + "getter": "get_expand_margin", + "index": 2 + }, + { + "type": "float", + "name": "expand_margin_top", + "setter": "set_expand_margin", + "getter": "get_expand_margin", + "index": 1 + }, + { + "type": "float", + "name": "expand_margin_bottom", + "setter": "set_expand_margin", + "getter": "get_expand_margin", + "index": 3 + }, + { + "type": "Color", + "name": "shadow_color", + "setter": "set_shadow_color", + "getter": "get_shadow_color", + "index": -1 + }, + { + "type": "int", + "name": "shadow_size", + "setter": "set_shadow_size", + "getter": "get_shadow_size", + "index": -1 + }, + { + "type": "Vector2", + "name": "shadow_offset", + "setter": "set_shadow_offset", + "getter": "get_shadow_offset", + "index": -1 + }, + { + "type": "bool", + "name": "anti_aliasing", + "setter": "set_anti_aliased", + "getter": "is_anti_aliased", + "index": -1 + }, + { + "type": "int", + "name": "anti_aliasing_size", + "setter": "set_aa_size", + "getter": "get_aa_size", + "index": -1 + } + ] + }, + { + "name": "StyleBoxLine", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "StyleBox", + "api_type": "core", + "methods": [ + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_thickness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "thickness", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_thickness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_grow_begin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_grow_begin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_grow_end", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_grow_end", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_vertical", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vertical", + "type": "bool" + } + ] + }, + { + "name": "is_vertical", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "Color", + "name": "color", + "setter": "set_color", + "getter": "get_color", + "index": -1 + }, + { + "type": "float", + "name": "grow_begin", + "setter": "set_grow_begin", + "getter": "get_grow_begin", + "index": -1 + }, + { + "type": "float", + "name": "grow_end", + "setter": "set_grow_end", + "getter": "get_grow_end", + "index": -1 + }, + { + "type": "int", + "name": "thickness", + "setter": "set_thickness", + "getter": "get_thickness", + "index": -1 + }, + { + "type": "bool", + "name": "vertical", + "setter": "set_vertical", + "getter": "is_vertical", + "index": -1 + } + ] + }, + { + "name": "StyleBoxTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "StyleBox", + "api_type": "core", + "enums": [ + { + "name": "AxisStretchMode", + "values": [ + { + "name": "AXIS_STRETCH_MODE_STRETCH", + "value": 0 + }, + { + "name": "AXIS_STRETCH_MODE_TILE", + "value": 1 + }, + { + "name": "AXIS_STRETCH_MODE_TILE_FIT", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_margin_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + }, + { + "name": "size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_margin_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + } + ] + }, + { + "name": "set_expand_margin_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + }, + { + "name": "size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_expand_margin_all", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_expand_margin_individual", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "size_left", + "type": "float", + "meta": "float" + }, + { + "name": "size_top", + "type": "float", + "meta": "float" + }, + { + "name": "size_right", + "type": "float", + "meta": "float" + }, + { + "name": "size_bottom", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_expand_margin_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + } + ] + }, + { + "name": "set_region_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "region", + "type": "Rect2" + } + ] + }, + { + "name": "get_region_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "set_draw_center", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_draw_center_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_modulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_modulate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_h_axis_stretch_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::StyleBoxTexture.AxisStretchMode" + } + ] + }, + { + "name": "get_h_axis_stretch_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::StyleBoxTexture.AxisStretchMode" + } + }, + { + "name": "set_v_axis_stretch_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::StyleBoxTexture.AxisStretchMode" + } + ] + }, + { + "name": "get_v_axis_stretch_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::StyleBoxTexture.AxisStretchMode" + } + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "Rect2", + "name": "region_rect", + "setter": "set_region_rect", + "getter": "get_region_rect", + "index": -1 + }, + { + "type": "float", + "name": "margin_left", + "setter": "set_margin_size", + "getter": "get_margin_size", + "index": 0 + }, + { + "type": "float", + "name": "margin_right", + "setter": "set_margin_size", + "getter": "get_margin_size", + "index": 2 + }, + { + "type": "float", + "name": "margin_top", + "setter": "set_margin_size", + "getter": "get_margin_size", + "index": 1 + }, + { + "type": "float", + "name": "margin_bottom", + "setter": "set_margin_size", + "getter": "get_margin_size", + "index": 3 + }, + { + "type": "float", + "name": "expand_margin_left", + "setter": "set_expand_margin_size", + "getter": "get_expand_margin_size", + "index": 0 + }, + { + "type": "float", + "name": "expand_margin_right", + "setter": "set_expand_margin_size", + "getter": "get_expand_margin_size", + "index": 2 + }, + { + "type": "float", + "name": "expand_margin_top", + "setter": "set_expand_margin_size", + "getter": "get_expand_margin_size", + "index": 1 + }, + { + "type": "float", + "name": "expand_margin_bottom", + "setter": "set_expand_margin_size", + "getter": "get_expand_margin_size", + "index": 3 + }, + { + "type": "int", + "name": "axis_stretch_horizontal", + "setter": "set_h_axis_stretch_mode", + "getter": "get_h_axis_stretch_mode", + "index": -1 + }, + { + "type": "int", + "name": "axis_stretch_vertical", + "setter": "set_v_axis_stretch_mode", + "getter": "get_v_axis_stretch_mode", + "index": -1 + }, + { + "type": "Color", + "name": "modulate_color", + "setter": "set_modulate", + "getter": "get_modulate", + "index": -1 + }, + { + "type": "bool", + "name": "draw_center", + "setter": "set_draw_center", + "getter": "is_draw_center_enabled", + "index": -1 + } + ] + }, + { + "name": "SubViewport", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Viewport", + "api_type": "core", + "enums": [ + { + "name": "ClearMode", + "values": [ + { + "name": "CLEAR_MODE_ALWAYS", + "value": 0 + }, + { + "name": "CLEAR_MODE_NEVER", + "value": 1 + }, + { + "name": "CLEAR_MODE_ONCE", + "value": 2 + } + ] + }, + { + "name": "UpdateMode", + "values": [ + { + "name": "UPDATE_DISABLED", + "value": 0 + }, + { + "name": "UPDATE_ONCE", + "value": 1 + }, + { + "name": "UPDATE_WHEN_VISIBLE", + "value": 2 + }, + { + "name": "UPDATE_WHEN_PARENT_VISIBLE", + "value": 3 + }, + { + "name": "UPDATE_ALWAYS", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2i" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_size_2d_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2i" + } + ] + }, + { + "name": "get_size_2d_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_size_2d_override_stretch", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_size_2d_override_stretch_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_update_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::SubViewport.UpdateMode" + } + ] + }, + { + "name": "get_update_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::SubViewport.UpdateMode" + } + }, + { + "name": "set_clear_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::SubViewport.ClearMode" + } + ] + }, + { + "name": "get_clear_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::SubViewport.ClearMode" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + }, + { + "type": "Vector2", + "name": "size_2d_override", + "setter": "set_size_2d_override", + "getter": "get_size_2d_override", + "index": -1 + }, + { + "type": "bool", + "name": "size_2d_override_stretch", + "setter": "set_size_2d_override_stretch", + "getter": "is_size_2d_override_stretch_enabled", + "index": -1 + }, + { + "type": "int", + "name": "render_target_clear_mode", + "setter": "set_clear_mode", + "getter": "get_clear_mode", + "index": -1 + }, + { + "type": "int", + "name": "render_target_update_mode", + "setter": "set_update_mode", + "getter": "get_update_mode", + "index": -1 + } + ] + }, + { + "name": "SubViewportContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Container", + "api_type": "core", + "methods": [ + { + "name": "set_stretch", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_stretch_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_stretch_shrink", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_stretch_shrink", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "stretch", + "setter": "set_stretch", + "getter": "is_stretch_enabled", + "index": -1 + }, + { + "type": "int", + "name": "stretch_shrink", + "setter": "set_stretch_shrink", + "getter": "get_stretch_shrink", + "index": -1 + } + ] + }, + { + "name": "SurfaceTool", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "CustomFormat", + "values": [ + { + "name": "CUSTOM_RGBA8_UNORM", + "value": 0 + }, + { + "name": "CUSTOM_RGBA8_SNORM", + "value": 1 + }, + { + "name": "CUSTOM_RG_HALF", + "value": 2 + }, + { + "name": "CUSTOM_RGBA_HALF", + "value": 3 + }, + { + "name": "CUSTOM_R_FLOAT", + "value": 4 + }, + { + "name": "CUSTOM_RG_FLOAT", + "value": 5 + }, + { + "name": "CUSTOM_RGB_FLOAT", + "value": 6 + }, + { + "name": "CUSTOM_RGBA_FLOAT", + "value": 7 + }, + { + "name": "CUSTOM_MAX", + "value": 8 + } + ] + }, + { + "name": "SkinWeightCount", + "values": [ + { + "name": "SKIN_4_WEIGHTS", + "value": 0 + }, + { + "name": "SKIN_8_WEIGHTS", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_skin_weight_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "count", + "type": "enum::SurfaceTool.SkinWeightCount" + } + ] + }, + { + "name": "get_skin_weight_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::SurfaceTool.SkinWeightCount" + } + }, + { + "name": "set_custom_format", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "format", + "type": "enum::SurfaceTool.CustomFormat" + } + ] + }, + { + "name": "get_custom_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::SurfaceTool.CustomFormat" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "begin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "primitive", + "type": "enum::Mesh.PrimitiveType" + } + ] + }, + { + "name": "add_vertex", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "vertex", + "type": "Vector3" + } + ] + }, + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "set_normal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "normal", + "type": "Vector3" + } + ] + }, + { + "name": "set_tangent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tangent", + "type": "Plane" + } + ] + }, + { + "name": "set_uv", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "uv", + "type": "Vector2" + } + ] + }, + { + "name": "set_uv2", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "uv2", + "type": "Vector2" + } + ] + }, + { + "name": "set_bones", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bones", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "set_weights", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "weights", + "type": "PackedFloat32Array" + } + ] + }, + { + "name": "set_custom", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "custom", + "type": "Color" + } + ] + }, + { + "name": "set_smooth_group", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "add_triangle_fan", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1486656780, + "arguments": [ + { + "name": "vertices", + "type": "PackedVector3Array" + }, + { + "name": "uvs", + "type": "PackedVector2Array", + "default_value": "PackedVector2Array()" + }, + { + "name": "colors", + "type": "PackedColorArray", + "default_value": "PackedColorArray()" + }, + { + "name": "uv2s", + "type": "PackedVector2Array", + "default_value": "PackedVector2Array()" + }, + { + "name": "normals", + "type": "PackedVector3Array", + "default_value": "PackedVector3Array()" + }, + { + "name": "tangents", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "add_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "deindex", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "generate_normals", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "flip", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "generate_tangents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "optimize_indices_for_cache", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_max_axis_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "generate_lod", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "nd_threshold", + "type": "float", + "meta": "float" + }, + { + "name": "target_index_count", + "type": "int", + "meta": "int32", + "default_value": "3" + } + ] + }, + { + "name": "set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "Material" + } + ] + }, + { + "name": "get_primitive", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Mesh.PrimitiveType" + } + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "create_from", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "existing", + "type": "Mesh" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "create_from_blend_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "existing", + "type": "Mesh" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + }, + { + "name": "blend_shape", + "type": "String" + } + ] + }, + { + "name": "append_from", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "existing", + "type": "Mesh" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "commit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1434999914, + "return_value": { + "type": "ArrayMesh" + }, + "arguments": [ + { + "name": "existing", + "type": "ArrayMesh", + "default_value": "null" + }, + { + "name": "flags", + "type": "int", + "meta": "uint32", + "default_value": "0" + } + ] + }, + { + "name": "commit_to_arrays", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + } + ] + }, + { + "name": "SyntaxHighlighter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "_get_line_syntax_highlighting", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "line", + "type": "int" + } + ] + }, + { + "name": "_clear_highlighting_cache", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_update_cache", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "get_line_syntax_highlighting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "update_cache", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "clear_highlighting_cache", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_text_edit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "TextEdit" + } + } + ] + }, + { + "name": "TCPServer", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "listen", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "uint16" + }, + { + "name": "bind_address", + "type": "String", + "default_value": "\"*\"" + } + ] + }, + { + "name": "is_connection_available", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_listening", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_local_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "take_connection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "StreamPeerTCP" + } + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ] + }, + { + "name": "TabContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Container", + "api_type": "core", + "enums": [ + { + "name": "TabAlign", + "values": [ + { + "name": "ALIGN_LEFT", + "value": 0 + }, + { + "name": "ALIGN_CENTER", + "value": 1 + }, + { + "name": "ALIGN_RIGHT", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "get_tab_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_current_tab", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_current_tab", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_previous_tab", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_current_tab_control", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Control" + } + }, + { + "name": "get_tab_control", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Control" + }, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tab_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "align", + "type": "enum::TabContainer.TabAlign" + } + ] + }, + { + "name": "get_tab_align", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TabContainer.TabAlign" + } + }, + { + "name": "set_tabs_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "visible", + "type": "bool" + } + ] + }, + { + "name": "are_tabs_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_all_tabs_in_front", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "is_front", + "type": "bool" + } + ] + }, + { + "name": "is_all_tabs_in_front", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_tab_title", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "title", + "type": "String" + } + ] + }, + { + "name": "get_tab_title", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tab_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "icon", + "type": "Texture2D" + } + ] + }, + { + "name": "get_tab_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tab_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "get_tab_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_popup", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "popup", + "type": "Node" + } + ] + }, + { + "name": "get_popup", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Popup" + } + }, + { + "name": "set_drag_to_rearrange_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_drag_to_rearrange_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_tabs_rearrange_group", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "group_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_tabs_rearrange_group", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_use_hidden_tabs_for_min_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_use_hidden_tabs_for_min_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "pre_popup_pressed" + }, + { + "name": "tab_selected", + "arguments": [ + { + "name": "tab", + "type": "int" + } + ] + }, + { + "name": "tab_changed", + "arguments": [ + { + "name": "tab", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "tab_align", + "setter": "set_tab_align", + "getter": "get_tab_align", + "index": -1 + }, + { + "type": "int", + "name": "current_tab", + "setter": "set_current_tab", + "getter": "get_current_tab", + "index": -1 + }, + { + "type": "bool", + "name": "tabs_visible", + "setter": "set_tabs_visible", + "getter": "are_tabs_visible", + "index": -1 + }, + { + "type": "bool", + "name": "all_tabs_in_front", + "setter": "set_all_tabs_in_front", + "getter": "is_all_tabs_in_front", + "index": -1 + }, + { + "type": "bool", + "name": "drag_to_rearrange_enabled", + "setter": "set_drag_to_rearrange_enabled", + "getter": "get_drag_to_rearrange_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "use_hidden_tabs_for_min_size", + "setter": "set_use_hidden_tabs_for_min_size", + "getter": "get_use_hidden_tabs_for_min_size", + "index": -1 + } + ] + }, + { + "name": "Tabs", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "enums": [ + { + "name": "CloseButtonDisplayPolicy", + "values": [ + { + "name": "CLOSE_BUTTON_SHOW_NEVER", + "value": 0 + }, + { + "name": "CLOSE_BUTTON_SHOW_ACTIVE_ONLY", + "value": 1 + }, + { + "name": "CLOSE_BUTTON_SHOW_ALWAYS", + "value": 2 + }, + { + "name": "CLOSE_BUTTON_MAX", + "value": 3 + } + ] + }, + { + "name": "TabAlign", + "values": [ + { + "name": "ALIGN_LEFT", + "value": 0 + }, + { + "name": "ALIGN_CENTER", + "value": 1 + }, + { + "name": "ALIGN_RIGHT", + "value": 2 + }, + { + "name": "ALIGN_MAX", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "get_tab_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_current_tab", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_current_tab", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_previous_tab", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_tab_title", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "title", + "type": "String" + } + ] + }, + { + "name": "get_tab_title", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tab_text_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "get_tab_text_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Control.TextDirection" + }, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tab_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "tag", + "type": "String" + }, + { + "name": "values", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_tab_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_tab_opentype_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tab_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_tab_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tab_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "icon", + "type": "Texture2D" + } + ] + }, + { + "name": "get_tab_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tab_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "get_tab_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_tab", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_tab", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 530285939, + "arguments": [ + { + "name": "title", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "icon", + "type": "Texture2D", + "default_value": "null" + } + ] + }, + { + "name": "set_tab_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "align", + "type": "enum::Tabs.TabAlign" + } + ] + }, + { + "name": "get_tab_align", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Tabs.TabAlign" + } + }, + { + "name": "set_clip_tabs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "clip_tabs", + "type": "bool" + } + ] + }, + { + "name": "get_clip_tabs", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_tab_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_offset_buttons_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "ensure_tab_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_tab_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Rect2" + }, + "arguments": [ + { + "name": "tab_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "move_tab", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "from", + "type": "int", + "meta": "int32" + }, + { + "name": "to", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tab_close_display_policy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "policy", + "type": "enum::Tabs.CloseButtonDisplayPolicy" + } + ] + }, + { + "name": "get_tab_close_display_policy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Tabs.CloseButtonDisplayPolicy" + } + }, + { + "name": "set_scrolling_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_scrolling_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_drag_to_rearrange_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_drag_to_rearrange_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_tabs_rearrange_group", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "group_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_tabs_rearrange_group", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_select_with_rmb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_select_with_rmb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "tab_hovered", + "arguments": [ + { + "name": "tab", + "type": "int" + } + ] + }, + { + "name": "tab_clicked", + "arguments": [ + { + "name": "tab", + "type": "int" + } + ] + }, + { + "name": "reposition_active_tab_request", + "arguments": [ + { + "name": "idx_to", + "type": "int" + } + ] + }, + { + "name": "right_button_pressed", + "arguments": [ + { + "name": "tab", + "type": "int" + } + ] + }, + { + "name": "tab_closed", + "arguments": [ + { + "name": "tab", + "type": "int" + } + ] + }, + { + "name": "tab_changed", + "arguments": [ + { + "name": "tab", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "current_tab", + "setter": "set_current_tab", + "getter": "get_current_tab", + "index": -1 + }, + { + "type": "int", + "name": "tab_align", + "setter": "set_tab_align", + "getter": "get_tab_align", + "index": -1 + }, + { + "type": "bool", + "name": "clip_tabs", + "setter": "set_clip_tabs", + "getter": "get_clip_tabs", + "index": -1 + }, + { + "type": "int", + "name": "tab_close_display_policy", + "setter": "set_tab_close_display_policy", + "getter": "get_tab_close_display_policy", + "index": -1 + }, + { + "type": "bool", + "name": "scrolling_enabled", + "setter": "set_scrolling_enabled", + "getter": "get_scrolling_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "drag_to_rearrange_enabled", + "setter": "set_drag_to_rearrange_enabled", + "getter": "get_drag_to_rearrange_enabled", + "index": -1 + } + ] + }, + { + "name": "TextEdit", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "enums": [ + { + "name": "SelectionMode", + "values": [ + { + "name": "SELECTION_MODE_NONE", + "value": 0 + }, + { + "name": "SELECTION_MODE_SHIFT", + "value": 1 + }, + { + "name": "SELECTION_MODE_POINTER", + "value": 2 + }, + { + "name": "SELECTION_MODE_WORD", + "value": 3 + }, + { + "name": "SELECTION_MODE_LINE", + "value": 4 + } + ] + }, + { + "name": "SearchFlags", + "values": [ + { + "name": "SEARCH_MATCH_CASE", + "value": 1 + }, + { + "name": "SEARCH_WHOLE_WORDS", + "value": 2 + }, + { + "name": "SEARCH_BACKWARDS", + "value": 4 + } + ] + }, + { + "name": "GutterType", + "values": [ + { + "name": "GUTTER_TYPE_STRING", + "value": 0 + }, + { + "name": "GUTTER_TYPE_ICON", + "value": 1 + }, + { + "name": "GUTTER_TYPE_CUSTOM", + "value": 2 + } + ] + }, + { + "name": "MenuItems", + "values": [ + { + "name": "MENU_CUT", + "value": 0 + }, + { + "name": "MENU_COPY", + "value": 1 + }, + { + "name": "MENU_PASTE", + "value": 2 + }, + { + "name": "MENU_CLEAR", + "value": 3 + }, + { + "name": "MENU_SELECT_ALL", + "value": 4 + }, + { + "name": "MENU_UNDO", + "value": 5 + }, + { + "name": "MENU_REDO", + "value": 6 + }, + { + "name": "MENU_DIR_INHERITED", + "value": 7 + }, + { + "name": "MENU_DIR_AUTO", + "value": 8 + }, + { + "name": "MENU_DIR_LTR", + "value": 9 + }, + { + "name": "MENU_DIR_RTL", + "value": 10 + }, + { + "name": "MENU_DISPLAY_UCC", + "value": 11 + }, + { + "name": "MENU_INSERT_LRM", + "value": 12 + }, + { + "name": "MENU_INSERT_RLM", + "value": 13 + }, + { + "name": "MENU_INSERT_LRE", + "value": 14 + }, + { + "name": "MENU_INSERT_RLE", + "value": 15 + }, + { + "name": "MENU_INSERT_LRO", + "value": 16 + }, + { + "name": "MENU_INSERT_RLO", + "value": 17 + }, + { + "name": "MENU_INSERT_PDF", + "value": 18 + }, + { + "name": "MENU_INSERT_ALM", + "value": 19 + }, + { + "name": "MENU_INSERT_LRI", + "value": 20 + }, + { + "name": "MENU_INSERT_RLI", + "value": 21 + }, + { + "name": "MENU_INSERT_FSI", + "value": 22 + }, + { + "name": "MENU_INSERT_PDI", + "value": 23 + }, + { + "name": "MENU_INSERT_ZWJ", + "value": 24 + }, + { + "name": "MENU_INSERT_ZWNJ", + "value": 25 + }, + { + "name": "MENU_INSERT_WJ", + "value": 26 + }, + { + "name": "MENU_INSERT_SHY", + "value": 27 + }, + { + "name": "MENU_MAX", + "value": 28 + } + ] + } + ], + "methods": [ + { + "name": "_backspace", + "is_const": false, + "is_vararg": false, + "is_virtual": true + }, + { + "name": "_handle_unicode_input", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "unicode", + "type": "int" + } + ] + }, + { + "name": "get_draw_control_chars", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_draw_control_chars", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "set_text_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "get_text_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.TextDirection" + } + }, + { + "name": "set_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_opentype_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_first_non_whitespace_column", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_indent_level", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tab_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_tab_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "insert_text_at_cursor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_line_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "get_line", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_visible_line_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "new_text", + "type": "String" + } + ] + }, + { + "name": "set_structured_text_bidi_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "parser", + "type": "enum::Control.StructuredTextParser" + } + ] + }, + { + "name": "get_structured_text_bidi_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Control.StructuredTextParser" + } + }, + { + "name": "set_structured_text_bidi_override_options", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "args", + "type": "Array" + } + ] + }, + { + "name": "get_structured_text_bidi_override_options", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "center_viewport_to_cursor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "cursor_set_column", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "adjust_viewport", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "cursor_set_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3063695246, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "adjust_viewport", + "type": "bool", + "default_value": "true" + }, + { + "name": "can_be_hidden", + "type": "bool", + "default_value": "true" + }, + { + "name": "wrap_index", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "get_caret_draw_pos", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "is_caret_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "cursor_get_column", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "cursor_get_line", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "cursor_set_blink_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "cursor_get_blink_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "cursor_set_blink_speed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "blink_speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "cursor_get_blink_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "cursor_set_block_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "cursor_is_block_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_mid_grapheme_caret_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_mid_grapheme_caret_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_right_click_moves_caret", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_right_click_moving_caret", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_selection_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextEdit.SelectionMode" + } + }, + { + "name": "set_selection_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182666249, + "arguments": [ + { + "name": "mode", + "type": "enum::TextEdit.SelectionMode" + }, + { + "name": "line", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "column", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_selection_line", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_selection_column", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_readonly", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_readonly", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_wrap_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_wrap_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_context_menu_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_context_menu_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_shortcut_keys_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_shortcut_keys_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_virtual_keyboard_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_virtual_keyboard_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_selecting_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_selecting_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "delete_selection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "backspace", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "cut", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "copy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "paste", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "select", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "from_line", + "type": "int", + "meta": "int32" + }, + { + "name": "from_column", + "type": "int", + "meta": "int32" + }, + { + "name": "to_line", + "type": "int", + "meta": "int32" + }, + { + "name": "to_column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "select_all", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "deselect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_dragging_cursor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_selection_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_selection_from_line", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_selection_from_column", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_selection_to_line", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_selection_to_column", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_selection_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_word_under_cursor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "search", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135481931, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "key", + "type": "String" + }, + { + "name": "flags", + "type": "int", + "meta": "uint32" + }, + { + "name": "from_line", + "type": "int", + "meta": "int32" + }, + { + "name": "from_column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "undo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "redo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "clear_undo_history", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_draw_tabs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "bool" + } + ] + }, + { + "name": "is_drawing_tabs", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_draw_spaces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "bool" + } + ] + }, + { + "name": "is_drawing_spaces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_highlight_all_occurrences", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_highlight_all_occurrences_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_override_selected_font_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "override", + "type": "bool" + } + ] + }, + { + "name": "is_overriding_selected_font_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_syntax_highlighter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "syntax_highlighter", + "type": "SyntaxHighlighter" + } + ] + }, + { + "name": "get_syntax_highlighter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "SyntaxHighlighter" + } + }, + { + "name": "add_gutter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133277030, + "arguments": [ + { + "name": "at", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "remove_gutter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_gutter_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_gutter_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_gutter_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_gutter_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + }, + { + "name": "type", + "type": "enum::TextEdit.GutterType" + } + ] + }, + { + "name": "get_gutter_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::TextEdit.GutterType" + }, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_gutter_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + }, + { + "name": "width", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_gutter_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_gutter_draw", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + }, + { + "name": "draw", + "type": "bool" + } + ] + }, + { + "name": "is_gutter_drawn", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_gutter_clickable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + }, + { + "name": "clickable", + "type": "bool" + } + ] + }, + { + "name": "is_gutter_clickable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_gutter_overwritable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + }, + { + "name": "overwritable", + "type": "bool" + } + ] + }, + { + "name": "is_gutter_overwritable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "gutter", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "merge_gutters", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "from_line", + "type": "int", + "meta": "int32" + }, + { + "name": "to_line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_gutter_custom_draw", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "object", + "type": "Object" + }, + { + "name": "callback", + "type": "StringName" + } + ] + }, + { + "name": "get_total_gutter_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_line_gutter_metadata", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "gutter", + "type": "int", + "meta": "int32" + }, + { + "name": "metadata", + "type": "Variant" + } + ] + }, + { + "name": "get_line_gutter_metadata", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "gutter", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_line_gutter_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "gutter", + "type": "int", + "meta": "int32" + }, + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_line_gutter_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "gutter", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_line_gutter_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "gutter", + "type": "int", + "meta": "int32" + }, + { + "name": "icon", + "type": "Texture2D" + } + ] + }, + { + "name": "get_line_gutter_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "gutter", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_line_gutter_item_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "gutter", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_line_gutter_item_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "gutter", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_line_gutter_clickable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "gutter", + "type": "int", + "meta": "int32" + }, + { + "name": "clickable", + "type": "bool" + } + ] + }, + { + "name": "is_line_gutter_clickable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "gutter", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_line_background_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_line_background_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_highlight_current_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_highlight_current_line_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_smooth_scroll_enable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_smooth_scroll_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_v_scroll_speed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_v_scroll_speed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_v_scroll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "get_v_scroll", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "set_h_scroll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_h_scroll", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "menu_option", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "option", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_menu", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PopupMenu" + } + }, + { + "name": "is_menu_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "draw_minimap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "draw", + "type": "bool" + } + ] + }, + { + "name": "is_drawing_minimap", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_minimap_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_minimap_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "signals": [ + { + "name": "gutter_removed" + }, + { + "name": "gutter_added" + }, + { + "name": "lines_edited_from", + "arguments": [ + { + "name": "from_line", + "type": "int" + }, + { + "name": "to_line", + "type": "int" + } + ] + }, + { + "name": "text_changed" + }, + { + "name": "cursor_changed" + }, + { + "name": "gutter_clicked", + "arguments": [ + { + "name": "line", + "type": "int" + }, + { + "name": "gutter", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "text", + "setter": "set_text", + "getter": "get_text", + "index": -1 + }, + { + "type": "int", + "name": "text_direction", + "setter": "set_text_direction", + "getter": "get_text_direction", + "index": -1 + }, + { + "type": "String", + "name": "language", + "setter": "set_language", + "getter": "get_language", + "index": -1 + }, + { + "type": "bool", + "name": "draw_control_chars", + "setter": "set_draw_control_chars", + "getter": "get_draw_control_chars", + "index": -1 + }, + { + "type": "bool", + "name": "readonly", + "setter": "set_readonly", + "getter": "is_readonly", + "index": -1 + }, + { + "type": "bool", + "name": "highlight_current_line", + "setter": "set_highlight_current_line", + "getter": "is_highlight_current_line_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "draw_tabs", + "setter": "set_draw_tabs", + "getter": "is_drawing_tabs", + "index": -1 + }, + { + "type": "bool", + "name": "draw_spaces", + "setter": "set_draw_spaces", + "getter": "is_drawing_spaces", + "index": -1 + }, + { + "type": "bool", + "name": "highlight_all_occurrences", + "setter": "set_highlight_all_occurrences", + "getter": "is_highlight_all_occurrences_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "override_selected_font_color", + "setter": "set_override_selected_font_color", + "getter": "is_overriding_selected_font_color", + "index": -1 + }, + { + "type": "bool", + "name": "context_menu_enabled", + "setter": "set_context_menu_enabled", + "getter": "is_context_menu_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "shortcut_keys_enabled", + "setter": "set_shortcut_keys_enabled", + "getter": "is_shortcut_keys_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "virtual_keyboard_enabled", + "setter": "set_virtual_keyboard_enabled", + "getter": "is_virtual_keyboard_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "selecting_enabled", + "setter": "set_selecting_enabled", + "getter": "is_selecting_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "smooth_scrolling", + "setter": "set_smooth_scroll_enable", + "getter": "is_smooth_scroll_enabled", + "index": -1 + }, + { + "type": "float", + "name": "v_scroll_speed", + "setter": "set_v_scroll_speed", + "getter": "get_v_scroll_speed", + "index": -1 + }, + { + "type": "bool", + "name": "wrap_enabled", + "setter": "set_wrap_enabled", + "getter": "is_wrap_enabled", + "index": -1 + }, + { + "type": "float", + "name": "scroll_vertical", + "setter": "set_v_scroll", + "getter": "get_v_scroll", + "index": -1 + }, + { + "type": "int", + "name": "scroll_horizontal", + "setter": "set_h_scroll", + "getter": "get_h_scroll", + "index": -1 + }, + { + "type": "SyntaxHighlighter", + "name": "syntax_highlighter", + "setter": "set_syntax_highlighter", + "getter": "get_syntax_highlighter", + "index": -1 + }, + { + "type": "bool", + "name": "minimap_draw", + "setter": "draw_minimap", + "getter": "is_drawing_minimap", + "index": -1 + }, + { + "type": "int", + "name": "minimap_width", + "setter": "set_minimap_width", + "getter": "get_minimap_width", + "index": -1 + }, + { + "type": "bool", + "name": "caret_block_mode", + "setter": "cursor_set_block_mode", + "getter": "cursor_is_block_mode", + "index": -1 + }, + { + "type": "bool", + "name": "caret_blink", + "setter": "cursor_set_blink_enabled", + "getter": "cursor_get_blink_enabled", + "index": -1 + }, + { + "type": "float", + "name": "caret_blink_speed", + "setter": "cursor_set_blink_speed", + "getter": "cursor_get_blink_speed", + "index": -1 + }, + { + "type": "bool", + "name": "caret_moving_by_right_click", + "setter": "set_right_click_moves_caret", + "getter": "is_right_click_moving_caret", + "index": -1 + }, + { + "type": "bool", + "name": "caret_mid_grapheme", + "setter": "set_mid_grapheme_caret_enabled", + "getter": "get_mid_grapheme_caret_enabled", + "index": -1 + }, + { + "type": "int", + "name": "structured_text_bidi_override", + "setter": "set_structured_text_bidi_override", + "getter": "get_structured_text_bidi_override", + "index": -1 + }, + { + "type": "Array", + "name": "structured_text_bidi_override_options", + "setter": "set_structured_text_bidi_override_options", + "getter": "get_structured_text_bidi_override_options", + "index": -1 + } + ] + }, + { + "name": "TextFile", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core" + }, + { + "name": "TextLine", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::TextServer.Direction" + } + ] + }, + { + "name": "get_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextServer.Direction" + } + }, + { + "name": "set_orientation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "orientation", + "type": "enum::TextServer.Orientation" + } + ] + }, + { + "name": "get_orientation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextServer.Orientation" + } + }, + { + "name": "set_preserve_invalid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_preserve_invalid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_preserve_control", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_preserve_control", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_bidi_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "override", + "type": "Array" + } + ] + }, + { + "name": "add_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1552406093, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "text", + "type": "String" + }, + { + "name": "fonts", + "type": "Font" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "opentype_features", + "type": "Dictionary", + "default_value": "{\n}" + }, + { + "name": "language", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "add_object", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1513270700, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "key", + "type": "Variant" + }, + { + "name": "size", + "type": "Vector2" + }, + { + "name": "inline_align", + "type": "enum::VAlign", + "default_value": "1" + }, + { + "name": "length", + "type": "int", + "meta": "int32", + "default_value": "1" + } + ] + }, + { + "name": "resize_object", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "key", + "type": "Variant" + }, + { + "name": "size", + "type": "Vector2" + }, + { + "name": "inline_align", + "type": "enum::VAlign", + "default_value": "1" + } + ] + }, + { + "name": "set_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "align", + "type": "enum::HAlign" + } + ] + }, + { + "name": "get_align", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::HAlign" + } + }, + { + "name": "tab_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tab_stops", + "type": "PackedFloat32Array" + } + ] + }, + { + "name": "set_flags", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flags", + "type": "int", + "meta": "uint8" + } + ] + }, + { + "name": "get_flags", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint8" + } + }, + { + "name": "get_objects", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_object_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Rect2" + }, + "arguments": [ + { + "name": "key", + "type": "Variant" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_line_ascent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_line_descent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_line_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_line_underline_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_line_underline_thickness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "draw", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135649994, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "draw_outline", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 221802764, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32", + "default_value": "1" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "hit_test", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "coords", + "type": "float", + "meta": "float" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "direction", + "setter": "set_direction", + "getter": "get_direction", + "index": -1 + }, + { + "type": "int", + "name": "orientation", + "setter": "set_orientation", + "getter": "get_orientation", + "index": -1 + }, + { + "type": "bool", + "name": "preserve_invalid", + "setter": "set_preserve_invalid", + "getter": "get_preserve_invalid", + "index": -1 + }, + { + "type": "bool", + "name": "preserve_control", + "setter": "set_preserve_control", + "getter": "get_preserve_control", + "index": -1 + }, + { + "type": "float", + "name": "width", + "setter": "set_width", + "getter": "get_width", + "index": -1 + }, + { + "type": "int", + "name": "align", + "setter": "set_align", + "getter": "get_align", + "index": -1 + }, + { + "type": "int", + "name": "flags", + "setter": "set_flags", + "getter": "get_flags", + "index": -1 + } + ] + }, + { + "name": "TextParagraph", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::TextServer.Direction" + } + ] + }, + { + "name": "get_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextServer.Direction" + } + }, + { + "name": "set_orientation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "orientation", + "type": "enum::TextServer.Orientation" + } + ] + }, + { + "name": "get_orientation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextServer.Orientation" + } + }, + { + "name": "set_preserve_invalid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_preserve_invalid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_preserve_control", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_preserve_control", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_bidi_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "override", + "type": "Array" + } + ] + }, + { + "name": "set_dropcap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1020396879, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "text", + "type": "String" + }, + { + "name": "fonts", + "type": "Font" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "dropcap_margins", + "type": "Rect2", + "default_value": "Rect2(0, 0, 0, 0)" + }, + { + "name": "opentype_features", + "type": "Dictionary", + "default_value": "{\n}" + }, + { + "name": "language", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "clear_dropcap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "add_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1552406093, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "text", + "type": "String" + }, + { + "name": "fonts", + "type": "Font" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "opentype_features", + "type": "Dictionary", + "default_value": "{\n}" + }, + { + "name": "language", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "add_object", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1513270700, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "key", + "type": "Variant" + }, + { + "name": "size", + "type": "Vector2" + }, + { + "name": "inline_align", + "type": "enum::VAlign", + "default_value": "1" + }, + { + "name": "length", + "type": "int", + "meta": "int32", + "default_value": "1" + } + ] + }, + { + "name": "resize_object", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "key", + "type": "Variant" + }, + { + "name": "size", + "type": "Vector2" + }, + { + "name": "inline_align", + "type": "enum::VAlign", + "default_value": "1" + } + ] + }, + { + "name": "set_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "align", + "type": "enum::HAlign" + } + ] + }, + { + "name": "get_align", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::HAlign" + } + }, + { + "name": "tab_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tab_stops", + "type": "PackedFloat32Array" + } + ] + }, + { + "name": "set_flags", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flags", + "type": "int", + "meta": "uint8" + } + ] + }, + { + "name": "get_flags", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint8" + } + }, + { + "name": "set_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_non_wraped_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_line_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_dropcap_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_line_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_line_objects", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_line_object_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Rect2" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "key", + "type": "Variant" + } + ] + }, + { + "name": "get_line_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_line_range", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_line_ascent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_line_descent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_line_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_line_underline_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_line_underline_thickness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_spacing_top", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_spacing_bottom", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_dropcap_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_dropcap_lines", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "draw", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 221802764, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "dc_color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "draw_outline", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 60160015, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32", + "default_value": "1" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "dc_color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "draw_line", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 136835915, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "draw_line_outline", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 260938157, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32", + "default_value": "1" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "draw_dropcap", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135649994, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "draw_dropcap_outline", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 221802764, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32", + "default_value": "1" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "hit_test", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "coords", + "type": "Vector2" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "direction", + "setter": "set_direction", + "getter": "get_direction", + "index": -1 + }, + { + "type": "int", + "name": "orientation", + "setter": "set_orientation", + "getter": "get_orientation", + "index": -1 + }, + { + "type": "bool", + "name": "preserve_invalid", + "setter": "set_preserve_invalid", + "getter": "get_preserve_invalid", + "index": -1 + }, + { + "type": "bool", + "name": "preserve_control", + "setter": "set_preserve_control", + "getter": "get_preserve_control", + "index": -1 + }, + { + "type": "int", + "name": "align", + "setter": "set_align", + "getter": "get_align", + "index": -1 + }, + { + "type": "int", + "name": "flags", + "setter": "set_flags", + "getter": "get_flags", + "index": -1 + }, + { + "type": "float", + "name": "width", + "setter": "set_width", + "getter": "get_width", + "index": -1 + } + ] + }, + { + "name": "TextServer", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "GraphemeFlag", + "values": [ + { + "name": "GRAPHEME_IS_RTL", + "value": 2 + }, + { + "name": "GRAPHEME_IS_VIRTUAL", + "value": 4 + }, + { + "name": "GRAPHEME_IS_SPACE", + "value": 8 + }, + { + "name": "GRAPHEME_IS_BREAK_HARD", + "value": 16 + }, + { + "name": "GRAPHEME_IS_BREAK_SOFT", + "value": 32 + }, + { + "name": "GRAPHEME_IS_TAB", + "value": 64 + }, + { + "name": "GRAPHEME_IS_ELONGATION", + "value": 128 + }, + { + "name": "GRAPHEME_IS_PUNCTUATION", + "value": 256 + } + ] + }, + { + "name": "Feature", + "values": [ + { + "name": "FEATURE_BIDI_LAYOUT", + "value": 1 + }, + { + "name": "FEATURE_VERTICAL_LAYOUT", + "value": 2 + }, + { + "name": "FEATURE_SHAPING", + "value": 4 + }, + { + "name": "FEATURE_KASHIDA_JUSTIFICATION", + "value": 8 + }, + { + "name": "FEATURE_BREAK_ITERATORS", + "value": 16 + }, + { + "name": "FEATURE_FONT_SYSTEM", + "value": 32 + }, + { + "name": "FEATURE_FONT_VARIABLE", + "value": 64 + }, + { + "name": "FEATURE_USE_SUPPORT_DATA", + "value": 128 + } + ] + }, + { + "name": "Orientation", + "values": [ + { + "name": "ORIENTATION_HORIZONTAL", + "value": 0 + }, + { + "name": "ORIENTATION_VERTICAL", + "value": 1 + } + ] + }, + { + "name": "JustificationFlag", + "values": [ + { + "name": "JUSTIFICATION_NONE", + "value": 0 + }, + { + "name": "JUSTIFICATION_KASHIDA", + "value": 1 + }, + { + "name": "JUSTIFICATION_WORD_BOUND", + "value": 2 + }, + { + "name": "JUSTIFICATION_TRIM_EDGE_SPACES", + "value": 4 + }, + { + "name": "JUSTIFICATION_AFTER_LAST_TAB", + "value": 8 + } + ] + }, + { + "name": "LineBreakFlag", + "values": [ + { + "name": "BREAK_NONE", + "value": 0 + }, + { + "name": "BREAK_MANDATORY", + "value": 16 + }, + { + "name": "BREAK_WORD_BOUND", + "value": 32 + }, + { + "name": "BREAK_GRAPHEME_BOUND", + "value": 64 + } + ] + }, + { + "name": "ContourPointTag", + "values": [ + { + "name": "CONTOUR_CURVE_TAG_ON", + "value": 1 + }, + { + "name": "CONTOUR_CURVE_TAG_OFF_CONIC", + "value": 0 + }, + { + "name": "CONTOUR_CURVE_TAG_OFF_CUBIC", + "value": 2 + } + ] + }, + { + "name": "TextOverrunFlag", + "values": [ + { + "name": "OVERRUN_NO_TRIMMING", + "value": 0 + }, + { + "name": "OVERRUN_TRIM", + "value": 1 + }, + { + "name": "OVERRUN_TRIM_WORD_ONLY", + "value": 2 + }, + { + "name": "OVERRUN_ADD_ELLIPSIS", + "value": 4 + }, + { + "name": "OVERRUN_ENFORCE_ELLIPSIS", + "value": 8 + } + ] + }, + { + "name": "Hinting", + "values": [ + { + "name": "HINTING_NONE", + "value": 0 + }, + { + "name": "HINTING_LIGHT", + "value": 1 + }, + { + "name": "HINTING_NORMAL", + "value": 2 + } + ] + }, + { + "name": "Direction", + "values": [ + { + "name": "DIRECTION_AUTO", + "value": 0 + }, + { + "name": "DIRECTION_LTR", + "value": 1 + }, + { + "name": "DIRECTION_RTL", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "has_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "feature", + "type": "enum::TextServer.Feature" + } + ] + }, + { + "name": "get_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "load_support_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "filename", + "type": "String" + } + ] + }, + { + "name": "is_locale_right_to_left", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "locale", + "type": "String" + } + ] + }, + { + "name": "name_to_tag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "tag_to_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "tag", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "free_rid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "create_font_system", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "base_size", + "type": "int", + "meta": "int32", + "default_value": "16" + } + ] + }, + { + "name": "create_font_resource", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "filename", + "type": "String" + }, + { + "name": "base_size", + "type": "int", + "meta": "int32", + "default_value": "16" + } + ] + }, + { + "name": "create_font_memory", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "data", + "type": "PackedByteArray" + }, + { + "name": "type", + "type": "String" + }, + { + "name": "base_size", + "type": "int", + "meta": "int32", + "default_value": "16" + } + ] + }, + { + "name": "create_font_bitmap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "height", + "type": "float", + "meta": "float" + }, + { + "name": "ascent", + "type": "float", + "meta": "float" + }, + { + "name": "base_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "font_bitmap_add_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "texture", + "type": "Texture" + } + ] + }, + { + "name": "font_bitmap_add_char", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134367851, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "char", + "type": "int" + }, + { + "name": "texture_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "align", + "type": "Vector2" + }, + { + "name": "advance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "font_bitmap_add_kerning_pair", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "A", + "type": "int" + }, + { + "name": "B", + "type": "int" + }, + { + "name": "kerning", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "font_get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "font_get_ascent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "font_get_descent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "font_get_underline_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "font_get_underline_thickness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "font_get_spacing_space", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_set_spacing_space", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "font_get_spacing_glyph", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_set_spacing_glyph", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "font_set_antialiased", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "antialiased", + "type": "bool" + } + ] + }, + { + "name": "font_get_antialiased", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_get_feature_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_get_variation_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_set_variation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "font_get_variation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "double" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "font_set_hinting", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "hinting", + "type": "enum::TextServer.Hinting" + } + ] + }, + { + "name": "font_get_hinting", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::TextServer.Hinting" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_set_distance_field_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "distance_field", + "type": "bool" + } + ] + }, + { + "name": "font_get_distance_field_hint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_set_force_autohinter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "enabeld", + "type": "bool" + } + ] + }, + { + "name": "font_get_force_autohinter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_has_char", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "char", + "type": "int" + } + ] + }, + { + "name": "font_get_supported_chars", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_has_outline", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_get_base_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_is_language_supported", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "font_set_language_support_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "language", + "type": "String" + }, + { + "name": "supported", + "type": "bool" + } + ] + }, + { + "name": "font_get_language_support_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "font_remove_language_support_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "font_get_language_support_overrides", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_is_script_supported", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "script", + "type": "String" + } + ] + }, + { + "name": "font_set_script_support_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "script", + "type": "String" + }, + { + "name": "supported", + "type": "bool" + } + ] + }, + { + "name": "font_get_script_support_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "script", + "type": "String" + } + ] + }, + { + "name": "font_remove_script_support_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "script", + "type": "String" + } + ] + }, + { + "name": "font_get_script_support_overrides", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + } + ] + }, + { + "name": "font_get_glyph_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 174785387, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "char", + "type": "int" + }, + { + "name": "variation_selector", + "type": "int", + "default_value": "0" + } + ] + }, + { + "name": "font_get_glyph_advance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "uint32" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "font_get_glyph_kerning", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135481931, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "index_a", + "type": "int", + "meta": "uint32" + }, + { + "name": "index_b", + "type": "int", + "meta": "uint32" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "font_draw_glyph", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 178343150, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "canvas", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "index", + "type": "int", + "meta": "uint32" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "font_draw_glyph_outline", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 179529071, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "canvas", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "index", + "type": "int", + "meta": "uint32" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "font_get_oversampling", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "font_set_oversampling", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "oversampling", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_system_fonts", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "get_hex_code_box_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "index", + "type": "int" + } + ] + }, + { + "name": "draw_hex_code_box", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134331947, + "arguments": [ + { + "name": "canvas", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "index", + "type": "int" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "font_get_glyph_contours", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "font", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "index", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "create_shaped_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1434999914, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "direction", + "type": "enum::TextServer.Direction", + "default_value": "0" + }, + { + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" + } + ] + }, + { + "name": "shaped_text_clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rid", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_set_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", + "default_value": "0" + } + ] + }, + { + "name": "shaped_text_get_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::TextServer.Direction" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_set_bidi_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "override", + "type": "Array" + } + ] + }, + { + "name": "shaped_text_set_orientation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" + } + ] + }, + { + "name": "shaped_text_get_orientation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::TextServer.Orientation" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_set_preserve_invalid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "shaped_text_get_preserve_invalid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_set_preserve_control", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "shaped_text_get_preserve_control", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_add_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1591541486, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "text", + "type": "String" + }, + { + "name": "fonts", + "type": "Array" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + }, + { + "name": "opentype_features", + "type": "Dictionary", + "default_value": "{\n}" + }, + { + "name": "language", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "shaped_text_add_object", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1552406093, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "key", + "type": "Variant" + }, + { + "name": "size", + "type": "Vector2" + }, + { + "name": "inline_align", + "type": "enum::VAlign", + "default_value": "1" + }, + { + "name": "length", + "type": "int", + "meta": "int32", + "default_value": "1" + } + ] + }, + { + "name": "shaped_text_resize_object", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 175971275, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "key", + "type": "Variant" + }, + { + "name": "size", + "type": "Vector2" + }, + { + "name": "inline_align", + "type": "enum::VAlign", + "default_value": "1" + } + ] + }, + { + "name": "shaped_text_substr", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "start", + "type": "int", + "meta": "int32" + }, + { + "name": "length", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "shaped_text_get_parent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_fit_to_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "width", + "type": "float", + "meta": "float" + }, + { + "name": "jst_flags", + "type": "int", + "meta": "uint8", + "default_value": "3" + } + ] + }, + { + "name": "shaped_text_tab_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "tab_stops", + "type": "PackedFloat32Array" + } + ] + }, + { + "name": "shaped_text_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_is_ready", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_get_glyphs", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_get_range", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_get_line_breaks_adv", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 4023896239, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "width", + "type": "PackedFloat32Array" + }, + { + "name": "start", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "once", + "type": "bool", + "default_value": "true" + }, + { + "name": "break_flags", + "type": "int", + "meta": "uint8", + "default_value": "48" + } + ] + }, + { + "name": "shaped_text_get_line_breaks", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1513270733, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "width", + "type": "float", + "meta": "float" + }, + { + "name": "start", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "break_flags", + "type": "int", + "meta": "uint8", + "default_value": "48" + } + ] + }, + { + "name": "shaped_text_get_word_breaks", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_overrun_trim_to_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182667338, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "0" + }, + { + "name": "overrun_trim_flags", + "type": "int", + "meta": "uint8", + "default_value": "0" + } + ] + }, + { + "name": "shaped_text_get_objects", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_get_object_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Rect2" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "key", + "type": "Variant" + } + ] + }, + { + "name": "shaped_text_get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_get_ascent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_get_descent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_get_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_get_underline_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_get_underline_thickness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_text_get_carets", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "position", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "shaped_text_get_selection", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "start", + "type": "int", + "meta": "int32" + }, + { + "name": "end", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "shaped_text_hit_test_grapheme", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "coords", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "shaped_text_hit_test_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "coords", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "shaped_text_next_grapheme_pos", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "pos", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "shaped_text_prev_grapheme_pos", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "pos", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "shaped_text_draw", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1351626895, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "canvas", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "clip_l", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "clip_r", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "shaped_text_draw_outline", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 2614250416, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "canvas", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "clip_l", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "clip_r", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "outline_size", + "type": "int", + "meta": "int32", + "default_value": "1" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "shaped_text_get_dominant_direciton_in_range", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "enum::TextServer.Direction" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "start", + "type": "int", + "meta": "int32" + }, + { + "name": "end", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "format_number", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "number", + "type": "String" + }, + { + "name": "language", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "parse_number", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "number", + "type": "String" + }, + { + "name": "language", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "percent_sign", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 178273454, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "language", + "type": "String", + "default_value": "\"\"" + } + ] + } + ] + }, + { + "name": "TextServerAdvanced", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "TextServer", + "api_type": "core" + }, + { + "name": "TextServerManager", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "get_interface_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_interface_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_interface_features", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_interface", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "TextServer" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_interfaces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "find_interface", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "TextServer" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_primary_interface", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_primary_interface", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "TextServer" + } + } + ] + }, + { + "name": "Texture", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core" + }, + { + "name": "Texture2D", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Texture", + "api_type": "core", + "methods": [ + { + "name": "get_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "has_alpha", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "draw", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 221802764, + "arguments": [ + { + "name": "canvas_item", + "type": "RID" + }, + { + "name": "position", + "type": "Vector2" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "transpose", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "draw_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 260938157, + "arguments": [ + { + "name": "canvas_item", + "type": "RID" + }, + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "tile", + "type": "bool" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "transpose", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "draw_rect_region", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1351626895, + "arguments": [ + { + "name": "canvas_item", + "type": "RID" + }, + { + "name": "rect", + "type": "Rect2" + }, + { + "name": "src_rect", + "type": "Rect2" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "transpose", + "type": "bool", + "default_value": "false" + }, + { + "name": "clip_uv", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "get_image", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Image" + } + } + ] + }, + { + "name": "Texture2DArray", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "ImageTextureLayered", + "api_type": "core" + }, + { + "name": "Texture3D", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Texture", + "api_type": "core", + "methods": [ + { + "name": "get_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Image.Format" + } + }, + { + "name": "get_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_depth", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "has_mipmaps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + } + ] + }, + { + "name": "TextureButton", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "BaseButton", + "api_type": "core", + "enums": [ + { + "name": "StretchMode", + "values": [ + { + "name": "STRETCH_SCALE", + "value": 0 + }, + { + "name": "STRETCH_TILE", + "value": 1 + }, + { + "name": "STRETCH_KEEP", + "value": 2 + }, + { + "name": "STRETCH_KEEP_CENTERED", + "value": 3 + }, + { + "name": "STRETCH_KEEP_ASPECT", + "value": 4 + }, + { + "name": "STRETCH_KEEP_ASPECT_CENTERED", + "value": 5 + }, + { + "name": "STRETCH_KEEP_ASPECT_COVERED", + "value": 6 + } + ] + } + ], + "methods": [ + { + "name": "set_normal_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "set_pressed_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "set_hover_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "set_disabled_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "set_focused_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "set_click_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "BitMap" + } + ] + }, + { + "name": "set_expand", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "expand", + "type": "bool" + } + ] + }, + { + "name": "set_stretch_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::TextureButton.StretchMode" + } + ] + }, + { + "name": "set_flip_h", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_flipped_h", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_flip_v", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_flipped_v", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_normal_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "get_pressed_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "get_hover_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "get_disabled_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "get_focused_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "get_click_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "BitMap" + } + }, + { + "name": "get_expand", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_stretch_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextureButton.StretchMode" + } + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "texture_normal", + "setter": "set_normal_texture", + "getter": "get_normal_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture_pressed", + "setter": "set_pressed_texture", + "getter": "get_pressed_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture_hover", + "setter": "set_hover_texture", + "getter": "get_hover_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture_disabled", + "setter": "set_disabled_texture", + "getter": "get_disabled_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture_focused", + "setter": "set_focused_texture", + "getter": "get_focused_texture", + "index": -1 + }, + { + "type": "BitMap", + "name": "texture_click_mask", + "setter": "set_click_mask", + "getter": "get_click_mask", + "index": -1 + }, + { + "type": "bool", + "name": "expand", + "setter": "set_expand", + "getter": "get_expand", + "index": -1 + }, + { + "type": "int", + "name": "stretch_mode", + "setter": "set_stretch_mode", + "getter": "get_stretch_mode", + "index": -1 + }, + { + "type": "bool", + "name": "flip_h", + "setter": "set_flip_h", + "getter": "is_flipped_h", + "index": -1 + }, + { + "type": "bool", + "name": "flip_v", + "setter": "set_flip_v", + "getter": "is_flipped_v", + "index": -1 + } + ] + }, + { + "name": "TextureLayered", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Texture", + "api_type": "core", + "enums": [ + { + "name": "LayeredType", + "values": [ + { + "name": "LAYERED_TYPE_2D_ARRAY", + "value": 0 + }, + { + "name": "LAYERED_TYPE_CUBEMAP", + "value": 1 + }, + { + "name": "LAYERED_TYPE_CUBEMAP_ARRAY", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "get_format", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Image.Format" + } + }, + { + "name": "get_layered_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextureLayered.LayeredType" + } + }, + { + "name": "get_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_layers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "has_mipmaps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_layer_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Image" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + } + ] + }, + { + "name": "TextureProgressBar", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Range", + "api_type": "core", + "enums": [ + { + "name": "FillMode", + "values": [ + { + "name": "FILL_LEFT_TO_RIGHT", + "value": 0 + }, + { + "name": "FILL_RIGHT_TO_LEFT", + "value": 1 + }, + { + "name": "FILL_TOP_TO_BOTTOM", + "value": 2 + }, + { + "name": "FILL_BOTTOM_TO_TOP", + "value": 3 + }, + { + "name": "FILL_CLOCKWISE", + "value": 4 + }, + { + "name": "FILL_COUNTER_CLOCKWISE", + "value": 5 + }, + { + "name": "FILL_BILINEAR_LEFT_AND_RIGHT", + "value": 6 + }, + { + "name": "FILL_BILINEAR_TOP_AND_BOTTOM", + "value": 7 + }, + { + "name": "FILL_CLOCKWISE_AND_COUNTER_CLOCKWISE", + "value": 8 + } + ] + } + ], + "methods": [ + { + "name": "set_under_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tex", + "type": "Texture2D" + } + ] + }, + { + "name": "get_under_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_progress_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tex", + "type": "Texture2D" + } + ] + }, + { + "name": "get_progress_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_over_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tex", + "type": "Texture2D" + } + ] + }, + { + "name": "get_over_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_fill_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_fill_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_tint_under", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tint", + "type": "Color" + } + ] + }, + { + "name": "get_tint_under", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_tint_progress", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tint", + "type": "Color" + } + ] + }, + { + "name": "get_tint_progress", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_tint_over", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tint", + "type": "Color" + } + ] + }, + { + "name": "get_tint_over", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_radial_initial_angle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radial_initial_angle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_radial_center_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "Vector2" + } + ] + }, + { + "name": "get_radial_center_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_fill_degrees", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fill_degrees", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_stretch_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_stretch_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "margin", + "type": "enum::Side" + } + ] + }, + { + "name": "set_nine_patch_stretch", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "stretch", + "type": "bool" + } + ] + }, + { + "name": "get_nine_patch_stretch", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "texture_under", + "setter": "set_under_texture", + "getter": "get_under_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture_over", + "setter": "set_over_texture", + "getter": "get_over_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture_progress", + "setter": "set_progress_texture", + "getter": "get_progress_texture", + "index": -1 + }, + { + "type": "int", + "name": "fill_mode", + "setter": "set_fill_mode", + "getter": "get_fill_mode", + "index": -1 + }, + { + "type": "Color", + "name": "tint_under", + "setter": "set_tint_under", + "getter": "get_tint_under", + "index": -1 + }, + { + "type": "Color", + "name": "tint_over", + "setter": "set_tint_over", + "getter": "get_tint_over", + "index": -1 + }, + { + "type": "Color", + "name": "tint_progress", + "setter": "set_tint_progress", + "getter": "get_tint_progress", + "index": -1 + }, + { + "type": "float", + "name": "radial_initial_angle", + "setter": "set_radial_initial_angle", + "getter": "get_radial_initial_angle", + "index": -1 + }, + { + "type": "float", + "name": "radial_fill_degrees", + "setter": "set_fill_degrees", + "getter": "get_fill_degrees", + "index": -1 + }, + { + "type": "Vector2", + "name": "radial_center_offset", + "setter": "set_radial_center_offset", + "getter": "get_radial_center_offset", + "index": -1 + }, + { + "type": "bool", + "name": "nine_patch_stretch", + "setter": "set_nine_patch_stretch", + "getter": "get_nine_patch_stretch", + "index": -1 + }, + { + "type": "int", + "name": "stretch_margin_left", + "setter": "set_stretch_margin", + "getter": "get_stretch_margin", + "index": 0 + }, + { + "type": "int", + "name": "stretch_margin_top", + "setter": "set_stretch_margin", + "getter": "get_stretch_margin", + "index": 1 + }, + { + "type": "int", + "name": "stretch_margin_right", + "setter": "set_stretch_margin", + "getter": "get_stretch_margin", + "index": 2 + }, + { + "type": "int", + "name": "stretch_margin_bottom", + "setter": "set_stretch_margin", + "getter": "get_stretch_margin", + "index": 3 + } + ] + }, + { + "name": "TextureRect", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "enums": [ + { + "name": "StretchMode", + "values": [ + { + "name": "STRETCH_SCALE_ON_EXPAND", + "value": 0 + }, + { + "name": "STRETCH_SCALE", + "value": 1 + }, + { + "name": "STRETCH_TILE", + "value": 2 + }, + { + "name": "STRETCH_KEEP", + "value": 3 + }, + { + "name": "STRETCH_KEEP_CENTERED", + "value": 4 + }, + { + "name": "STRETCH_KEEP_ASPECT", + "value": 5 + }, + { + "name": "STRETCH_KEEP_ASPECT_CENTERED", + "value": 6 + }, + { + "name": "STRETCH_KEEP_ASPECT_COVERED", + "value": 7 + } + ] + } + ], + "methods": [ + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_expand", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "has_expand", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_flip_h", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_flipped_h", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_flip_v", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_flipped_v", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_stretch_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "stretch_mode", + "type": "enum::TextureRect.StretchMode" + } + ] + }, + { + "name": "get_stretch_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextureRect.StretchMode" + } + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "bool", + "name": "expand", + "setter": "set_expand", + "getter": "has_expand", + "index": -1 + }, + { + "type": "int", + "name": "stretch_mode", + "setter": "set_stretch_mode", + "getter": "get_stretch_mode", + "index": -1 + }, + { + "type": "bool", + "name": "flip_h", + "setter": "set_flip_h", + "getter": "is_flipped_h", + "index": -1 + }, + { + "type": "bool", + "name": "flip_v", + "setter": "set_flip_v", + "getter": "is_flipped_v", + "index": -1 + } + ] + }, + { + "name": "Theme", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "DataType", + "values": [ + { + "name": "DATA_TYPE_COLOR", + "value": 0 + }, + { + "name": "DATA_TYPE_CONSTANT", + "value": 1 + }, + { + "name": "DATA_TYPE_FONT", + "value": 2 + }, + { + "name": "DATA_TYPE_FONT_SIZE", + "value": 3 + }, + { + "name": "DATA_TYPE_ICON", + "value": 4 + }, + { + "name": "DATA_TYPE_STYLEBOX", + "value": 5 + }, + { + "name": "DATA_TYPE_MAX", + "value": 6 + } + ] + } + ], + "methods": [ + { + "name": "set_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + }, + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "has_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "rename_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "old_name", + "type": "StringName" + }, + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "clear_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "get_icon_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "theme_type", + "type": "String" + } + ] + }, + { + "name": "get_icon_type_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "set_stylebox", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + }, + { + "name": "texture", + "type": "StyleBox" + } + ] + }, + { + "name": "get_stylebox", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "StyleBox" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "has_stylebox", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "rename_stylebox", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "old_name", + "type": "StringName" + }, + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "clear_stylebox", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "get_stylebox_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "theme_type", + "type": "String" + } + ] + }, + { + "name": "get_stylebox_type_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "set_font", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + }, + { + "name": "font", + "type": "Font" + } + ] + }, + { + "name": "get_font", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Font" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "has_font", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "rename_font", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "old_name", + "type": "StringName" + }, + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "clear_font", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "get_font_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "theme_type", + "type": "String" + } + ] + }, + { + "name": "get_font_type_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "set_font_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + }, + { + "name": "font_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_font_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "has_font_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "rename_font_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "old_name", + "type": "StringName" + }, + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "clear_font_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "get_font_size_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "theme_type", + "type": "String" + } + ] + }, + { + "name": "get_font_size_type_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "set_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "has_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "rename_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "old_name", + "type": "StringName" + }, + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "clear_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "get_color_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "theme_type", + "type": "String" + } + ] + }, + { + "name": "get_color_type_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "set_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + }, + { + "name": "constant", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "has_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "rename_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "old_name", + "type": "StringName" + }, + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "clear_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "get_constant_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "theme_type", + "type": "String" + } + ] + }, + { + "name": "get_constant_type_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_default_font", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "font", + "type": "Font" + } + ] + }, + { + "name": "get_default_font", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Font" + } + }, + { + "name": "set_default_font_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "font_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_default_font_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_theme_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "data_type", + "type": "enum::Theme.DataType" + }, + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_theme_item", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "data_type", + "type": "enum::Theme.DataType" + }, + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "has_theme_item", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "data_type", + "type": "enum::Theme.DataType" + }, + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "rename_theme_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "data_type", + "type": "enum::Theme.DataType" + }, + { + "name": "old_name", + "type": "StringName" + }, + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "clear_theme_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "data_type", + "type": "enum::Theme.DataType" + }, + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "get_theme_item_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "data_type", + "type": "enum::Theme.DataType" + }, + { + "name": "theme_type", + "type": "String" + } + ] + }, + { + "name": "get_theme_item_type_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "data_type", + "type": "enum::Theme.DataType" + } + ] + }, + { + "name": "set_type_variation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "theme_type", + "type": "StringName" + }, + { + "name": "base_type", + "type": "StringName" + } + ] + }, + { + "name": "is_type_variation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "theme_type", + "type": "StringName" + }, + { + "name": "base_type", + "type": "StringName" + } + ] + }, + { + "name": "clear_type_variation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "get_type_variation_base", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "get_type_variation_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "base_type", + "type": "StringName" + } + ] + }, + { + "name": "get_type_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "copy_default_theme", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "copy_theme", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "other", + "type": "Theme" + } + ] + } + ], + "properties": [ + { + "type": "Font", + "name": "default_font", + "setter": "set_default_font", + "getter": "get_default_font", + "index": -1 + }, + { + "type": "int", + "name": "default_font_size", + "setter": "set_default_font_size", + "getter": "get_default_font_size", + "index": -1 + } + ] + }, + { + "name": "TileData", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "set_flip_h", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flip_h", + "type": "bool" + } + ] + }, + { + "name": "get_flip_h", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_flip_v", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flip_v", + "type": "bool" + } + ] + }, + { + "name": "get_flip_v", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_transpose", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "transpose", + "type": "bool" + } + ] + }, + { + "name": "get_transpose", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "tile_set_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "material", + "type": "ShaderMaterial" + } + ] + }, + { + "name": "tile_get_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "ShaderMaterial" + } + }, + { + "name": "set_texture_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture_offset", + "type": "Vector2i" + } + ] + }, + { + "name": "get_texture_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_modulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "modulate", + "type": "Color" + } + ] + }, + { + "name": "get_modulate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_z_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "z_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_z_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_y_sort_origin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "y_sort_origin", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_y_sort_origin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_occluder", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "occluder_polygon", + "type": "OccluderPolygon2D" + } + ] + }, + { + "name": "get_occluder", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "OccluderPolygon2D" + }, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_collision_polygons_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_collision_polygons_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "polygons_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_collision_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_collision_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "polygon_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_collision_polygon_points", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "polygon_index", + "type": "int", + "meta": "int32" + }, + { + "name": "polygon", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "get_collision_polygon_points", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "PackedVector2Array" + }, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "polygon_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_collision_polygon_one_way", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "polygon_index", + "type": "int", + "meta": "int32" + }, + { + "name": "one_way", + "type": "bool" + } + ] + }, + { + "name": "is_collision_polygon_one_way", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "polygon_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_collision_polygon_one_way_margin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "polygon_index", + "type": "int", + "meta": "int32" + }, + { + "name": "one_way_margin", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_collision_polygon_one_way_margin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "polygon_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_terrain_set", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "terrain_set", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_terrain_set", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_peering_bit_terrain", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "peering_bit", + "type": "enum::TileSet.CellNeighbor" + }, + { + "name": "terrain", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_peering_bit_terrain", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "peering_bit", + "type": "enum::TileSet.CellNeighbor" + } + ] + }, + { + "name": "set_navigation_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "navigation_polygon", + "type": "NavigationPolygon" + } + ] + }, + { + "name": "get_navigation_polygon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "NavigationPolygon" + }, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_probability", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "probability", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_probability", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_custom_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer_name", + "type": "String" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_custom_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "layer_name", + "type": "String" + } + ] + }, + { + "name": "set_custom_data_by_layer_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_custom_data_by_layer_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "layer_id", + "type": "int", + "meta": "int32" + } + ] + } + ], + "signals": [ + { + "name": "changed" + } + ], + "properties": [ + { + "type": "bool", + "name": "flip_h", + "setter": "set_flip_h", + "getter": "get_flip_h", + "index": -1 + }, + { + "type": "bool", + "name": "flip_v", + "setter": "set_flip_v", + "getter": "get_flip_v", + "index": -1 + }, + { + "type": "bool", + "name": "transpose", + "setter": "set_transpose", + "getter": "get_transpose", + "index": -1 + }, + { + "type": "Vector2i", + "name": "texture_offset", + "setter": "set_texture_offset", + "getter": "get_texture_offset", + "index": -1 + }, + { + "type": "Color", + "name": "modulate", + "setter": "set_modulate", + "getter": "get_modulate", + "index": -1 + }, + { + "type": "int", + "name": "z_index", + "setter": "set_z_index", + "getter": "get_z_index", + "index": -1 + }, + { + "type": "int", + "name": "y_sort_origin", + "setter": "set_y_sort_origin", + "getter": "get_y_sort_origin", + "index": -1 + }, + { + "type": "int", + "name": "terrain_set", + "setter": "set_terrain_set", + "getter": "get_terrain_set", + "index": -1 + }, + { + "type": "float", + "name": "probability", + "setter": "set_probability", + "getter": "get_probability", + "index": -1 + } + ] + }, + { + "name": "TileMap", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "enums": [ + { + "name": "VisibilityMode", + "values": [ + { + "name": "VISIBILITY_MODE_DEFAULT", + "value": 0 + }, + { + "name": "VISIBILITY_MODE_FORCE_HIDE", + "value": 2 + }, + { + "name": "VISIBILITY_MODE_FORCE_SHOW", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_tileset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tileset", + "type": "TileSet" + } + ] + }, + { + "name": "get_tileset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "TileSet" + } + }, + { + "name": "set_quadrant_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_quadrant_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_layers_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layers_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_layers_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_layer_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_layer_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_layer_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_layer_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_layer_y_sort_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "y_sort_enabled", + "type": "bool" + } + ] + }, + { + "name": "is_layer_y_sort_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_layer_y_sort_origin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "y_sort_origin", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_layer_y_sort_origin", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_layer_z_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "z_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_layer_z_indexd", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_collision_visibility_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "collision_visibility_mode", + "type": "enum::TileMap.VisibilityMode" + } + ] + }, + { + "name": "get_collision_visibility_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::TileMap.VisibilityMode" + } + }, + { + "name": "set_navigation_visibility_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "navigation_visibility_mode", + "type": "enum::TileMap.VisibilityMode" + } + ] + }, + { + "name": "get_navigation_visibility_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::TileMap.VisibilityMode" + } + }, + { + "name": "set_cell", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 60157804, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "coords", + "type": "Vector2i" + }, + { + "name": "source_id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "atlas_coords", + "type": "Vector2i", + "default_value": "Vector2i(-1, -1)" + }, + { + "name": "alternative_tile", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_cell_source_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "coords", + "type": "Vector2i" + }, + { + "name": "use_proxies", + "type": "bool" + } + ] + }, + { + "name": "get_cell_atlas_coords", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "coords", + "type": "Vector2i" + }, + { + "name": "use_proxies", + "type": "bool" + } + ] + }, + { + "name": "get_cell_alternative_tile", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "coords", + "type": "Vector2i" + }, + { + "name": "use_proxies", + "type": "bool" + } + ] + }, + { + "name": "fix_invalid_tiles", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_surrounding_tiles", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_used_cells", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_used_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "map_to_world", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "map_position", + "type": "Vector2i" + } + ] + }, + { + "name": "world_to_map", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "world_position", + "type": "Vector2" + } + ] + }, + { + "name": "get_neighbor_cell", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + }, + { + "name": "neighbor", + "type": "enum::TileSet.CellNeighbor" + } + ] + } + ], + "signals": [ + { + "name": "changed" + } + ], + "properties": [ + { + "type": "TileSet", + "name": "tile_set", + "setter": "set_tileset", + "getter": "get_tileset", + "index": -1 + }, + { + "type": "int", + "name": "cell_quadrant_size", + "setter": "set_quadrant_size", + "getter": "get_quadrant_size", + "index": -1 + }, + { + "type": "int", + "name": "collision_visibility_mode", + "setter": "set_collision_visibility_mode", + "getter": "get_collision_visibility_mode", + "index": -1 + }, + { + "type": "int", + "name": "navigation_visibility_mode", + "setter": "set_navigation_visibility_mode", + "getter": "get_navigation_visibility_mode", + "index": -1 + }, + { + "type": "int", + "name": "layers_count", + "setter": "set_layers_count", + "getter": "get_layers_count", + "index": -1 + } + ] + }, + { + "name": "TileSet", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "TileLayout", + "values": [ + { + "name": "TILE_LAYOUT_STACKED", + "value": 0 + }, + { + "name": "TILE_LAYOUT_STACKED_OFFSET", + "value": 1 + }, + { + "name": "TILE_LAYOUT_STAIRS_RIGHT", + "value": 2 + }, + { + "name": "TILE_LAYOUT_STAIRS_DOWN", + "value": 3 + }, + { + "name": "TILE_LAYOUT_DIAMOND_RIGHT", + "value": 4 + }, + { + "name": "TILE_LAYOUT_DIAMOND_DOWN", + "value": 5 + } + ] + }, + { + "name": "CellNeighbor", + "values": [ + { + "name": "CELL_NEIGHBOR_RIGHT_SIDE", + "value": 0 + }, + { + "name": "CELL_NEIGHBOR_RIGHT_CORNER", + "value": 1 + }, + { + "name": "CELL_NEIGHBOR_BOTTOM_RIGHT_SIDE", + "value": 2 + }, + { + "name": "CELL_NEIGHBOR_BOTTOM_RIGHT_CORNER", + "value": 3 + }, + { + "name": "CELL_NEIGHBOR_BOTTOM_SIDE", + "value": 4 + }, + { + "name": "CELL_NEIGHBOR_BOTTOM_CORNER", + "value": 5 + }, + { + "name": "CELL_NEIGHBOR_BOTTOM_LEFT_SIDE", + "value": 6 + }, + { + "name": "CELL_NEIGHBOR_BOTTOM_LEFT_CORNER", + "value": 7 + }, + { + "name": "CELL_NEIGHBOR_LEFT_SIDE", + "value": 8 + }, + { + "name": "CELL_NEIGHBOR_LEFT_CORNER", + "value": 9 + }, + { + "name": "CELL_NEIGHBOR_TOP_LEFT_SIDE", + "value": 10 + }, + { + "name": "CELL_NEIGHBOR_TOP_LEFT_CORNER", + "value": 11 + }, + { + "name": "CELL_NEIGHBOR_TOP_SIDE", + "value": 12 + }, + { + "name": "CELL_NEIGHBOR_TOP_CORNER", + "value": 13 + }, + { + "name": "CELL_NEIGHBOR_TOP_RIGHT_SIDE", + "value": 14 + }, + { + "name": "CELL_NEIGHBOR_TOP_RIGHT_CORNER", + "value": 15 + } + ] + }, + { + "name": "TileShape", + "values": [ + { + "name": "TILE_SHAPE_SQUARE", + "value": 0 + }, + { + "name": "TILE_SHAPE_ISOMETRIC", + "value": 1 + }, + { + "name": "TILE_SHAPE_HALF_OFFSET_SQUARE", + "value": 2 + }, + { + "name": "TILE_SHAPE_HEXAGON", + "value": 3 + } + ] + }, + { + "name": "TerrainMode", + "values": [ + { + "name": "TERRAIN_MODE_MATCH_CORNERS_AND_SIDES", + "value": 0 + }, + { + "name": "TERRAIN_MODE_MATCH_CORNERS", + "value": 1 + }, + { + "name": "TERRAIN_MODE_MATCH_SIDES", + "value": 2 + } + ] + }, + { + "name": "TileOffsetAxis", + "values": [ + { + "name": "TILE_OFFSET_AXIS_HORIZONTAL", + "value": 0 + }, + { + "name": "TILE_OFFSET_AXIS_VERTICAL", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "get_next_source_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "add_source", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "atlas_source_id_override", + "type": "TileSetSource" + }, + { + "name": "arg1", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "remove_source", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "source_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_source_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "source_id", + "type": "int", + "meta": "int32" + }, + { + "name": "arg1", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_source_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_source_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_source", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_source", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "TileSetSource" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tile_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "enum::TileSet.TileShape" + } + ] + }, + { + "name": "get_tile_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TileSet.TileShape" + } + }, + { + "name": "set_tile_layout", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "layout", + "type": "enum::TileSet.TileLayout" + } + ] + }, + { + "name": "get_tile_layout", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TileSet.TileLayout" + } + }, + { + "name": "set_tile_offset_axis", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "alignment", + "type": "enum::TileSet.TileOffsetAxis" + } + ] + }, + { + "name": "get_tile_offset_axis", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TileSet.TileOffsetAxis" + } + }, + { + "name": "set_tile_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2i" + } + ] + }, + { + "name": "get_tile_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_uv_clipping", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "uv_clipping", + "type": "bool" + } + ] + }, + { + "name": "is_uv_clipping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_occlusion_layers_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "occlusion_layers_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_occlusion_layers_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_occlusion_layer_light_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer_index", + "type": "int", + "meta": "int32" + }, + { + "name": "light_mask", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_occlusion_layer_light_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "arg0", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_occlusion_layer_sdf_collision", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer_index", + "type": "int", + "meta": "int32" + }, + { + "name": "sdf_collision", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_occlusion_layer_sdf_collision", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "arg0", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_physics_layers_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "physics_layers_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_physics_layers_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_physics_layer_collision_layer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer_index", + "type": "int", + "meta": "int32" + }, + { + "name": "layer", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_physics_layer_collision_layer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "layer_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_physics_layer_collision_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer_index", + "type": "int", + "meta": "int32" + }, + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_physics_layer_collision_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "layer_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_physics_layer_physics_material", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer_index", + "type": "int", + "meta": "int32" + }, + { + "name": "physics_material", + "type": "PhysicsMaterial" + } + ] + }, + { + "name": "get_physics_layer_physics_material", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PhysicsMaterial" + }, + "arguments": [ + { + "name": "layer_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_terrain_sets_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "terrain_sets_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_terrain_sets_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_terrain_set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "terrain_set", + "type": "int", + "meta": "int32" + }, + { + "name": "mode", + "type": "enum::TileSet.TerrainMode" + } + ] + }, + { + "name": "get_terrain_set_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::TileSet.TerrainMode" + }, + "arguments": [ + { + "name": "terrain_set", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_terrains_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "terrain_set", + "type": "int", + "meta": "int32" + }, + { + "name": "terrains_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_terrains_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "terrain_set", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_terrain_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "terrain_set", + "type": "int", + "meta": "int32" + }, + { + "name": "terrain_index", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_terrain_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "terrain_set", + "type": "int", + "meta": "int32" + }, + { + "name": "terrain_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_terrain_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "terrain_set", + "type": "int", + "meta": "int32" + }, + { + "name": "terrain_index", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_terrain_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "terrain_set", + "type": "int", + "meta": "int32" + }, + { + "name": "terrain_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_navigation_layers_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "navigation_layers_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_navigation_layers_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_navigation_layer_layers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer_index", + "type": "int", + "meta": "int32" + }, + { + "name": "layers", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_navigation_layer_layers", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "layer_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_custom_data_layers_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "custom_data_layers_count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_custom_data_layers_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_source_level_tile_proxy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "source_from", + "type": "int", + "meta": "int32" + }, + { + "name": "source_to", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_source_level_tile_proxy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "source_from", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_source_level_tile_proxy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "source_from", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_source_level_tile_proxy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "source_from", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_coords_level_tile_proxy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "p_source_from", + "type": "int", + "meta": "int32" + }, + { + "name": "coords_from", + "type": "Vector2i" + }, + { + "name": "source_to", + "type": "int", + "meta": "int32" + }, + { + "name": "coords_to", + "type": "Vector2i" + } + ] + }, + { + "name": "get_coords_level_tile_proxy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "source_from", + "type": "int", + "meta": "int32" + }, + { + "name": "coords_from", + "type": "Vector2i" + } + ] + }, + { + "name": "has_coords_level_tile_proxy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "source_from", + "type": "int", + "meta": "int32" + }, + { + "name": "coords_from", + "type": "Vector2i" + } + ] + }, + { + "name": "remove_coords_level_tile_proxy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "source_from", + "type": "int", + "meta": "int32" + }, + { + "name": "coords_from", + "type": "Vector2i" + } + ] + }, + { + "name": "set_alternative_level_tile_proxy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134367851, + "arguments": [ + { + "name": "source_from", + "type": "int", + "meta": "int32" + }, + { + "name": "coords_from", + "type": "Vector2i" + }, + { + "name": "alternative_from", + "type": "int", + "meta": "int32" + }, + { + "name": "source_to", + "type": "int", + "meta": "int32" + }, + { + "name": "coords_to", + "type": "Vector2i" + }, + { + "name": "alternative_to", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_alternative_level_tile_proxy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "source_from", + "type": "int", + "meta": "int32" + }, + { + "name": "coords_from", + "type": "Vector2i" + }, + { + "name": "alternative_from", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_alternative_level_tile_proxy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "source_from", + "type": "int", + "meta": "int32" + }, + { + "name": "coords_from", + "type": "Vector2i" + }, + { + "name": "alternative_from", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_alternative_level_tile_proxy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "source_from", + "type": "int", + "meta": "int32" + }, + { + "name": "coords_from", + "type": "Vector2i" + }, + { + "name": "alternative_from", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "map_tile_proxy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "source_from", + "type": "int", + "meta": "int32" + }, + { + "name": "coords_from", + "type": "Vector2i" + }, + { + "name": "alternative_from", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "cleanup_invalid_tile_proxies", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "clear_tile_proxies", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "properties": [ + { + "type": "int", + "name": "tile_shape", + "setter": "set_tile_shape", + "getter": "get_tile_shape", + "index": -1 + }, + { + "type": "int", + "name": "tile_layout", + "setter": "set_tile_layout", + "getter": "get_tile_layout", + "index": -1 + }, + { + "type": "int", + "name": "tile_offset_axis", + "setter": "set_tile_offset_axis", + "getter": "get_tile_offset_axis", + "index": -1 + }, + { + "type": "Vector2i", + "name": "tile_size", + "setter": "set_tile_size", + "getter": "get_tile_size", + "index": -1 + }, + { + "type": "bool", + "name": "uv_clipping", + "setter": "set_uv_clipping", + "getter": "is_uv_clipping", + "index": -1 + }, + { + "type": "int", + "name": "occlusion_layers_count", + "setter": "set_occlusion_layers_count", + "getter": "get_occlusion_layers_count", + "index": -1 + }, + { + "type": "int", + "name": "physics_layers_count", + "setter": "set_physics_layers_count", + "getter": "get_physics_layers_count", + "index": -1 + }, + { + "type": "int", + "name": "terrains_sets_count", + "setter": "set_terrain_sets_count", + "getter": "get_terrain_sets_count", + "index": -1 + }, + { + "type": "int", + "name": "navigation_layers_count", + "setter": "set_navigation_layers_count", + "getter": "get_navigation_layers_count", + "index": -1 + }, + { + "type": "int", + "name": "custom_data_layers_count", + "setter": "set_custom_data_layers_count", + "getter": "get_custom_data_layers_count", + "index": -1 + } + ] + }, + { + "name": "TileSetAtlasSource", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "TileSetSource", + "api_type": "core", + "methods": [ + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_margins", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "margins", + "type": "Vector2i" + } + ] + }, + { + "name": "get_margins", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_separation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "separation", + "type": "Vector2i" + } + ] + }, + { + "name": "get_separation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_texture_region_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture_region_size", + "type": "Vector2i" + } + ] + }, + { + "name": "get_texture_region_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "create_tile", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + }, + { + "name": "size", + "type": "Vector2i", + "default_value": "Vector2i(1, 1)" + } + ] + }, + { + "name": "remove_tile", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + } + ] + }, + { + "name": "has_tile", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + } + ] + }, + { + "name": "can_move_tile_in_atlas", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 3560571919, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + }, + { + "name": "new_atlas_coords", + "type": "Vector2i", + "default_value": "Vector2i(-1, -1)" + }, + { + "name": "new_size", + "type": "Vector2i", + "default_value": "Vector2i(-1, -1)" + } + ] + }, + { + "name": "move_tile_in_atlas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2269103917, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + }, + { + "name": "new_atlas_coords", + "type": "Vector2i", + "default_value": "Vector2i(-1, -1)" + }, + { + "name": "new_size", + "type": "Vector2i", + "default_value": "Vector2i(-1, -1)" + } + ] + }, + { + "name": "get_tile_size_in_atlas", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + } + ] + }, + { + "name": "get_tiles_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_tile_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_tile_at_coords", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + } + ] + }, + { + "name": "create_alternative_tile", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + }, + { + "name": "alternative_id_override", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "remove_alternative_tile", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + }, + { + "name": "alternative_tile", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_alternative_tile_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + }, + { + "name": "alternative_tile", + "type": "int", + "meta": "int32" + }, + { + "name": "new_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_alternative_tile", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + }, + { + "name": "alternative_tile", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_next_alternative_tile_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + } + ] + }, + { + "name": "get_alternative_tiles_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + } + ] + }, + { + "name": "get_alternative_tile_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_tile_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Object" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_atlas_grid_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "has_tiles_outside_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "clear_tiles_outside_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_tile_texture_region", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Rect2i" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + } + ] + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "Vector2i", + "name": "margins", + "setter": "set_margins", + "getter": "get_margins", + "index": -1 + }, + { + "type": "Vector2i", + "name": "separation", + "setter": "set_separation", + "getter": "get_separation", + "index": -1 + }, + { + "type": "Vector2i", + "name": "tile_size", + "setter": "set_texture_region_size", + "getter": "get_texture_region_size", + "index": -1 + } + ] + }, + { + "name": "TileSetScenesCollectionSource", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "TileSetSource", + "api_type": "core", + "methods": [ + { + "name": "get_tiles_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_tile_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_tile", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + } + ] + }, + { + "name": "get_alternative_tiles_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + } + ] + }, + { + "name": "get_alternative_tile_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_alternative_tile", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "atlas_coords", + "type": "Vector2i" + }, + { + "name": "alternative_tile", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_scene_tiles_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_scene_tile_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_scene_tile_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "create_scene_tile", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "packed_scene", + "type": "PackedScene" + }, + { + "name": "id_override", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "set_scene_tile_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "new_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_scene_tile_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "packed_scene", + "type": "PackedScene" + } + ] + }, + { + "name": "get_scene_tile_scene", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedScene" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_scene_tile_display_placeholder", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "display_placeholder", + "type": "bool" + } + ] + }, + { + "name": "get_scene_tile_display_placeholder", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_scene_tile", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_next_scene_tile_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ] + }, + { + "name": "TileSetSource", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core" + }, + { + "name": "Time", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "Month", + "values": [ + { + "name": "MONTH_JANUARY", + "value": 1 + }, + { + "name": "MONTH_FEBRUARY", + "value": 2 + }, + { + "name": "MONTH_MARCH", + "value": 3 + }, + { + "name": "MONTH_APRIL", + "value": 4 + }, + { + "name": "MONTH_MAY", + "value": 5 + }, + { + "name": "MONTH_JUNE", + "value": 6 + }, + { + "name": "MONTH_JULY", + "value": 7 + }, + { + "name": "MONTH_AUGUST", + "value": 8 + }, + { + "name": "MONTH_SEPTEMBER", + "value": 9 + }, + { + "name": "MONTH_OCTOBER", + "value": 10 + }, + { + "name": "MONTH_NOVEMBER", + "value": 11 + }, + { + "name": "MONTH_DECEMBER", + "value": 12 + } + ] + }, + { + "name": "Weekday", + "values": [ + { + "name": "WEEKDAY_SUNDAY", + "value": 0 + }, + { + "name": "WEEKDAY_MONDAY", + "value": 1 + }, + { + "name": "WEEKDAY_TUESDAY", + "value": 2 + }, + { + "name": "WEEKDAY_WEDNESDAY", + "value": 3 + }, + { + "name": "WEEKDAY_THURSDAY", + "value": 4 + }, + { + "name": "WEEKDAY_FRIDAY", + "value": 5 + }, + { + "name": "WEEKDAY_SATURDAY", + "value": 6 + } + ] + } + ], + "methods": [ + { + "name": "get_datetime_dict_from_unix_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "unix_time_val", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "get_date_dict_from_unix_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "unix_time_val", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "get_time_dict_from_unix_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "unix_time_val", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "get_datetime_string_from_unix_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "unix_time_val", + "type": "int", + "meta": "int64" + }, + { + "name": "use_space", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_date_string_from_unix_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "unix_time_val", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "get_time_string_from_unix_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "unix_time_val", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "get_datetime_dict_from_string", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "datetime", + "type": "String" + }, + { + "name": "weekday", + "type": "bool" + } + ] + }, + { + "name": "get_datetime_string_from_dict", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "datetime", + "type": "Dictionary" + }, + { + "name": "use_space", + "type": "bool" + } + ] + }, + { + "name": "get_unix_time_from_datetime_dict", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "datetime", + "type": "Dictionary" + } + ] + }, + { + "name": "get_unix_time_from_datetime_string", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "datetime", + "type": "String" + } + ] + }, + { + "name": "get_datetime_dict_from_system", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "utc", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_date_dict_from_system", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "utc", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_time_dict_from_system", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "utc", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_datetime_string_from_system", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1434999947, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "utc", + "type": "bool", + "default_value": "false" + }, + { + "name": "use_space", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_date_string_from_system", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "utc", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_time_string_from_system", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "utc", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_time_zone_from_system", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "get_unix_time_from_system", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "get_ticks_msec", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_ticks_usec", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + } + ] + }, + { + "name": "Timer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core", + "enums": [ + { + "name": "TimerProcessCallback", + "values": [ + { + "name": "TIMER_PROCESS_PHYSICS", + "value": 0 + }, + { + "name": "TIMER_PROCESS_IDLE", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_wait_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "time_sec", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "get_wait_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "set_one_shot", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_one_shot", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_autostart", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "has_autostart", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "start", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133277030, + "arguments": [ + { + "name": "time_sec", + "type": "float", + "meta": "double", + "default_value": "-1" + } + ] + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_paused", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "paused", + "type": "bool" + } + ] + }, + { + "name": "is_paused", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_stopped", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_time_left", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "set_timer_process_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "callback", + "type": "enum::Timer.TimerProcessCallback" + } + ] + }, + { + "name": "get_timer_process_callback", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Timer.TimerProcessCallback" + } + } + ], + "signals": [ + { + "name": "timeout" + } + ], + "properties": [ + { + "type": "int", + "name": "process_callback", + "setter": "set_timer_process_callback", + "getter": "get_timer_process_callback", + "index": -1 + }, + { + "type": "float", + "name": "wait_time", + "setter": "set_wait_time", + "getter": "get_wait_time", + "index": -1 + }, + { + "type": "bool", + "name": "one_shot", + "setter": "set_one_shot", + "getter": "is_one_shot", + "index": -1 + }, + { + "type": "bool", + "name": "autostart", + "setter": "set_autostart", + "getter": "has_autostart", + "index": -1 + }, + { + "type": "bool", + "name": "paused", + "setter": "set_paused", + "getter": "is_paused", + "index": -1 + }, + { + "type": "float", + "name": "time_left", + "setter": "", + "getter": "get_time_left", + "index": -1 + } + ] + }, + { + "name": "TouchScreenButton", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "enums": [ + { + "name": "VisibilityMode", + "values": [ + { + "name": "VISIBILITY_ALWAYS", + "value": 0 + }, + { + "name": "VISIBILITY_TOUCHSCREEN_ONLY", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_texture_pressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture_pressed", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_bitmask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bitmask", + "type": "BitMap" + } + ] + }, + { + "name": "get_bitmask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "BitMap" + } + }, + { + "name": "set_shape", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "shape", + "type": "Shape2D" + } + ] + }, + { + "name": "get_shape", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Shape2D" + } + }, + { + "name": "set_shape_centered", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bool", + "type": "bool" + } + ] + }, + { + "name": "is_shape_centered", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_shape_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bool", + "type": "bool" + } + ] + }, + { + "name": "is_shape_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_action", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "action", + "type": "String" + } + ] + }, + { + "name": "get_action", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_visibility_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::TouchScreenButton.VisibilityMode" + } + ] + }, + { + "name": "get_visibility_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TouchScreenButton.VisibilityMode" + } + }, + { + "name": "set_passby_press", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_passby_press_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "released" + }, + { + "name": "pressed" + } + ], + "properties": [ + { + "type": "Texture2D", + "name": "normal", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "Texture2D", + "name": "pressed", + "setter": "set_texture_pressed", + "getter": "get_texture_pressed", + "index": -1 + }, + { + "type": "BitMap", + "name": "bitmask", + "setter": "set_bitmask", + "getter": "get_bitmask", + "index": -1 + }, + { + "type": "Shape2D", + "name": "shape", + "setter": "set_shape", + "getter": "get_shape", + "index": -1 + }, + { + "type": "bool", + "name": "shape_centered", + "setter": "set_shape_centered", + "getter": "is_shape_centered", + "index": -1 + }, + { + "type": "bool", + "name": "shape_visible", + "setter": "set_shape_visible", + "getter": "is_shape_visible", + "index": -1 + }, + { + "type": "bool", + "name": "passby_press", + "setter": "set_passby_press", + "getter": "is_passby_press_enabled", + "index": -1 + }, + { + "type": "StringName", + "name": "action", + "setter": "set_action", + "getter": "get_action", + "index": -1 + }, + { + "type": "int", + "name": "visibility_mode", + "setter": "set_visibility_mode", + "getter": "get_visibility_mode", + "index": -1 + } + ] + }, + { + "name": "Translation", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_locale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "locale", + "type": "String" + } + ] + }, + { + "name": "get_locale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "add_message", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "src_message", + "type": "StringName" + }, + { + "name": "xlated_message", + "type": "StringName" + }, + { + "name": "context", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "add_plural_message", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "src_message", + "type": "StringName" + }, + { + "name": "xlated_messages", + "type": "PackedStringArray" + }, + { + "name": "context", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_message", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "src_message", + "type": "StringName" + }, + { + "name": "context", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_plural_message", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 175971308, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "src_message", + "type": "StringName" + }, + { + "name": "src_plural_message", + "type": "StringName" + }, + { + "name": "n", + "type": "int", + "meta": "int32" + }, + { + "name": "context", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "erase_message", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "src_message", + "type": "StringName" + }, + { + "name": "context", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_message_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "get_message_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "Dictionary", + "name": "messages", + "setter": "_set_messages", + "getter": "_get_messages", + "index": -1 + }, + { + "type": "String", + "name": "locale", + "setter": "set_locale", + "getter": "get_locale", + "index": -1 + } + ] + }, + { + "name": "TranslationServer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "set_locale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "locale", + "type": "String" + } + ] + }, + { + "name": "get_locale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_locale_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "locale", + "type": "String" + } + ] + }, + { + "name": "translate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "message", + "type": "StringName" + }, + { + "name": "context", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "translate_plural", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 175971308, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "message", + "type": "StringName" + }, + { + "name": "plural_message", + "type": "StringName" + }, + { + "name": "n", + "type": "int", + "meta": "int32" + }, + { + "name": "context", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "add_translation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "translation", + "type": "Translation" + } + ] + }, + { + "name": "remove_translation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "translation", + "type": "Translation" + } + ] + }, + { + "name": "get_translation_object", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Translation" + }, + "arguments": [ + { + "name": "locale", + "type": "String" + } + ] + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_loaded_locales", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + } + ] + }, + { + "name": "Tree", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "enums": [ + { + "name": "SelectMode", + "values": [ + { + "name": "SELECT_SINGLE", + "value": 0 + }, + { + "name": "SELECT_ROW", + "value": 1 + }, + { + "name": "SELECT_MULTI", + "value": 2 + } + ] + }, + { + "name": "DropModeFlags", + "values": [ + { + "name": "DROP_MODE_DISABLED", + "value": 0 + }, + { + "name": "DROP_MODE_ON_ITEM", + "value": 1 + }, + { + "name": "DROP_MODE_INBETWEEN", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "create_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1434998825, + "return_value": { + "type": "TreeItem" + }, + "arguments": [ + { + "name": "parent", + "type": "Object", + "default_value": "null" + }, + { + "name": "idx", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_root", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "TreeItem" + } + }, + { + "name": "set_column_custom_minimum_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "min_width", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_column_expand", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "expand", + "type": "bool" + } + ] + }, + { + "name": "set_column_expand_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "ratio", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_column_clip_content", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_column_expanding", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_column_clipping_content", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_column_expand_ratio", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_column_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_hide_root", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_root_hidden", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_next_selected", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "TreeItem" + }, + "arguments": [ + { + "name": "from", + "type": "Object" + } + ] + }, + { + "name": "get_selected", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "TreeItem" + } + }, + { + "name": "get_selected_column", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_pressed_button", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_select_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Tree.SelectMode" + } + ] + }, + { + "name": "get_select_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Tree.SelectMode" + } + }, + { + "name": "set_columns", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_columns", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_edited", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "TreeItem" + } + }, + { + "name": "get_edited_column", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "edit_selected", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_custom_popup_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "get_item_area_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Rect2" + }, + "arguments": [ + { + "name": "item", + "type": "Object" + }, + { + "name": "column", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_item_at_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "TreeItem" + }, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_column_at_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_drop_section_at_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "ensure_cursor_is_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_column_titles_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "visible", + "type": "bool" + } + ] + }, + { + "name": "are_column_titles_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_column_title", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "title", + "type": "String" + } + ] + }, + { + "name": "get_column_title", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_column_title_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "get_column_title_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Control.TextDirection" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_column_title_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_column_title_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_column_title_opentype_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_column_title_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_column_title_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_scroll", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "scroll_to_item", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "item", + "type": "Object" + } + ] + }, + { + "name": "set_h_scroll_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "h_scroll", + "type": "bool" + } + ] + }, + { + "name": "is_h_scroll_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_v_scroll_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "h_scroll", + "type": "bool" + } + ] + }, + { + "name": "is_v_scroll_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_hide_folding", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hide", + "type": "bool" + } + ] + }, + { + "name": "is_folding_hidden", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_drop_mode_flags", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flags", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_drop_mode_flags", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_allow_rmb_select", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "allow", + "type": "bool" + } + ] + }, + { + "name": "get_allow_rmb_select", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_allow_reselect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "allow", + "type": "bool" + } + ] + }, + { + "name": "get_allow_reselect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "item_activated" + }, + { + "name": "multi_selected", + "arguments": [ + { + "name": "item", + "type": "TreeItem" + }, + { + "name": "column", + "type": "int" + }, + { + "name": "selected", + "type": "bool" + } + ] + }, + { + "name": "column_title_pressed", + "arguments": [ + { + "name": "column", + "type": "int" + } + ] + }, + { + "name": "custom_popup_edited", + "arguments": [ + { + "name": "arrow_clicked", + "type": "bool" + } + ] + }, + { + "name": "item_collapsed", + "arguments": [ + { + "name": "item", + "type": "TreeItem" + } + ] + }, + { + "name": "item_rmb_edited" + }, + { + "name": "item_edited" + }, + { + "name": "empty_tree_rmb_selected", + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "nothing_selected" + }, + { + "name": "item_double_clicked" + }, + { + "name": "empty_rmb", + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "item_rmb_selected", + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "item_selected" + }, + { + "name": "cell_selected" + }, + { + "name": "button_pressed", + "arguments": [ + { + "name": "item", + "type": "TreeItem" + }, + { + "name": "column", + "type": "int" + }, + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "item_custom_button_pressed" + } + ], + "properties": [ + { + "type": "int", + "name": "columns", + "setter": "set_columns", + "getter": "get_columns", + "index": -1 + }, + { + "type": "bool", + "name": "allow_reselect", + "setter": "set_allow_reselect", + "getter": "get_allow_reselect", + "index": -1 + }, + { + "type": "bool", + "name": "allow_rmb_select", + "setter": "set_allow_rmb_select", + "getter": "get_allow_rmb_select", + "index": -1 + }, + { + "type": "bool", + "name": "hide_folding", + "setter": "set_hide_folding", + "getter": "is_folding_hidden", + "index": -1 + }, + { + "type": "bool", + "name": "hide_root", + "setter": "set_hide_root", + "getter": "is_root_hidden", + "index": -1 + }, + { + "type": "int", + "name": "drop_mode_flags", + "setter": "set_drop_mode_flags", + "getter": "get_drop_mode_flags", + "index": -1 + }, + { + "type": "int", + "name": "select_mode", + "setter": "set_select_mode", + "getter": "get_select_mode", + "index": -1 + }, + { + "type": "bool", + "name": "scroll_horizontal_enabled", + "setter": "set_h_scroll_enabled", + "getter": "is_h_scroll_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "scroll_vertical_enabled", + "setter": "set_v_scroll_enabled", + "getter": "is_v_scroll_enabled", + "index": -1 + } + ] + }, + { + "name": "TreeItem", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "TreeCellMode", + "values": [ + { + "name": "CELL_MODE_STRING", + "value": 0 + }, + { + "name": "CELL_MODE_CHECK", + "value": 1 + }, + { + "name": "CELL_MODE_RANGE", + "value": 2 + }, + { + "name": "CELL_MODE_ICON", + "value": 3 + }, + { + "name": "CELL_MODE_CUSTOM", + "value": 4 + } + ] + }, + { + "name": "TextAlign", + "values": [ + { + "name": "ALIGN_LEFT", + "value": 0 + }, + { + "name": "ALIGN_CENTER", + "value": 1 + }, + { + "name": "ALIGN_RIGHT", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_cell_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "mode", + "type": "enum::TreeItem.TreeCellMode" + } + ] + }, + { + "name": "get_cell_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::TreeItem.TreeCellMode" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_checked", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "checked", + "type": "bool" + } + ] + }, + { + "name": "is_checked", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_text_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "get_text_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Control.TextDirection" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_opentype_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_structured_text_bidi_override", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "parser", + "type": "enum::Control.StructuredTextParser" + } + ] + }, + { + "name": "get_structured_text_bidi_override", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Control.StructuredTextParser" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_structured_text_bidi_override_options", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "args", + "type": "Array" + } + ] + }, + { + "name": "get_structured_text_bidi_override_options", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_language", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_language", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_suffix", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_suffix", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_icon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "get_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_icon_region", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "region", + "type": "Rect2" + } + ] + }, + { + "name": "get_icon_region", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Rect2" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_icon_max_width", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "width", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_icon_max_width", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_icon_modulate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "modulate", + "type": "Color" + } + ] + }, + { + "name": "get_icon_modulate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "get_range", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "double" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_range_config", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 138021803, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "min", + "type": "float", + "meta": "double" + }, + { + "name": "max", + "type": "float", + "meta": "double" + }, + { + "name": "step", + "type": "float", + "meta": "double" + }, + { + "name": "expr", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_range_config", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_metadata", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "meta", + "type": "Variant" + } + ] + }, + { + "name": "get_metadata", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_custom_draw", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "object", + "type": "Object" + }, + { + "name": "callback", + "type": "StringName" + } + ] + }, + { + "name": "set_collapsed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_collapsed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "uncollapse_tree", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_custom_minimum_height", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "height", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_custom_minimum_height", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_selectable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "selectable", + "type": "bool" + } + ] + }, + { + "name": "is_selectable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "is_selected", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "select", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "deselect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_editable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_editable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_custom_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_custom_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_custom_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_custom_font", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "font", + "type": "Font" + } + ] + }, + { + "name": "get_custom_font", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Font" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_custom_bg_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + }, + { + "name": "just_outline", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "clear_custom_bg_color", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_custom_bg_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_custom_as_button", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_custom_set_as_button", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_button", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 60157804, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "button", + "type": "Texture2D" + }, + { + "name": "button_idx", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "disabled", + "type": "bool", + "default_value": "false" + }, + { + "name": "tooltip", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_button_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_button_tooltip", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "button_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_button", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "button_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_button", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "button_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "button", + "type": "Texture2D" + } + ] + }, + { + "name": "erase_button", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "button_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_button_disabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "button_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "disabled", + "type": "bool" + } + ] + }, + { + "name": "is_button_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "button_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_tooltip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "tooltip", + "type": "String" + } + ] + }, + { + "name": "get_tooltip", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_text_align", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "text_align", + "type": "enum::TreeItem.TextAlign" + } + ] + }, + { + "name": "get_text_align", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::TreeItem.TextAlign" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_expand_right", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_expand_right", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_disable_folding", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "is_folding_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "create_child", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172412423, + "return_value": { + "type": "TreeItem" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_tree", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Tree" + } + }, + { + "name": "get_next", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "TreeItem" + } + }, + { + "name": "get_prev", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "TreeItem" + } + }, + { + "name": "get_parent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "TreeItem" + } + }, + { + "name": "get_first_child", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "TreeItem" + } + }, + { + "name": "get_next_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "TreeItem" + }, + "arguments": [ + { + "name": "wrap", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_prev_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "TreeItem" + }, + "arguments": [ + { + "name": "wrap", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_child", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "TreeItem" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_child_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_children", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "move_before", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "item", + "type": "Object" + } + ] + }, + { + "name": "move_after", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "item", + "type": "Object" + } + ] + }, + { + "name": "remove_child", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "child", + "type": "Object" + } + ] + }, + { + "name": "call_recursive", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135374088, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "method", + "type": "StringName" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "collapsed", + "setter": "set_collapsed", + "getter": "is_collapsed", + "index": -1 + }, + { + "type": "bool", + "name": "disable_folding", + "setter": "set_disable_folding", + "getter": "is_folding_disabled", + "index": -1 + }, + { + "type": "int", + "name": "custom_minimum_height", + "setter": "set_custom_minimum_height", + "getter": "get_custom_minimum_height", + "index": -1 + } + ] + }, + { + "name": "TriangleMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core" + }, + { + "name": "TubeTrailMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PrimitiveMesh", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_radial_steps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "radial_steps", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_radial_steps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_sections", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sections", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_sections", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_section_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "section_length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_section_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_section_rings", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "section_rings", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_section_rings", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_curve", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve", + "type": "Curve" + } + ] + }, + { + "name": "get_curve", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Curve" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + }, + { + "type": "int", + "name": "radial_steps", + "setter": "set_radial_steps", + "getter": "get_radial_steps", + "index": -1 + }, + { + "type": "int", + "name": "sections", + "setter": "set_sections", + "getter": "get_sections", + "index": -1 + }, + { + "type": "float", + "name": "section_length", + "setter": "set_section_length", + "getter": "get_section_length", + "index": -1 + }, + { + "type": "int", + "name": "section_rings", + "setter": "set_section_rings", + "getter": "get_section_rings", + "index": -1 + }, + { + "type": "Curve", + "name": "curve", + "setter": "set_curve", + "getter": "get_curve", + "index": -1 + } + ] + }, + { + "name": "Tween", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "TransitionType", + "values": [ + { + "name": "TRANS_LINEAR", + "value": 0 + }, + { + "name": "TRANS_SINE", + "value": 1 + }, + { + "name": "TRANS_QUINT", + "value": 2 + }, + { + "name": "TRANS_QUART", + "value": 3 + }, + { + "name": "TRANS_QUAD", + "value": 4 + }, + { + "name": "TRANS_EXPO", + "value": 5 + }, + { + "name": "TRANS_ELASTIC", + "value": 6 + }, + { + "name": "TRANS_CUBIC", + "value": 7 + }, + { + "name": "TRANS_CIRC", + "value": 8 + }, + { + "name": "TRANS_BOUNCE", + "value": 9 + }, + { + "name": "TRANS_BACK", + "value": 10 + } + ] + }, + { + "name": "TweenPauseMode", + "values": [ + { + "name": "TWEEN_PAUSE_BOUND", + "value": 0 + }, + { + "name": "TWEEN_PAUSE_STOP", + "value": 1 + }, + { + "name": "TWEEN_PAUSE_PROCESS", + "value": 2 + } + ] + }, + { + "name": "TweenProcessMode", + "values": [ + { + "name": "TWEEN_PROCESS_PHYSICS", + "value": 0 + }, + { + "name": "TWEEN_PROCESS_IDLE", + "value": 1 + } + ] + }, + { + "name": "EaseType", + "values": [ + { + "name": "EASE_IN", + "value": 0 + }, + { + "name": "EASE_OUT", + "value": 1 + }, + { + "name": "EASE_IN_OUT", + "value": 2 + }, + { + "name": "EASE_OUT_IN", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "tween_property", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "PropertyTweener" + }, + "arguments": [ + { + "name": "object", + "type": "Object" + }, + { + "name": "property", + "type": "NodePath" + }, + { + "name": "final_val", + "type": "Variant" + }, + { + "name": "duration", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "tween_interval", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "IntervalTweener" + }, + "arguments": [ + { + "name": "time", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "tween_callback", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "CallbackTweener" + }, + "arguments": [ + { + "name": "callback", + "type": "Callable" + } + ] + }, + { + "name": "tween_method", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "MethodTweener" + }, + "arguments": [ + { + "name": "method", + "type": "Callable" + }, + { + "name": "from", + "type": "float", + "meta": "float" + }, + { + "name": "to", + "type": "float", + "meta": "float" + }, + { + "name": "duration", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "custom_step", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "delta", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "pause", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "play", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "kill", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_running", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_valid", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "bind_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Tween" + }, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "set_process_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Tween" + }, + "arguments": [ + { + "name": "mode", + "type": "enum::Tween.TweenProcessMode" + } + ] + }, + { + "name": "set_pause_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Tween" + }, + "arguments": [ + { + "name": "mode", + "type": "enum::Tween.TweenPauseMode" + } + ] + }, + { + "name": "set_parallel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172414601, + "return_value": { + "type": "Tween" + }, + "arguments": [ + { + "name": "parallel", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "set_loops", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 172413512, + "return_value": { + "type": "Tween" + }, + "arguments": [ + { + "name": "loops", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "set_speed_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Tween" + }, + "arguments": [ + { + "name": "speed", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "set_trans", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Tween" + }, + "arguments": [ + { + "name": "trans", + "type": "enum::Tween.TransitionType" + } + ] + }, + { + "name": "set_ease", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Tween" + }, + "arguments": [ + { + "name": "ease", + "type": "enum::Tween.EaseType" + } + ] + }, + { + "name": "parallel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Tween" + } + }, + { + "name": "chain", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Tween" + } + }, + { + "name": "interpolate_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135553772, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "trans_type", + "type": "Variant" + }, + { + "name": "ease_type", + "type": "Variant" + }, + { + "name": "elapsed_time", + "type": "float", + "meta": "float" + }, + { + "name": "initial_value", + "type": "float", + "meta": "float" + }, + { + "name": "delta_value", + "type": "enum::Tween.TransitionType" + }, + { + "name": "duration", + "type": "enum::Tween.EaseType" + } + ] + } + ], + "signals": [ + { + "name": "loop_finished", + "arguments": [ + { + "name": "loop_count", + "type": "int" + } + ] + }, + { + "name": "step_finished", + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "finished" + } + ] + }, + { + "name": "Tweener", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core", + "signals": [ + { + "name": "finished" + } + ] + }, + { + "name": "UDPServer", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "listen", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "uint16" + }, + { + "name": "bind_address", + "type": "String", + "default_value": "\"*\"" + } + ] + }, + { + "name": "poll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "is_connection_available", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_local_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "is_listening", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "take_connection", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PacketPeerUDP" + } + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_max_pending_connections", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_pending_connections", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max_pending_connections", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "int", + "name": "max_pending_connections", + "setter": "set_max_pending_connections", + "getter": "get_max_pending_connections", + "index": -1 + } + ] + }, + { + "name": "UPNP", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "UPNPResult", + "values": [ + { + "name": "UPNP_RESULT_SUCCESS", + "value": 0 + }, + { + "name": "UPNP_RESULT_NOT_AUTHORIZED", + "value": 1 + }, + { + "name": "UPNP_RESULT_PORT_MAPPING_NOT_FOUND", + "value": 2 + }, + { + "name": "UPNP_RESULT_INCONSISTENT_PARAMETERS", + "value": 3 + }, + { + "name": "UPNP_RESULT_NO_SUCH_ENTRY_IN_ARRAY", + "value": 4 + }, + { + "name": "UPNP_RESULT_ACTION_FAILED", + "value": 5 + }, + { + "name": "UPNP_RESULT_SRC_IP_WILDCARD_NOT_PERMITTED", + "value": 6 + }, + { + "name": "UPNP_RESULT_EXT_PORT_WILDCARD_NOT_PERMITTED", + "value": 7 + }, + { + "name": "UPNP_RESULT_INT_PORT_WILDCARD_NOT_PERMITTED", + "value": 8 + }, + { + "name": "UPNP_RESULT_REMOTE_HOST_MUST_BE_WILDCARD", + "value": 9 + }, + { + "name": "UPNP_RESULT_EXT_PORT_MUST_BE_WILDCARD", + "value": 10 + }, + { + "name": "UPNP_RESULT_NO_PORT_MAPS_AVAILABLE", + "value": 11 + }, + { + "name": "UPNP_RESULT_CONFLICT_WITH_OTHER_MECHANISM", + "value": 12 + }, + { + "name": "UPNP_RESULT_CONFLICT_WITH_OTHER_MAPPING", + "value": 13 + }, + { + "name": "UPNP_RESULT_SAME_PORT_VALUES_REQUIRED", + "value": 14 + }, + { + "name": "UPNP_RESULT_ONLY_PERMANENT_LEASE_SUPPORTED", + "value": 15 + }, + { + "name": "UPNP_RESULT_INVALID_GATEWAY", + "value": 16 + }, + { + "name": "UPNP_RESULT_INVALID_PORT", + "value": 17 + }, + { + "name": "UPNP_RESULT_INVALID_PROTOCOL", + "value": 18 + }, + { + "name": "UPNP_RESULT_INVALID_DURATION", + "value": 19 + }, + { + "name": "UPNP_RESULT_INVALID_ARGS", + "value": 20 + }, + { + "name": "UPNP_RESULT_INVALID_RESPONSE", + "value": 21 + }, + { + "name": "UPNP_RESULT_INVALID_PARAM", + "value": 22 + }, + { + "name": "UPNP_RESULT_HTTP_ERROR", + "value": 23 + }, + { + "name": "UPNP_RESULT_SOCKET_ERROR", + "value": 24 + }, + { + "name": "UPNP_RESULT_MEM_ALLOC_ERROR", + "value": 25 + }, + { + "name": "UPNP_RESULT_NO_GATEWAY", + "value": 26 + }, + { + "name": "UPNP_RESULT_NO_DEVICES", + "value": 27 + }, + { + "name": "UPNP_RESULT_UNKNOWN_ERROR", + "value": 28 + } + ] + } + ], + "methods": [ + { + "name": "get_device_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_device", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "UPNPDevice" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_device", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "device", + "type": "UPNPDevice" + } + ] + }, + { + "name": "set_device", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "device", + "type": "UPNPDevice" + } + ] + }, + { + "name": "remove_device", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_devices", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_gateway", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "UPNPDevice" + } + }, + { + "name": "discover", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 290169358, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "timeout", + "type": "int", + "meta": "int32", + "default_value": "2000" + }, + { + "name": "ttl", + "type": "int", + "meta": "int32", + "default_value": "2" + }, + { + "name": "device_filter", + "type": "String", + "default_value": "\"InternetGatewayDevice\"" + } + ] + }, + { + "name": "query_external_address", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "add_port_mapping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1366919971, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + }, + { + "name": "port_internal", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "desc", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "proto", + "type": "String", + "default_value": "\"UDP\"" + }, + { + "name": "duration", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "delete_port_mapping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + }, + { + "name": "proto", + "type": "String", + "default_value": "\"UDP\"" + } + ] + }, + { + "name": "set_discover_multicast_if", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "m_if", + "type": "String" + } + ] + }, + { + "name": "get_discover_multicast_if", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_discover_local_port", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_discover_local_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_discover_ipv6", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ipv6", + "type": "bool" + } + ] + }, + { + "name": "is_discover_ipv6", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "String", + "name": "discover_multicast_if", + "setter": "set_discover_multicast_if", + "getter": "get_discover_multicast_if", + "index": -1 + }, + { + "type": "int", + "name": "discover_local_port", + "setter": "set_discover_local_port", + "getter": "get_discover_local_port", + "index": -1 + }, + { + "type": "bool", + "name": "discover_ipv6", + "setter": "set_discover_ipv6", + "getter": "is_discover_ipv6", + "index": -1 + } + ] + }, + { + "name": "UPNPDevice", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "IGDStatus", + "values": [ + { + "name": "IGD_STATUS_OK", + "value": 0 + }, + { + "name": "IGD_STATUS_HTTP_ERROR", + "value": 1 + }, + { + "name": "IGD_STATUS_HTTP_EMPTY", + "value": 2 + }, + { + "name": "IGD_STATUS_NO_URLS", + "value": 3 + }, + { + "name": "IGD_STATUS_NO_IGD", + "value": 4 + }, + { + "name": "IGD_STATUS_DISCONNECTED", + "value": 5 + }, + { + "name": "IGD_STATUS_UNKNOWN_DEVICE", + "value": 6 + }, + { + "name": "IGD_STATUS_INVALID_CONTROL", + "value": 7 + }, + { + "name": "IGD_STATUS_MALLOC_ERROR", + "value": 8 + }, + { + "name": "IGD_STATUS_UNKNOWN_ERROR", + "value": 9 + } + ] + } + ], + "methods": [ + { + "name": "is_valid_gateway", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "query_external_address", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "add_port_mapping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 1366919971, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + }, + { + "name": "port_internal", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "desc", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "proto", + "type": "String", + "default_value": "\"UDP\"" + }, + { + "name": "duration", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "delete_port_mapping", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + }, + { + "name": "proto", + "type": "String", + "default_value": "\"UDP\"" + } + ] + }, + { + "name": "set_description_url", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "url", + "type": "String" + } + ] + }, + { + "name": "get_description_url", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_service_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "String" + } + ] + }, + { + "name": "get_service_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_igd_control_url", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "url", + "type": "String" + } + ] + }, + { + "name": "get_igd_control_url", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_igd_service_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "String" + } + ] + }, + { + "name": "get_igd_service_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_igd_our_addr", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "addr", + "type": "String" + } + ] + }, + { + "name": "get_igd_our_addr", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_igd_status", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "status", + "type": "enum::UPNPDevice.IGDStatus" + } + ] + }, + { + "name": "get_igd_status", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::UPNPDevice.IGDStatus" + } + } + ], + "properties": [ + { + "type": "String", + "name": "description_url", + "setter": "set_description_url", + "getter": "get_description_url", + "index": -1 + }, + { + "type": "String", + "name": "service_type", + "setter": "set_service_type", + "getter": "get_service_type", + "index": -1 + }, + { + "type": "String", + "name": "igd_control_url", + "setter": "set_igd_control_url", + "getter": "get_igd_control_url", + "index": -1 + }, + { + "type": "String", + "name": "igd_service_type", + "setter": "set_igd_service_type", + "getter": "get_igd_service_type", + "index": -1 + }, + { + "type": "String", + "name": "igd_our_addr", + "setter": "set_igd_our_addr", + "getter": "get_igd_our_addr", + "index": -1 + }, + { + "type": "int", + "name": "igd_status", + "setter": "set_igd_status", + "getter": "get_igd_status", + "index": -1 + } + ] + }, + { + "name": "UndoRedo", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "MergeMode", + "values": [ + { + "name": "MERGE_DISABLE", + "value": 0 + }, + { + "name": "MERGE_ENDS", + "value": 1 + }, + { + "name": "MERGE_ALL", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "create_action", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "merge_mode", + "type": "enum::UndoRedo.MergeMode", + "default_value": "0" + } + ] + }, + { + "name": "commit_action", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133279208, + "arguments": [ + { + "name": "execute", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "is_committing_action", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "add_do_method", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135410025, + "return_value": { + "type": "void" + }, + "arguments": [ + { + "name": "object", + "type": "Object" + }, + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "add_undo_method", + "is_const": false, + "is_vararg": true, + "is_virtual": false, + "hash": 135410025, + "return_value": { + "type": "void" + }, + "arguments": [ + { + "name": "object", + "type": "Object" + }, + { + "name": "method", + "type": "StringName" + } + ] + }, + { + "name": "add_do_property", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "object", + "type": "Object" + }, + { + "name": "property", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "add_undo_property", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "object", + "type": "Object" + }, + { + "name": "property", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "add_do_reference", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "object", + "type": "Object" + } + ] + }, + { + "name": "add_undo_reference", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "object", + "type": "Object" + } + ] + }, + { + "name": "get_history_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_current_action", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_action_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_history", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133279208, + "arguments": [ + { + "name": "increase_version", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "get_current_action_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "has_undo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "has_redo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_version", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "redo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "undo", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "version_changed" + } + ] + }, + { + "name": "VBoxContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "BoxContainer", + "api_type": "core" + }, + { + "name": "VScrollBar", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "ScrollBar", + "api_type": "core" + }, + { + "name": "VSeparator", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Separator", + "api_type": "core" + }, + { + "name": "VSlider", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Slider", + "api_type": "core" + }, + { + "name": "VSplitContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "SplitContainer", + "api_type": "core" + }, + { + "name": "VehicleBody3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "RigidBody3D", + "api_type": "core", + "methods": [ + { + "name": "set_engine_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "engine_force", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_engine_force", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_brake", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "brake", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_brake", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_steering", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "steering", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_steering", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "engine_force", + "setter": "set_engine_force", + "getter": "get_engine_force", + "index": -1 + }, + { + "type": "float", + "name": "brake", + "setter": "set_brake", + "getter": "get_brake", + "index": -1 + }, + { + "type": "float", + "name": "steering", + "setter": "set_steering", + "getter": "get_steering", + "index": -1 + } + ] + }, + { + "name": "VehicleWheel3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_suspension_rest_length", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_suspension_rest_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_suspension_travel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_suspension_travel", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_suspension_stiffness", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_suspension_stiffness", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_suspension_max_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_suspension_max_force", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_damping_compression", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_damping_compression", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_damping_relaxation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_damping_relaxation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_use_as_traction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_used_as_traction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_use_as_steering", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_used_as_steering", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_friction_slip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_friction_slip", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "is_in_contact", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_roll_influence", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "roll_influence", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_roll_influence", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_skidinfo", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_rpm", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_engine_force", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "engine_force", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_engine_force", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_brake", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "brake", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_brake", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_steering", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "steering", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_steering", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "engine_force", + "setter": "set_engine_force", + "getter": "get_engine_force", + "index": -1 + }, + { + "type": "float", + "name": "brake", + "setter": "set_brake", + "getter": "get_brake", + "index": -1 + }, + { + "type": "float", + "name": "steering", + "setter": "set_steering", + "getter": "get_steering", + "index": -1 + }, + { + "type": "bool", + "name": "use_as_traction", + "setter": "set_use_as_traction", + "getter": "is_used_as_traction", + "index": -1 + }, + { + "type": "bool", + "name": "use_as_steering", + "setter": "set_use_as_steering", + "getter": "is_used_as_steering", + "index": -1 + }, + { + "type": "float", + "name": "wheel_roll_influence", + "setter": "set_roll_influence", + "getter": "get_roll_influence", + "index": -1 + }, + { + "type": "float", + "name": "wheel_radius", + "setter": "set_radius", + "getter": "get_radius", + "index": -1 + }, + { + "type": "float", + "name": "wheel_rest_length", + "setter": "set_suspension_rest_length", + "getter": "get_suspension_rest_length", + "index": -1 + }, + { + "type": "float", + "name": "wheel_friction_slip", + "setter": "set_friction_slip", + "getter": "get_friction_slip", + "index": -1 + }, + { + "type": "float", + "name": "suspension_travel", + "setter": "set_suspension_travel", + "getter": "get_suspension_travel", + "index": -1 + }, + { + "type": "float", + "name": "suspension_stiffness", + "setter": "set_suspension_stiffness", + "getter": "get_suspension_stiffness", + "index": -1 + }, + { + "type": "float", + "name": "suspension_max_force", + "setter": "set_suspension_max_force", + "getter": "get_suspension_max_force", + "index": -1 + }, + { + "type": "float", + "name": "damping_compression", + "setter": "set_damping_compression", + "getter": "get_damping_compression", + "index": -1 + }, + { + "type": "float", + "name": "damping_relaxation", + "setter": "set_damping_relaxation", + "getter": "get_damping_relaxation", + "index": -1 + } + ] + }, + { + "name": "VelocityTracker3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "set_track_physics_step", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_tracking_physics_step", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "update_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector3" + } + ] + }, + { + "name": "get_tracked_linear_velocity", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "reset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector3" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "track_physics_step", + "setter": "set_track_physics_step", + "getter": "is_tracking_physics_step", + "index": -1 + } + ] + }, + { + "name": "VideoPlayer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Control", + "api_type": "core", + "methods": [ + { + "name": "set_stream", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "stream", + "type": "VideoStream" + } + ] + }, + { + "name": "get_stream", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "VideoStream" + } + }, + { + "name": "play", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_playing", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_paused", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "paused", + "type": "bool" + } + ] + }, + { + "name": "is_paused", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_volume", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "volume", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_volume", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_volume_db", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "db", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_volume_db", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_audio_track", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "track", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_audio_track", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_stream_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_stream_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_stream_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_autoplay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "has_autoplay", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_expand", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "has_expand", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_buffering_msec", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "msec", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_buffering_msec", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_bus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bus", + "type": "StringName" + } + ] + }, + { + "name": "get_bus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "get_video_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + } + ], + "signals": [ + { + "name": "finished" + } + ], + "properties": [ + { + "type": "int", + "name": "audio_track", + "setter": "set_audio_track", + "getter": "get_audio_track", + "index": -1 + }, + { + "type": "VideoStream", + "name": "stream", + "setter": "set_stream", + "getter": "get_stream", + "index": -1 + }, + { + "type": "float", + "name": "volume_db", + "setter": "set_volume_db", + "getter": "get_volume_db", + "index": -1 + }, + { + "type": "float", + "name": "volume", + "setter": "set_volume", + "getter": "get_volume", + "index": -1 + }, + { + "type": "bool", + "name": "autoplay", + "setter": "set_autoplay", + "getter": "has_autoplay", + "index": -1 + }, + { + "type": "bool", + "name": "paused", + "setter": "set_paused", + "getter": "is_paused", + "index": -1 + }, + { + "type": "bool", + "name": "expand", + "setter": "set_expand", + "getter": "has_expand", + "index": -1 + }, + { + "type": "int", + "name": "buffering_msec", + "setter": "set_buffering_msec", + "getter": "get_buffering_msec", + "index": -1 + }, + { + "type": "float", + "name": "stream_position", + "setter": "set_stream_position", + "getter": "get_stream_position", + "index": -1 + }, + { + "type": "StringName", + "name": "bus", + "setter": "set_bus", + "getter": "get_bus", + "index": -1 + } + ] + }, + { + "name": "VideoStream", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core" + }, + { + "name": "VideoStreamGDNative", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VideoStream", + "api_type": "core", + "methods": [ + { + "name": "set_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "get_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "String", + "name": "file", + "setter": "set_file", + "getter": "get_file", + "index": -1 + } + ] + }, + { + "name": "VideoStreamTheora", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VideoStream", + "api_type": "core", + "methods": [ + { + "name": "set_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "get_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "String", + "name": "file", + "setter": "set_file", + "getter": "get_file", + "index": -1 + } + ] + }, + { + "name": "VideoStreamWebm", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VideoStream", + "api_type": "core", + "methods": [ + { + "name": "set_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "get_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "String", + "name": "file", + "setter": "set_file", + "getter": "get_file", + "index": -1 + } + ] + }, + { + "name": "Viewport", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node", + "api_type": "core", + "enums": [ + { + "name": "SDFOversize", + "values": [ + { + "name": "SDF_OVERSIZE_100_PERCENT", + "value": 0 + }, + { + "name": "SDF_OVERSIZE_120_PERCENT", + "value": 1 + }, + { + "name": "SDF_OVERSIZE_150_PERCENT", + "value": 2 + }, + { + "name": "SDF_OVERSIZE_200_PERCENT", + "value": 3 + }, + { + "name": "SDF_OVERSIZE_MAX", + "value": 4 + } + ] + }, + { + "name": "RenderInfo", + "values": [ + { + "name": "RENDER_INFO_OBJECTS_IN_FRAME", + "value": 0 + }, + { + "name": "RENDER_INFO_PRIMITIVES_IN_FRAME", + "value": 1 + }, + { + "name": "RENDER_INFO_DRAW_CALLS_IN_FRAME", + "value": 2 + }, + { + "name": "RENDER_INFO_MAX", + "value": 3 + } + ] + }, + { + "name": "SDFScale", + "values": [ + { + "name": "SDF_SCALE_100_PERCENT", + "value": 0 + }, + { + "name": "SDF_SCALE_50_PERCENT", + "value": 1 + }, + { + "name": "SDF_SCALE_25_PERCENT", + "value": 2 + }, + { + "name": "SDF_SCALE_MAX", + "value": 3 + } + ] + }, + { + "name": "DebugDraw", + "values": [ + { + "name": "DEBUG_DRAW_DISABLED", + "value": 0 + }, + { + "name": "DEBUG_DRAW_UNSHADED", + "value": 1 + }, + { + "name": "DEBUG_DRAW_LIGHTING", + "value": 2 + }, + { + "name": "DEBUG_DRAW_OVERDRAW", + "value": 3 + }, + { + "name": "DEBUG_DRAW_WIREFRAME", + "value": 4 + }, + { + "name": "DEBUG_DRAW_NORMAL_BUFFER", + "value": 5 + }, + { + "name": "DEBUG_DRAW_VOXEL_GI_ALBEDO", + "value": 6 + }, + { + "name": "DEBUG_DRAW_VOXEL_GI_LIGHTING", + "value": 7 + }, + { + "name": "DEBUG_DRAW_VOXEL_GI_EMISSION", + "value": 8 + }, + { + "name": "DEBUG_DRAW_SHADOW_ATLAS", + "value": 9 + }, + { + "name": "DEBUG_DRAW_DIRECTIONAL_SHADOW_ATLAS", + "value": 10 + }, + { + "name": "DEBUG_DRAW_SCENE_LUMINANCE", + "value": 11 + }, + { + "name": "DEBUG_DRAW_SSAO", + "value": 12 + }, + { + "name": "DEBUG_DRAW_PSSM_SPLITS", + "value": 13 + }, + { + "name": "DEBUG_DRAW_DECAL_ATLAS", + "value": 14 + }, + { + "name": "DEBUG_DRAW_SDFGI", + "value": 15 + }, + { + "name": "DEBUG_DRAW_SDFGI_PROBES", + "value": 16 + }, + { + "name": "DEBUG_DRAW_GI_BUFFER", + "value": 17 + }, + { + "name": "DEBUG_DRAW_DISABLE_LOD", + "value": 18 + }, + { + "name": "DEBUG_DRAW_CLUSTER_OMNI_LIGHTS", + "value": 19 + }, + { + "name": "DEBUG_DRAW_CLUSTER_SPOT_LIGHTS", + "value": 20 + }, + { + "name": "DEBUG_DRAW_CLUSTER_DECALS", + "value": 21 + }, + { + "name": "DEBUG_DRAW_CLUSTER_REFLECTION_PROBES", + "value": 22 + }, + { + "name": "DEBUG_DRAW_OCCLUDERS", + "value": 23 + } + ] + }, + { + "name": "RenderInfoType", + "values": [ + { + "name": "RENDER_INFO_TYPE_VISIBLE", + "value": 0 + }, + { + "name": "RENDER_INFO_TYPE_SHADOW", + "value": 1 + }, + { + "name": "RENDER_INFO_TYPE_MAX", + "value": 2 + } + ] + }, + { + "name": "ScreenSpaceAA", + "values": [ + { + "name": "SCREEN_SPACE_AA_DISABLED", + "value": 0 + }, + { + "name": "SCREEN_SPACE_AA_FXAA", + "value": 1 + }, + { + "name": "SCREEN_SPACE_AA_MAX", + "value": 2 + } + ] + }, + { + "name": "DefaultCanvasItemTextureFilter", + "values": [ + { + "name": "DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_NEAREST", + "value": 0 + }, + { + "name": "DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_LINEAR", + "value": 1 + }, + { + "name": "DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS", + "value": 2 + }, + { + "name": "DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS", + "value": 3 + }, + { + "name": "DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_MAX", + "value": 4 + } + ] + }, + { + "name": "ShadowAtlasQuadrantSubdiv", + "values": [ + { + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_DISABLED", + "value": 0 + }, + { + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_1", + "value": 1 + }, + { + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_4", + "value": 2 + }, + { + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_16", + "value": 3 + }, + { + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_64", + "value": 4 + }, + { + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_256", + "value": 5 + }, + { + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_1024", + "value": 6 + }, + { + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_MAX", + "value": 7 + } + ] + }, + { + "name": "DefaultCanvasItemTextureRepeat", + "values": [ + { + "name": "DEFAULT_CANVAS_ITEM_TEXTURE_REPEAT_DISABLED", + "value": 0 + }, + { + "name": "DEFAULT_CANVAS_ITEM_TEXTURE_REPEAT_ENABLED", + "value": 1 + }, + { + "name": "DEFAULT_CANVAS_ITEM_TEXTURE_REPEAT_MIRROR", + "value": 2 + }, + { + "name": "DEFAULT_CANVAS_ITEM_TEXTURE_REPEAT_MAX", + "value": 3 + } + ] + }, + { + "name": "MSAA", + "values": [ + { + "name": "MSAA_DISABLED", + "value": 0 + }, + { + "name": "MSAA_2X", + "value": 1 + }, + { + "name": "MSAA_4X", + "value": 2 + }, + { + "name": "MSAA_8X", + "value": 3 + }, + { + "name": "MSAA_16X", + "value": 4 + }, + { + "name": "MSAA_MAX", + "value": 5 + } + ] + } + ], + "methods": [ + { + "name": "set_world_2d", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "world_2d", + "type": "World2D" + } + ] + }, + { + "name": "get_world_2d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "World2D" + } + }, + { + "name": "find_world_2d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "World2D" + } + }, + { + "name": "set_world_3d", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "world_3d", + "type": "World3D" + } + ] + }, + { + "name": "get_world_3d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "World3D" + } + }, + { + "name": "find_world_3d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "World3D" + } + }, + { + "name": "set_canvas_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "xform", + "type": "Transform2D" + } + ] + }, + { + "name": "get_canvas_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "set_global_canvas_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "xform", + "type": "Transform2D" + } + ] + }, + { + "name": "get_global_canvas_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "get_final_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "get_visible_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "set_transparent_background", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "has_transparent_background", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_msaa", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "msaa", + "type": "enum::Viewport.MSAA" + } + ] + }, + { + "name": "get_msaa", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Viewport.MSAA" + } + }, + { + "name": "set_screen_space_aa", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "screen_space_aa", + "type": "enum::Viewport.ScreenSpaceAA" + } + ] + }, + { + "name": "get_screen_space_aa", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Viewport.ScreenSpaceAA" + } + }, + { + "name": "set_use_debanding", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_debanding", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_use_occlusion_culling", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_occlusion_culling", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_debug_draw", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "debug_draw", + "type": "enum::Viewport.DebugDraw" + } + ] + }, + { + "name": "get_debug_draw", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Viewport.DebugDraw" + } + }, + { + "name": "get_render_info", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "type", + "type": "enum::Viewport.RenderInfoType" + }, + { + "name": "info", + "type": "enum::Viewport.RenderInfo" + } + ] + }, + { + "name": "set_use_xr", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "use", + "type": "bool" + } + ] + }, + { + "name": "is_using_xr", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "ViewportTexture" + } + }, + { + "name": "set_physics_object_picking", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_physics_object_picking", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_viewport_rid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "input_text", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "input", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "event", + "type": "InputEvent" + }, + { + "name": "in_local_coords", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "unhandled_input", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "event", + "type": "InputEvent" + }, + { + "name": "in_local_coords", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "set_use_own_world_3d", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_own_world_3d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_camera_3d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Camera3D" + } + }, + { + "name": "get_camera_2d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Camera2D" + } + }, + { + "name": "set_as_audio_listener", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_audio_listener", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_as_audio_listener_2d", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_audio_listener_2d", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_disable_3d", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "is_3d_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_mouse_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "warp_mouse", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "to_position", + "type": "Vector2" + } + ] + }, + { + "name": "gui_get_drag_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Variant" + } + }, + { + "name": "gui_is_dragging", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_disable_input", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "disable", + "type": "bool" + } + ] + }, + { + "name": "is_input_disabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_shadow_atlas_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_shadow_atlas_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_shadow_atlas_16_bits", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_shadow_atlas_16_bits", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_snap_controls_to_pixels", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_snap_controls_to_pixels_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_snap_2d_transforms_to_pixel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_snap_2d_transforms_to_pixel_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_snap_2d_vertices_to_pixel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_snap_2d_vertices_to_pixel_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_shadow_atlas_quadrant_subdiv", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "quadrant", + "type": "int", + "meta": "int32" + }, + { + "name": "subdiv", + "type": "enum::Viewport.ShadowAtlasQuadrantSubdiv" + } + ] + }, + { + "name": "get_shadow_atlas_quadrant_subdiv", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Viewport.ShadowAtlasQuadrantSubdiv" + }, + "arguments": [ + { + "name": "quadrant", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_input_as_handled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "is_input_handled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_handle_input_locally", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_handling_input_locally", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_default_canvas_item_texture_filter", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Viewport.DefaultCanvasItemTextureFilter" + } + ] + }, + { + "name": "get_default_canvas_item_texture_filter", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Viewport.DefaultCanvasItemTextureFilter" + } + }, + { + "name": "set_embed_subwindows_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_embed_subwindows_hint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_embedding_subwindows", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_default_canvas_item_texture_repeat", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Viewport.DefaultCanvasItemTextureRepeat" + } + ] + }, + { + "name": "get_default_canvas_item_texture_repeat", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Viewport.DefaultCanvasItemTextureRepeat" + } + }, + { + "name": "set_sdf_oversize", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "oversize", + "type": "enum::Viewport.SDFOversize" + } + ] + }, + { + "name": "get_sdf_oversize", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Viewport.SDFOversize" + } + }, + { + "name": "set_sdf_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "scale", + "type": "enum::Viewport.SDFScale" + } + ] + }, + { + "name": "get_sdf_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Viewport.SDFScale" + } + }, + { + "name": "set_lod_threshold", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pixels", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_lod_threshold", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "signals": [ + { + "name": "size_changed" + }, + { + "name": "gui_focus_changed", + "arguments": [ + { + "name": "node", + "type": "Control" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "use_xr", + "setter": "set_use_xr", + "getter": "is_using_xr", + "index": -1 + }, + { + "type": "bool", + "name": "own_world_3d", + "setter": "set_use_own_world_3d", + "getter": "is_using_own_world_3d", + "index": -1 + }, + { + "type": "World3D", + "name": "world_3d", + "setter": "set_world_3d", + "getter": "get_world_3d", + "index": -1 + }, + { + "type": "World2D", + "name": "world_2d", + "setter": "set_world_2d", + "getter": "get_world_2d", + "index": -1 + }, + { + "type": "bool", + "name": "transparent_bg", + "setter": "set_transparent_background", + "getter": "has_transparent_background", + "index": -1 + }, + { + "type": "bool", + "name": "handle_input_locally", + "setter": "set_handle_input_locally", + "getter": "is_handling_input_locally", + "index": -1 + }, + { + "type": "bool", + "name": "snap_2d_transforms_to_pixel", + "setter": "set_snap_2d_transforms_to_pixel", + "getter": "is_snap_2d_transforms_to_pixel_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "snap_2d_vertices_to_pixel", + "setter": "set_snap_2d_vertices_to_pixel", + "getter": "is_snap_2d_vertices_to_pixel_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "disable_3d", + "setter": "set_disable_3d", + "getter": "is_3d_disabled", + "index": -1 + }, + { + "type": "int", + "name": "msaa", + "setter": "set_msaa", + "getter": "get_msaa", + "index": -1 + }, + { + "type": "int", + "name": "screen_space_aa", + "setter": "set_screen_space_aa", + "getter": "get_screen_space_aa", + "index": -1 + }, + { + "type": "bool", + "name": "use_debanding", + "setter": "set_use_debanding", + "getter": "is_using_debanding", + "index": -1 + }, + { + "type": "bool", + "name": "use_occlusion_culling", + "setter": "set_use_occlusion_culling", + "getter": "is_using_occlusion_culling", + "index": -1 + }, + { + "type": "float", + "name": "lod_threshold", + "setter": "set_lod_threshold", + "getter": "get_lod_threshold", + "index": -1 + }, + { + "type": "int", + "name": "debug_draw", + "setter": "set_debug_draw", + "getter": "get_debug_draw", + "index": -1 + }, + { + "type": "int", + "name": "canvas_item_default_texture_filter", + "setter": "set_default_canvas_item_texture_filter", + "getter": "get_default_canvas_item_texture_filter", + "index": -1 + }, + { + "type": "int", + "name": "canvas_item_default_texture_repeat", + "setter": "set_default_canvas_item_texture_repeat", + "getter": "get_default_canvas_item_texture_repeat", + "index": -1 + }, + { + "type": "bool", + "name": "audio_listener_enable_2d", + "setter": "set_as_audio_listener_2d", + "getter": "is_audio_listener_2d", + "index": -1 + }, + { + "type": "bool", + "name": "audio_listener_enable_3d", + "setter": "set_as_audio_listener", + "getter": "is_audio_listener", + "index": -1 + }, + { + "type": "bool", + "name": "physics_object_picking", + "setter": "set_physics_object_picking", + "getter": "get_physics_object_picking", + "index": -1 + }, + { + "type": "bool", + "name": "gui_disable_input", + "setter": "set_disable_input", + "getter": "is_input_disabled", + "index": -1 + }, + { + "type": "bool", + "name": "gui_snap_controls_to_pixels", + "setter": "set_snap_controls_to_pixels", + "getter": "is_snap_controls_to_pixels_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "gui_embed_subwindows", + "setter": "set_embed_subwindows_hint", + "getter": "get_embed_subwindows_hint", + "index": -1 + }, + { + "type": "int", + "name": "sdf_oversize", + "setter": "set_sdf_oversize", + "getter": "get_sdf_oversize", + "index": -1 + }, + { + "type": "int", + "name": "sdf_scale", + "setter": "set_sdf_scale", + "getter": "get_sdf_scale", + "index": -1 + }, + { + "type": "int", + "name": "shadow_atlas_size", + "setter": "set_shadow_atlas_size", + "getter": "get_shadow_atlas_size", + "index": -1 + }, + { + "type": "bool", + "name": "shadow_atlas_16_bits", + "setter": "set_shadow_atlas_16_bits", + "getter": "get_shadow_atlas_16_bits", + "index": -1 + }, + { + "type": "int", + "name": "shadow_atlas_quad_0", + "setter": "set_shadow_atlas_quadrant_subdiv", + "getter": "get_shadow_atlas_quadrant_subdiv", + "index": 0 + }, + { + "type": "int", + "name": "shadow_atlas_quad_1", + "setter": "set_shadow_atlas_quadrant_subdiv", + "getter": "get_shadow_atlas_quadrant_subdiv", + "index": 1 + }, + { + "type": "int", + "name": "shadow_atlas_quad_2", + "setter": "set_shadow_atlas_quadrant_subdiv", + "getter": "get_shadow_atlas_quadrant_subdiv", + "index": 2 + }, + { + "type": "int", + "name": "shadow_atlas_quad_3", + "setter": "set_shadow_atlas_quadrant_subdiv", + "getter": "get_shadow_atlas_quadrant_subdiv", + "index": 3 + }, + { + "type": "Transform2D", + "name": "canvas_transform", + "setter": "set_canvas_transform", + "getter": "get_canvas_transform", + "index": -1 + }, + { + "type": "Transform2D", + "name": "global_canvas_transform", + "setter": "set_global_canvas_transform", + "getter": "get_global_canvas_transform", + "index": -1 + } + ] + }, + { + "name": "ViewportTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "methods": [ + { + "name": "set_viewport_path_in_scene", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_viewport_path_in_scene", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + } + ], + "properties": [ + { + "type": "NodePath", + "name": "viewport_path", + "setter": "set_viewport_path_in_scene", + "getter": "get_viewport_path_in_scene", + "index": -1 + } + ] + }, + { + "name": "VisibleOnScreenEnabler2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "VisibleOnScreenNotifier2D", + "api_type": "core", + "enums": [ + { + "name": "EnableMode", + "values": [ + { + "name": "ENABLE_MODE_INHERIT", + "value": 0 + }, + { + "name": "ENABLE_MODE_ALWAYS", + "value": 1 + }, + { + "name": "ENABLE_MODE_WHEN_PAUSED", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_enable_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::VisibleOnScreenEnabler2D.EnableMode" + } + ] + }, + { + "name": "get_enable_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::VisibleOnScreenEnabler2D.EnableMode" + } + }, + { + "name": "set_enable_node_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_enable_node_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "NodePath" + } + } + ], + "properties": [ + { + "type": "int", + "name": "enable_mode", + "setter": "set_enable_mode", + "getter": "get_enable_mode", + "index": -1 + }, + { + "type": "NodePath", + "name": "enable_node_path", + "setter": "set_enable_node_path", + "getter": "get_enable_node_path", + "index": -1 + } + ] + }, + { + "name": "VisibleOnScreenEnabler3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "VisibleOnScreenNotifier3D", + "api_type": "core", + "enums": [ + { + "name": "EnableMode", + "values": [ + { + "name": "ENABLE_MODE_INHERIT", + "value": 0 + }, + { + "name": "ENABLE_MODE_ALWAYS", + "value": 1 + }, + { + "name": "ENABLE_MODE_WHEN_PAUSED", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_enable_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::VisibleOnScreenEnabler3D.EnableMode" + } + ] + }, + { + "name": "get_enable_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::VisibleOnScreenEnabler3D.EnableMode" + } + }, + { + "name": "set_enable_node_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_enable_node_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "NodePath" + } + } + ], + "properties": [ + { + "type": "int", + "name": "enable_mode", + "setter": "set_enable_mode", + "getter": "get_enable_mode", + "index": -1 + }, + { + "type": "NodePath", + "name": "enable_node_path", + "setter": "set_enable_node_path", + "getter": "get_enable_node_path", + "index": -1 + } + ] + }, + { + "name": "VisibleOnScreenNotifier2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "methods": [ + { + "name": "set_rect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rect", + "type": "Rect2" + } + ] + }, + { + "name": "get_rect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Rect2" + } + }, + { + "name": "is_on_screen", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "screen_entered" + }, + { + "name": "screen_exited" + } + ], + "properties": [ + { + "type": "Rect2", + "name": "rect", + "setter": "set_rect", + "getter": "get_rect", + "index": -1 + } + ] + }, + { + "name": "VisibleOnScreenNotifier3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "VisualInstance3D", + "api_type": "core", + "methods": [ + { + "name": "set_aabb", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rect", + "type": "AABB" + } + ] + }, + { + "name": "is_on_screen", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "screen_entered" + }, + { + "name": "screen_exited" + } + ], + "properties": [ + { + "type": "AABB", + "name": "aabb", + "setter": "set_aabb", + "getter": "get_aabb", + "index": -1 + } + ] + }, + { + "name": "VisualInstance3D", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_base", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base", + "type": "RID" + } + ] + }, + { + "name": "get_base", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_instance", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_layer_mask", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mask", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_layer_mask", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "set_layer_mask_bit", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_layer_mask_bit", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "layer", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_transformed_aabb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AABB" + } + }, + { + "name": "get_aabb", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AABB" + } + } + ], + "properties": [ + { + "type": "int", + "name": "layers", + "setter": "set_layer_mask", + "getter": "get_layer_mask", + "index": -1 + } + ] + }, + { + "name": "VisualScript", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Script", + "api_type": "core", + "methods": [ + { + "name": "add_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "func_node_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_function", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "remove_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "rename_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "new_name", + "type": "StringName" + } + ] + }, + { + "name": "set_scroll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "ofs", + "type": "Vector2" + } + ] + }, + { + "name": "get_scroll", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "add_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "node", + "type": "VisualScriptNode" + }, + { + "name": "position", + "type": "Vector2", + "default_value": "Vector2(0, 0)" + } + ] + }, + { + "name": "remove_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_function_node_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "VisualScriptNode" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_node_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_node_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "sequence_connect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "from_node", + "type": "int", + "meta": "int32" + }, + { + "name": "from_output", + "type": "int", + "meta": "int32" + }, + { + "name": "to_node", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "sequence_disconnect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "from_node", + "type": "int", + "meta": "int32" + }, + { + "name": "from_output", + "type": "int", + "meta": "int32" + }, + { + "name": "to_node", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_sequence_connection", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "from_node", + "type": "int", + "meta": "int32" + }, + { + "name": "from_output", + "type": "int", + "meta": "int32" + }, + { + "name": "to_node", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "data_connect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "from_node", + "type": "int", + "meta": "int32" + }, + { + "name": "from_port", + "type": "int", + "meta": "int32" + }, + { + "name": "to_node", + "type": "int", + "meta": "int32" + }, + { + "name": "to_port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "data_disconnect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "from_node", + "type": "int", + "meta": "int32" + }, + { + "name": "from_port", + "type": "int", + "meta": "int32" + }, + { + "name": "to_node", + "type": "int", + "meta": "int32" + }, + { + "name": "to_port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_data_connection", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135481931, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "from_node", + "type": "int", + "meta": "int32" + }, + { + "name": "from_port", + "type": "int", + "meta": "int32" + }, + { + "name": "to_node", + "type": "int", + "meta": "int32" + }, + { + "name": "to_port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_variable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 182667338, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "default_value", + "type": "Variant", + "default_value": "null" + }, + { + "name": "export", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "has_variable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "remove_variable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "set_variable_default_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_variable_default_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "set_variable_info", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "value", + "type": "Dictionary" + } + ] + }, + { + "name": "get_variable_info", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "set_variable_export", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_variable_export", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "rename_variable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "new_name", + "type": "StringName" + } + ] + }, + { + "name": "add_custom_signal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "has_custom_signal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "custom_signal_add_argument", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 136835882, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "type", + "type": "enum::Variant.Type" + }, + { + "name": "argname", + "type": "String" + }, + { + "name": "index", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "custom_signal_set_argument_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "argidx", + "type": "int", + "meta": "int32" + }, + { + "name": "type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "custom_signal_get_argument_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "enum::Variant.Type" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "argidx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "custom_signal_set_argument_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "argidx", + "type": "int", + "meta": "int32" + }, + { + "name": "argname", + "type": "String" + } + ] + }, + { + "name": "custom_signal_get_argument_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "argidx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "custom_signal_remove_argument", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "argidx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "custom_signal_get_argument_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "custom_signal_swap_argument", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "argidx", + "type": "int", + "meta": "int32" + }, + { + "name": "withidx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_custom_signal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "rename_custom_signal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "new_name", + "type": "StringName" + } + ] + }, + { + "name": "set_instance_base_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "StringName" + } + ] + } + ], + "signals": [ + { + "name": "node_ports_changed", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "Dictionary", + "name": "data", + "setter": "_set_data", + "getter": "_get_data", + "index": -1 + } + ] + }, + { + "name": "VisualScriptBasicTypeConstant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_basic_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "get_basic_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Type" + } + }, + { + "name": "set_basic_type_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_basic_type_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + } + ], + "properties": [ + { + "type": "int", + "name": "basic_type", + "setter": "set_basic_type", + "getter": "get_basic_type", + "index": -1 + }, + { + "type": "String", + "name": "constant", + "setter": "set_basic_type_constant", + "getter": "get_basic_type_constant", + "index": -1 + } + ] + }, + { + "name": "VisualScriptBuiltinFunc", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "enums": [ + { + "name": "BuiltinFunc", + "values": [ + { + "name": "MATH_SIN", + "value": 0 + }, + { + "name": "MATH_COS", + "value": 1 + }, + { + "name": "MATH_TAN", + "value": 2 + }, + { + "name": "MATH_SINH", + "value": 3 + }, + { + "name": "MATH_COSH", + "value": 4 + }, + { + "name": "MATH_TANH", + "value": 5 + }, + { + "name": "MATH_ASIN", + "value": 6 + }, + { + "name": "MATH_ACOS", + "value": 7 + }, + { + "name": "MATH_ATAN", + "value": 8 + }, + { + "name": "MATH_ATAN2", + "value": 9 + }, + { + "name": "MATH_SQRT", + "value": 10 + }, + { + "name": "MATH_FMOD", + "value": 11 + }, + { + "name": "MATH_FPOSMOD", + "value": 12 + }, + { + "name": "MATH_FLOOR", + "value": 13 + }, + { + "name": "MATH_CEIL", + "value": 14 + }, + { + "name": "MATH_ROUND", + "value": 15 + }, + { + "name": "MATH_ABS", + "value": 16 + }, + { + "name": "MATH_SIGN", + "value": 17 + }, + { + "name": "MATH_POW", + "value": 18 + }, + { + "name": "MATH_LOG", + "value": 19 + }, + { + "name": "MATH_EXP", + "value": 20 + }, + { + "name": "MATH_ISNAN", + "value": 21 + }, + { + "name": "MATH_ISINF", + "value": 22 + }, + { + "name": "MATH_EASE", + "value": 23 + }, + { + "name": "MATH_STEP_DECIMALS", + "value": 24 + }, + { + "name": "MATH_SNAPPED", + "value": 25 + }, + { + "name": "MATH_LERP", + "value": 26 + }, + { + "name": "MATH_INVERSE_LERP", + "value": 27 + }, + { + "name": "MATH_RANGE_LERP", + "value": 28 + }, + { + "name": "MATH_MOVE_TOWARD", + "value": 29 + }, + { + "name": "MATH_RANDOMIZE", + "value": 30 + }, + { + "name": "MATH_RANDI", + "value": 31 + }, + { + "name": "MATH_RANDF", + "value": 32 + }, + { + "name": "MATH_RANDF_RANGE", + "value": 33 + }, + { + "name": "MATH_RANDI_RANGE", + "value": 34 + }, + { + "name": "MATH_SEED", + "value": 35 + }, + { + "name": "MATH_RANDSEED", + "value": 36 + }, + { + "name": "MATH_DEG2RAD", + "value": 37 + }, + { + "name": "MATH_RAD2DEG", + "value": 38 + }, + { + "name": "MATH_LINEAR2DB", + "value": 39 + }, + { + "name": "MATH_DB2LINEAR", + "value": 40 + }, + { + "name": "MATH_POLAR2CARTESIAN", + "value": 41 + }, + { + "name": "MATH_CARTESIAN2POLAR", + "value": 42 + }, + { + "name": "MATH_WRAP", + "value": 43 + }, + { + "name": "MATH_WRAPF", + "value": 44 + }, + { + "name": "LOGIC_MAX", + "value": 45 + }, + { + "name": "LOGIC_MIN", + "value": 46 + }, + { + "name": "LOGIC_CLAMP", + "value": 47 + }, + { + "name": "LOGIC_NEAREST_PO2", + "value": 48 + }, + { + "name": "OBJ_WEAKREF", + "value": 49 + }, + { + "name": "TYPE_CONVERT", + "value": 50 + }, + { + "name": "TYPE_OF", + "value": 51 + }, + { + "name": "TYPE_EXISTS", + "value": 52 + }, + { + "name": "TEXT_CHAR", + "value": 53 + }, + { + "name": "TEXT_STR", + "value": 54 + }, + { + "name": "TEXT_PRINT", + "value": 55 + }, + { + "name": "TEXT_PRINTERR", + "value": 56 + }, + { + "name": "TEXT_PRINTRAW", + "value": 57 + }, + { + "name": "VAR_TO_STR", + "value": 58 + }, + { + "name": "STR_TO_VAR", + "value": 59 + }, + { + "name": "VAR_TO_BYTES", + "value": 60 + }, + { + "name": "BYTES_TO_VAR", + "value": 61 + }, + { + "name": "MATH_SMOOTHSTEP", + "value": 62 + }, + { + "name": "MATH_POSMOD", + "value": 63 + }, + { + "name": "MATH_LERP_ANGLE", + "value": 64 + }, + { + "name": "TEXT_ORD", + "value": 65 + }, + { + "name": "FUNC_MAX", + "value": 66 + } + ] + } + ], + "methods": [ + { + "name": "set_func", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "which", + "type": "enum::VisualScriptBuiltinFunc.BuiltinFunc" + } + ] + }, + { + "name": "get_func", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::VisualScriptBuiltinFunc.BuiltinFunc" + } + } + ], + "properties": [ + { + "type": "int", + "name": "function", + "setter": "set_func", + "getter": "get_func", + "index": -1 + } + ] + }, + { + "name": "VisualScriptClassConstant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_class_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_class_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_base_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_base_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "StringName" + } + } + ], + "properties": [ + { + "type": "String", + "name": "base_type", + "setter": "set_base_type", + "getter": "get_base_type", + "index": -1 + }, + { + "type": "String", + "name": "constant", + "setter": "set_class_constant", + "getter": "get_class_constant", + "index": -1 + } + ] + }, + { + "name": "VisualScriptComment", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_title", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "title", + "type": "String" + } + ] + }, + { + "name": "get_title", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_description", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "description", + "type": "String" + } + ] + }, + { + "name": "get_description", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "String", + "name": "title", + "setter": "set_title", + "getter": "get_title", + "index": -1 + }, + { + "type": "String", + "name": "description", + "setter": "set_description", + "getter": "get_description", + "index": -1 + }, + { + "type": "Vector2", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + } + ] + }, + { + "name": "VisualScriptComposeArray", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptLists", + "api_type": "core" + }, + { + "name": "VisualScriptCondition", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core" + }, + { + "name": "VisualScriptConstant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_constant_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "get_constant_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Type" + } + }, + { + "name": "set_constant_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_constant_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Variant" + } + } + ], + "properties": [ + { + "type": "int", + "name": "type", + "setter": "set_constant_type", + "getter": "get_constant_type", + "index": -1 + }, + { + "type": "Variant", + "name": "value", + "setter": "set_constant_value", + "getter": "get_constant_value", + "index": -1 + } + ] + }, + { + "name": "VisualScriptConstructor", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_constructor_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "get_constructor_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Type" + } + }, + { + "name": "set_constructor", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "constructor", + "type": "Dictionary" + } + ] + }, + { + "name": "get_constructor", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + } + ], + "properties": [ + { + "type": "int", + "name": "type", + "setter": "set_constructor_type", + "getter": "get_constructor_type", + "index": -1 + }, + { + "type": "Dictionary", + "name": "constructor", + "setter": "set_constructor", + "getter": "get_constructor", + "index": -1 + } + ] + }, + { + "name": "VisualScriptCustomNode", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "constants": [ + { + "name": "STEP_PUSH_STACK_BIT", + "value": 16777216 + }, + { + "name": "STEP_GO_BACK_BIT", + "value": 33554432 + }, + { + "name": "STEP_NO_ADVANCE_BIT", + "value": 67108864 + }, + { + "name": "STEP_EXIT_FUNCTION_BIT", + "value": 134217728 + }, + { + "name": "STEP_YIELD_BIT", + "value": 268435456 + } + ], + "enums": [ + { + "name": "StartMode", + "values": [ + { + "name": "START_MODE_BEGIN_SEQUENCE", + "value": 0 + }, + { + "name": "START_MODE_CONTINUE_SEQUENCE", + "value": 1 + }, + { + "name": "START_MODE_RESUME_YIELD", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "_get_output_sequence_port_count", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + } + }, + { + "name": "_has_input_sequence_port", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + } + }, + { + "name": "_get_output_sequence_port_text", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "_get_input_value_port_count", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + } + }, + { + "name": "_get_output_value_port_count", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + } + }, + { + "name": "_get_input_value_port_type", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "_get_input_value_port_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "_get_input_value_port_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "_get_input_value_port_hint_string", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "_get_output_value_port_type", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "_get_output_value_port_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "_get_output_value_port_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "_get_output_value_port_hint_string", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] + }, + { + "name": "_get_caption", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_text", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_category", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_working_memory_size", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + } + }, + { + "name": "_step", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "inputs", + "type": "Array" + }, + { + "name": "outputs", + "type": "Array" + }, + { + "name": "start_mode", + "type": "int" + }, + { + "name": "working_mem", + "type": "Array" + } + ] + } + ] + }, + { + "name": "VisualScriptDeconstruct", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_deconstruct_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "get_deconstruct_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Type" + } + } + ], + "properties": [ + { + "type": "int", + "name": "type", + "setter": "set_deconstruct_type", + "getter": "get_deconstruct_type", + "index": -1 + }, + { + "type": "Array", + "name": "elem_cache", + "setter": "_set_elem_cache", + "getter": "_get_elem_cache", + "index": -1 + } + ] + }, + { + "name": "VisualScriptEmitSignal", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_signal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_signal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + } + ], + "properties": [ + { + "type": "String", + "name": "signal", + "setter": "set_signal", + "getter": "get_signal", + "index": -1 + } + ] + }, + { + "name": "VisualScriptEngineSingleton", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_singleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_singleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "String", + "name": "constant", + "setter": "set_singleton", + "getter": "get_singleton", + "index": -1 + } + ] + }, + { + "name": "VisualScriptExpression", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core" + }, + { + "name": "VisualScriptFunction", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core" + }, + { + "name": "VisualScriptFunctionCall", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "enums": [ + { + "name": "RPCCallMode", + "values": [ + { + "name": "RPC_DISABLED", + "value": 0 + }, + { + "name": "RPC_RELIABLE", + "value": 1 + }, + { + "name": "RPC_UNRELIABLE", + "value": 2 + }, + { + "name": "RPC_RELIABLE_TO_ID", + "value": 3 + }, + { + "name": "RPC_UNRELIABLE_TO_ID", + "value": 4 + } + ] + }, + { + "name": "CallMode", + "values": [ + { + "name": "CALL_MODE_SELF", + "value": 0 + }, + { + "name": "CALL_MODE_NODE_PATH", + "value": 1 + }, + { + "name": "CALL_MODE_INSTANCE", + "value": 2 + }, + { + "name": "CALL_MODE_BASIC_TYPE", + "value": 3 + }, + { + "name": "CALL_MODE_SINGLETON", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "set_base_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_type", + "type": "StringName" + } + ] + }, + { + "name": "get_base_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_base_script", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_script", + "type": "String" + } + ] + }, + { + "name": "get_base_script", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_basic_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "basic_type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "get_basic_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Type" + } + }, + { + "name": "set_singleton", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "singleton", + "type": "StringName" + } + ] + }, + { + "name": "get_singleton", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "function", + "type": "StringName" + } + ] + }, + { + "name": "get_function", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_call_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::VisualScriptFunctionCall.CallMode" + } + ] + }, + { + "name": "get_call_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualScriptFunctionCall.CallMode" + } + }, + { + "name": "set_base_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_path", + "type": "NodePath" + } + ] + }, + { + "name": "get_base_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_use_default_args", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "amount", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_use_default_args", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_rpc_call_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::VisualScriptFunctionCall.RPCCallMode" + } + ] + }, + { + "name": "get_rpc_call_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualScriptFunctionCall.RPCCallMode" + } + }, + { + "name": "set_validate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_validate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "call_mode", + "setter": "set_call_mode", + "getter": "get_call_mode", + "index": -1 + }, + { + "type": "String", + "name": "base_type", + "setter": "set_base_type", + "getter": "get_base_type", + "index": -1 + }, + { + "type": "String", + "name": "base_script", + "setter": "set_base_script", + "getter": "get_base_script", + "index": -1 + }, + { + "type": "String", + "name": "singleton", + "setter": "set_singleton", + "getter": "get_singleton", + "index": -1 + }, + { + "type": "int", + "name": "basic_type", + "setter": "set_basic_type", + "getter": "get_basic_type", + "index": -1 + }, + { + "type": "NodePath", + "name": "node_path", + "setter": "set_base_path", + "getter": "get_base_path", + "index": -1 + }, + { + "type": "Dictionary", + "name": "argument_cache", + "setter": "_set_argument_cache", + "getter": "_get_argument_cache", + "index": -1 + }, + { + "type": "String", + "name": "function", + "setter": "set_function", + "getter": "get_function", + "index": -1 + }, + { + "type": "int", + "name": "use_default_args", + "setter": "set_use_default_args", + "getter": "get_use_default_args", + "index": -1 + }, + { + "type": "bool", + "name": "validate", + "setter": "set_validate", + "getter": "get_validate", + "index": -1 + }, + { + "type": "int", + "name": "rpc_call_mode", + "setter": "set_rpc_call_mode", + "getter": "get_rpc_call_mode", + "index": -1 + } + ] + }, + { + "name": "VisualScriptFunctionState", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "connect_to_signal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "obj", + "type": "Object" + }, + { + "name": "signals", + "type": "String" + }, + { + "name": "args", + "type": "Array" + } + ] + }, + { + "name": "resume", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 365790509, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "args", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "is_valid", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ] + }, + { + "name": "VisualScriptGlobalConstant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_global_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_global_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "int", + "name": "constant", + "setter": "set_global_constant", + "getter": "get_global_constant", + "index": -1 + } + ] + }, + { + "name": "VisualScriptIndexGet", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core" + }, + { + "name": "VisualScriptIndexSet", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core" + }, + { + "name": "VisualScriptInputAction", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "enums": [ + { + "name": "Mode", + "values": [ + { + "name": "MODE_PRESSED", + "value": 0 + }, + { + "name": "MODE_RELEASED", + "value": 1 + }, + { + "name": "MODE_JUST_PRESSED", + "value": 2 + }, + { + "name": "MODE_JUST_RELEASED", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_action_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_action_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_action_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::VisualScriptInputAction.Mode" + } + ] + }, + { + "name": "get_action_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualScriptInputAction.Mode" + } + } + ], + "properties": [ + { + "type": "String", + "name": "action", + "setter": "set_action_name", + "getter": "get_action_name", + "index": -1 + }, + { + "type": "int", + "name": "mode", + "setter": "set_action_mode", + "getter": "get_action_mode", + "index": -1 + } + ] + }, + { + "name": "VisualScriptIterator", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core" + }, + { + "name": "VisualScriptLists", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "add_input_data_port", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "type", + "type": "enum::Variant.Type" + }, + { + "name": "name", + "type": "String" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_input_data_port_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_input_data_port_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "remove_input_data_port", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_output_data_port", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "type", + "type": "enum::Variant.Type" + }, + { + "name": "name", + "type": "String" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_output_data_port_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_output_data_port_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "remove_output_data_port", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + } + ] + }, + { + "name": "VisualScriptLocalVar", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_var_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_var_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_var_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "get_var_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Type" + } + } + ], + "properties": [ + { + "type": "String", + "name": "var_name", + "setter": "set_var_name", + "getter": "get_var_name", + "index": -1 + }, + { + "type": "int", + "name": "type", + "setter": "set_var_type", + "getter": "get_var_type", + "index": -1 + } + ] + }, + { + "name": "VisualScriptLocalVarSet", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_var_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_var_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_var_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "get_var_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Type" + } + } + ], + "properties": [ + { + "type": "String", + "name": "var_name", + "setter": "set_var_name", + "getter": "get_var_name", + "index": -1 + }, + { + "type": "int", + "name": "type", + "setter": "set_var_type", + "getter": "get_var_type", + "index": -1 + } + ] + }, + { + "name": "VisualScriptMathConstant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "enums": [ + { + "name": "MathConstant", + "values": [ + { + "name": "MATH_CONSTANT_ONE", + "value": 0 + }, + { + "name": "MATH_CONSTANT_PI", + "value": 1 + }, + { + "name": "MATH_CONSTANT_HALF_PI", + "value": 2 + }, + { + "name": "MATH_CONSTANT_TAU", + "value": 3 + }, + { + "name": "MATH_CONSTANT_E", + "value": 4 + }, + { + "name": "MATH_CONSTANT_SQRT2", + "value": 5 + }, + { + "name": "MATH_CONSTANT_INF", + "value": 6 + }, + { + "name": "MATH_CONSTANT_NAN", + "value": 7 + }, + { + "name": "MATH_CONSTANT_MAX", + "value": 8 + } + ] + } + ], + "methods": [ + { + "name": "set_math_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "which", + "type": "enum::VisualScriptMathConstant.MathConstant" + } + ] + }, + { + "name": "get_math_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::VisualScriptMathConstant.MathConstant" + } + } + ], + "properties": [ + { + "type": "int", + "name": "constant", + "setter": "set_math_constant", + "getter": "get_math_constant", + "index": -1 + } + ] + }, + { + "name": "VisualScriptNode", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_visual_script", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "VisualScript" + } + }, + { + "name": "set_default_input_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "port_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_default_input_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "port_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "ports_changed_notify", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "signals": [ + { + "name": "ports_changed" + } + ] + }, + { + "name": "VisualScriptOperator", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_operator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "op", + "type": "enum::Variant.Operator" + } + ] + }, + { + "name": "get_operator", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Operator" + } + }, + { + "name": "set_typed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "get_typed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Type" + } + } + ], + "properties": [ + { + "type": "int", + "name": "operator", + "setter": "set_operator", + "getter": "get_operator", + "index": -1 + }, + { + "type": "int", + "name": "type", + "setter": "set_typed", + "getter": "get_typed", + "index": -1 + } + ] + }, + { + "name": "VisualScriptPreload", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_preload", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "resource", + "type": "Resource" + } + ] + }, + { + "name": "get_preload", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Resource" + } + } + ], + "properties": [ + { + "type": "Resource", + "name": "resource", + "setter": "set_preload", + "getter": "get_preload", + "index": -1 + } + ] + }, + { + "name": "VisualScriptPropertyGet", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "enums": [ + { + "name": "CallMode", + "values": [ + { + "name": "CALL_MODE_SELF", + "value": 0 + }, + { + "name": "CALL_MODE_NODE_PATH", + "value": 1 + }, + { + "name": "CALL_MODE_INSTANCE", + "value": 2 + }, + { + "name": "CALL_MODE_BASIC_TYPE", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_base_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_type", + "type": "StringName" + } + ] + }, + { + "name": "get_base_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_base_script", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_script", + "type": "String" + } + ] + }, + { + "name": "get_base_script", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_basic_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "basic_type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "get_basic_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Type" + } + }, + { + "name": "set_property", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "property", + "type": "StringName" + } + ] + }, + { + "name": "get_property", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_call_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::VisualScriptPropertyGet.CallMode" + } + ] + }, + { + "name": "get_call_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualScriptPropertyGet.CallMode" + } + }, + { + "name": "set_base_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_path", + "type": "NodePath" + } + ] + }, + { + "name": "get_base_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "StringName" + } + ] + }, + { + "name": "get_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + } + ], + "properties": [ + { + "type": "int", + "name": "set_mode", + "setter": "set_call_mode", + "getter": "get_call_mode", + "index": -1 + }, + { + "type": "String", + "name": "base_type", + "setter": "set_base_type", + "getter": "get_base_type", + "index": -1 + }, + { + "type": "String", + "name": "base_script", + "setter": "set_base_script", + "getter": "get_base_script", + "index": -1 + }, + { + "type": "int", + "name": "type_cache", + "setter": "_set_type_cache", + "getter": "_get_type_cache", + "index": -1 + }, + { + "type": "int", + "name": "basic_type", + "setter": "set_basic_type", + "getter": "get_basic_type", + "index": -1 + }, + { + "type": "NodePath", + "name": "node_path", + "setter": "set_base_path", + "getter": "get_base_path", + "index": -1 + }, + { + "type": "String", + "name": "property", + "setter": "set_property", + "getter": "get_property", + "index": -1 + }, + { + "type": "String", + "name": "index", + "setter": "set_index", + "getter": "get_index", + "index": -1 + } + ] + }, + { + "name": "VisualScriptPropertySet", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "enums": [ + { + "name": "AssignOp", + "values": [ + { + "name": "ASSIGN_OP_NONE", + "value": 0 + }, + { + "name": "ASSIGN_OP_ADD", + "value": 1 + }, + { + "name": "ASSIGN_OP_SUB", + "value": 2 + }, + { + "name": "ASSIGN_OP_MUL", + "value": 3 + }, + { + "name": "ASSIGN_OP_DIV", + "value": 4 + }, + { + "name": "ASSIGN_OP_MOD", + "value": 5 + }, + { + "name": "ASSIGN_OP_SHIFT_LEFT", + "value": 6 + }, + { + "name": "ASSIGN_OP_SHIFT_RIGHT", + "value": 7 + }, + { + "name": "ASSIGN_OP_BIT_AND", + "value": 8 + }, + { + "name": "ASSIGN_OP_BIT_OR", + "value": 9 + }, + { + "name": "ASSIGN_OP_BIT_XOR", + "value": 10 + } + ] + }, + { + "name": "CallMode", + "values": [ + { + "name": "CALL_MODE_SELF", + "value": 0 + }, + { + "name": "CALL_MODE_NODE_PATH", + "value": 1 + }, + { + "name": "CALL_MODE_INSTANCE", + "value": 2 + }, + { + "name": "CALL_MODE_BASIC_TYPE", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_base_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_type", + "type": "StringName" + } + ] + }, + { + "name": "get_base_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_base_script", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_script", + "type": "String" + } + ] + }, + { + "name": "get_base_script", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_basic_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "basic_type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "get_basic_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Type" + } + }, + { + "name": "set_property", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "property", + "type": "StringName" + } + ] + }, + { + "name": "get_property", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_call_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::VisualScriptPropertySet.CallMode" + } + ] + }, + { + "name": "get_call_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualScriptPropertySet.CallMode" + } + }, + { + "name": "set_base_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_path", + "type": "NodePath" + } + ] + }, + { + "name": "get_base_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_index", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "StringName" + } + ] + }, + { + "name": "get_index", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_assign_op", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "assign_op", + "type": "enum::VisualScriptPropertySet.AssignOp" + } + ] + }, + { + "name": "get_assign_op", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualScriptPropertySet.AssignOp" + } + } + ], + "properties": [ + { + "type": "int", + "name": "set_mode", + "setter": "set_call_mode", + "getter": "get_call_mode", + "index": -1 + }, + { + "type": "String", + "name": "base_type", + "setter": "set_base_type", + "getter": "get_base_type", + "index": -1 + }, + { + "type": "String", + "name": "base_script", + "setter": "set_base_script", + "getter": "get_base_script", + "index": -1 + }, + { + "type": "int", + "name": "type_cache", + "setter": "_set_type_cache", + "getter": "_get_type_cache", + "index": -1 + }, + { + "type": "int", + "name": "basic_type", + "setter": "set_basic_type", + "getter": "get_basic_type", + "index": -1 + }, + { + "type": "NodePath", + "name": "node_path", + "setter": "set_base_path", + "getter": "get_base_path", + "index": -1 + }, + { + "type": "String", + "name": "property", + "setter": "set_property", + "getter": "get_property", + "index": -1 + }, + { + "type": "String", + "name": "index", + "setter": "set_index", + "getter": "get_index", + "index": -1 + }, + { + "type": "int", + "name": "assign_op", + "setter": "set_assign_op", + "getter": "get_assign_op", + "index": -1 + } + ] + }, + { + "name": "VisualScriptResourcePath", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_resource_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_resource_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "String", + "name": "path", + "setter": "set_resource_path", + "getter": "get_resource_path", + "index": -1 + } + ] + }, + { + "name": "VisualScriptReturn", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_return_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "get_return_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Type" + } + }, + { + "name": "set_enable_return_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_return_value_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "return_enabled", + "setter": "set_enable_return_value", + "getter": "is_return_value_enabled", + "index": -1 + }, + { + "type": "int", + "name": "return_type", + "setter": "set_return_type", + "getter": "get_return_type", + "index": -1 + } + ] + }, + { + "name": "VisualScriptSceneNode", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_node_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, + { + "name": "get_node_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "NodePath" + } + } + ], + "properties": [ + { + "type": "NodePath", + "name": "node_path", + "setter": "set_node_path", + "getter": "get_node_path", + "index": -1 + } + ] + }, + { + "name": "VisualScriptSceneTree", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core" + }, + { + "name": "VisualScriptSelect", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_typed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::Variant.Type" + } + ] + }, + { + "name": "get_typed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Variant.Type" + } + } + ], + "properties": [ + { + "type": "int", + "name": "type", + "setter": "set_typed", + "getter": "get_typed", + "index": -1 + } + ] + }, + { + "name": "VisualScriptSelf", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core" + }, + { + "name": "VisualScriptSequence", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_steps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "steps", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_steps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "int", + "name": "steps", + "setter": "set_steps", + "getter": "get_steps", + "index": -1 + } + ] + }, + { + "name": "VisualScriptSubCall", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "_subcall", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "arguments", + "type": "void" + } + ] + } + ] + }, + { + "name": "VisualScriptSwitch", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core" + }, + { + "name": "VisualScriptTypeCast", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_base_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "StringName" + } + ] + }, + { + "name": "get_base_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_base_script", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_base_script", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "String", + "name": "base_type", + "setter": "set_base_type", + "getter": "get_base_type", + "index": -1 + }, + { + "type": "String", + "name": "base_script", + "setter": "set_base_script", + "getter": "get_base_script", + "index": -1 + } + ] + }, + { + "name": "VisualScriptVariableGet", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_variable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_variable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + } + ], + "properties": [ + { + "type": "String", + "name": "var_name", + "setter": "set_variable", + "getter": "get_variable", + "index": -1 + } + ] + }, + { + "name": "VisualScriptVariableSet", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "methods": [ + { + "name": "set_variable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "get_variable", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + } + ], + "properties": [ + { + "type": "String", + "name": "var_name", + "setter": "set_variable", + "getter": "get_variable", + "index": -1 + } + ] + }, + { + "name": "VisualScriptWhile", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core" + }, + { + "name": "VisualScriptYield", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "enums": [ + { + "name": "YieldMode", + "values": [ + { + "name": "YIELD_FRAME", + "value": 1 + }, + { + "name": "YIELD_PHYSICS_FRAME", + "value": 2 + }, + { + "name": "YIELD_WAIT", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_yield_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::VisualScriptYield.YieldMode" + } + ] + }, + { + "name": "get_yield_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::VisualScriptYield.YieldMode" + } + }, + { + "name": "set_wait_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "sec", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_wait_time", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "int", + "name": "mode", + "setter": "set_yield_mode", + "getter": "get_yield_mode", + "index": -1 + }, + { + "type": "float", + "name": "wait_time", + "setter": "set_wait_time", + "getter": "get_wait_time", + "index": -1 + } + ] + }, + { + "name": "VisualScriptYieldSignal", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualScriptNode", + "api_type": "core", + "enums": [ + { + "name": "CallMode", + "values": [ + { + "name": "CALL_MODE_SELF", + "value": 0 + }, + { + "name": "CALL_MODE_NODE_PATH", + "value": 1 + }, + { + "name": "CALL_MODE_INSTANCE", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_base_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_type", + "type": "StringName" + } + ] + }, + { + "name": "get_base_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_signal", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "signal", + "type": "StringName" + } + ] + }, + { + "name": "get_signal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_call_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::VisualScriptYieldSignal.CallMode" + } + ] + }, + { + "name": "get_call_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualScriptYieldSignal.CallMode" + } + }, + { + "name": "set_base_path", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_path", + "type": "NodePath" + } + ] + }, + { + "name": "get_base_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "NodePath" + } + } + ], + "properties": [ + { + "type": "int", + "name": "call_mode", + "setter": "set_call_mode", + "getter": "get_call_mode", + "index": -1 + }, + { + "type": "String", + "name": "base_type", + "setter": "set_base_type", + "getter": "get_base_type", + "index": -1 + }, + { + "type": "NodePath", + "name": "node_path", + "setter": "set_base_path", + "getter": "get_base_path", + "index": -1 + }, + { + "type": "String", + "name": "signal", + "setter": "set_signal", + "getter": "get_signal", + "index": -1 + } + ] + }, + { + "name": "VisualShader", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shader", + "api_type": "core", + "constants": [ + { + "name": "NODE_ID_INVALID", + "value": -1 + }, + { + "name": "NODE_ID_OUTPUT", + "value": 0 + } + ], + "enums": [ + { + "name": "Type", + "values": [ + { + "name": "TYPE_VERTEX", + "value": 0 + }, + { + "name": "TYPE_FRAGMENT", + "value": 1 + }, + { + "name": "TYPE_LIGHT", + "value": 2 + }, + { + "name": "TYPE_START", + "value": 3 + }, + { + "name": "TYPE_PROCESS", + "value": 4 + }, + { + "name": "TYPE_COLLIDE", + "value": 5 + }, + { + "name": "TYPE_START_CUSTOM", + "value": 6 + }, + { + "name": "TYPE_PROCESS_CUSTOM", + "value": 7 + }, + { + "name": "TYPE_SKY", + "value": 8 + }, + { + "name": "TYPE_MAX", + "value": 9 + } + ] + } + ], + "methods": [ + { + "name": "set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Shader.Mode" + } + ] + }, + { + "name": "add_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "node", + "type": "VisualShaderNode" + }, + { + "name": "position", + "type": "Vector2" + }, + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_node", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "VisualShaderNode" + }, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_node_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "get_node_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_node_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + } + ] + }, + { + "name": "get_valid_node_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + } + ] + }, + { + "name": "remove_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "replace_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "new_class", + "type": "StringName" + } + ] + }, + { + "name": "is_node_connection", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135517868, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "from_node", + "type": "int", + "meta": "int32" + }, + { + "name": "from_port", + "type": "int", + "meta": "int32" + }, + { + "name": "to_node", + "type": "int", + "meta": "int32" + }, + { + "name": "to_port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "can_connect_nodes", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135517868, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "from_node", + "type": "int", + "meta": "int32" + }, + { + "name": "from_port", + "type": "int", + "meta": "int32" + }, + { + "name": "to_node", + "type": "int", + "meta": "int32" + }, + { + "name": "to_port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "connect_nodes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135517835, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "from_node", + "type": "int", + "meta": "int32" + }, + { + "name": "from_port", + "type": "int", + "meta": "int32" + }, + { + "name": "to_node", + "type": "int", + "meta": "int32" + }, + { + "name": "to_port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "disconnect_nodes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "from_node", + "type": "int", + "meta": "int32" + }, + { + "name": "from_port", + "type": "int", + "meta": "int32" + }, + { + "name": "to_node", + "type": "int", + "meta": "int32" + }, + { + "name": "to_port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "connect_nodes_forced", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134331914, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "from_node", + "type": "int", + "meta": "int32" + }, + { + "name": "from_port", + "type": "int", + "meta": "int32" + }, + { + "name": "to_node", + "type": "int", + "meta": "int32" + }, + { + "name": "to_port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_node_connections", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + } + ] + }, + { + "name": "set_engine_version", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "version", + "type": "Dictionary" + } + ] + }, + { + "name": "get_engine_version", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "set_graph_offset", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_graph_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "graph_offset", + "setter": "set_graph_offset", + "getter": "get_graph_offset", + "index": -1 + }, + { + "type": "String", + "name": "engine_version", + "setter": "set_engine_version", + "getter": "get_engine_version", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNode", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "PortType", + "values": [ + { + "name": "PORT_TYPE_SCALAR", + "value": 0 + }, + { + "name": "PORT_TYPE_SCALAR_INT", + "value": 1 + }, + { + "name": "PORT_TYPE_VECTOR", + "value": 2 + }, + { + "name": "PORT_TYPE_BOOLEAN", + "value": 3 + }, + { + "name": "PORT_TYPE_TRANSFORM", + "value": 4 + }, + { + "name": "PORT_TYPE_SAMPLER", + "value": 5 + }, + { + "name": "PORT_TYPE_MAX", + "value": 6 + } + ] + } + ], + "methods": [ + { + "name": "set_output_port_for_preview", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_output_port_for_preview", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_input_port_default_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "get_input_port_default_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_input_port_default_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_default_input_values", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_default_input_values", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "values", + "type": "Array" + } + ] + }, + { + "name": "get_default_input_values", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + } + ], + "signals": [ + { + "name": "editor_refresh_request" + } + ], + "properties": [ + { + "type": "int", + "name": "output_port_for_preview", + "setter": "set_output_port_for_preview", + "getter": "get_output_port_for_preview", + "index": -1 + }, + { + "type": "Array", + "name": "default_input_values", + "setter": "set_default_input_values", + "getter": "get_default_input_values", + "index": -1 + }, + { + "type": "Array", + "name": "expanded_output_ports", + "setter": "_set_output_ports_expanded", + "getter": "_get_output_ports_expanded", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeBillboard", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "BillboardType", + "values": [ + { + "name": "BILLBOARD_TYPE_DISABLED", + "value": 0 + }, + { + "name": "BILLBOARD_TYPE_ENABLED", + "value": 1 + }, + { + "name": "BILLBOARD_TYPE_FIXED_Y", + "value": 2 + }, + { + "name": "BILLBOARD_TYPE_PARTICLES", + "value": 3 + }, + { + "name": "BILLBOARD_TYPE_MAX", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "set_billboard_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "billboard_type", + "type": "enum::VisualShaderNodeBillboard.BillboardType" + } + ] + }, + { + "name": "get_billboard_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeBillboard.BillboardType" + } + }, + { + "name": "set_keep_scale_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_keep_scale_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "billboard_type", + "setter": "set_billboard_type", + "getter": "get_billboard_type", + "index": -1 + }, + { + "type": "bool", + "name": "keep_scale", + "setter": "set_keep_scale_enabled", + "getter": "is_keep_scale_enabled", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeBooleanConstant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeConstant", + "api_type": "core", + "methods": [ + { + "name": "set_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "constant", + "setter": "set_constant", + "getter": "get_constant", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeBooleanUniform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeUniform", + "api_type": "core", + "methods": [ + { + "name": "set_default_value_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_default_value_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_default_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "get_default_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "default_value_enabled", + "setter": "set_default_value_enabled", + "getter": "is_default_value_enabled", + "index": -1 + }, + { + "type": "bool", + "name": "default_value", + "setter": "set_default_value", + "getter": "get_default_value", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeClamp", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "OpType", + "values": [ + { + "name": "OP_TYPE_FLOAT", + "value": 0 + }, + { + "name": "OP_TYPE_INT", + "value": 1 + }, + { + "name": "OP_TYPE_VECTOR", + "value": 2 + }, + { + "name": "OP_TYPE_MAX", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_op_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShaderNodeClamp.OpType" + } + ] + }, + { + "name": "get_op_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeClamp.OpType" + } + } + ], + "properties": [ + { + "type": "int", + "name": "op_type", + "setter": "set_op_type", + "getter": "get_op_type", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeColorConstant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeConstant", + "api_type": "core", + "methods": [ + { + "name": "set_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Color" + } + ] + }, + { + "name": "get_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + } + ], + "properties": [ + { + "type": "Color", + "name": "constant", + "setter": "set_constant", + "getter": "get_constant", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeColorFunc", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Function", + "values": [ + { + "name": "FUNC_GRAYSCALE", + "value": 0 + }, + { + "name": "FUNC_SEPIA", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "func", + "type": "enum::VisualShaderNodeColorFunc.Function" + } + ] + }, + { + "name": "get_function", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeColorFunc.Function" + } + } + ], + "properties": [ + { + "type": "int", + "name": "function", + "setter": "set_function", + "getter": "get_function", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeColorOp", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Operator", + "values": [ + { + "name": "OP_SCREEN", + "value": 0 + }, + { + "name": "OP_DIFFERENCE", + "value": 1 + }, + { + "name": "OP_DARKEN", + "value": 2 + }, + { + "name": "OP_LIGHTEN", + "value": 3 + }, + { + "name": "OP_OVERLAY", + "value": 4 + }, + { + "name": "OP_DODGE", + "value": 5 + }, + { + "name": "OP_BURN", + "value": 6 + }, + { + "name": "OP_SOFT_LIGHT", + "value": 7 + }, + { + "name": "OP_HARD_LIGHT", + "value": 8 + } + ] + } + ], + "methods": [ + { + "name": "set_operator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "op", + "type": "enum::VisualShaderNodeColorOp.Operator" + } + ] + }, + { + "name": "get_operator", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeColorOp.Operator" + } + } + ], + "properties": [ + { + "type": "int", + "name": "operator", + "setter": "set_operator", + "getter": "get_operator", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeColorUniform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeUniform", + "api_type": "core", + "methods": [ + { + "name": "set_default_value_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_default_value_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_default_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Color" + } + ] + }, + { + "name": "get_default_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "default_value_enabled", + "setter": "set_default_value_enabled", + "getter": "is_default_value_enabled", + "index": -1 + }, + { + "type": "Color", + "name": "default_value", + "setter": "set_default_value", + "getter": "get_default_value", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeComment", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeResizableBase", + "api_type": "core", + "methods": [ + { + "name": "set_title", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "title", + "type": "String" + } + ] + }, + { + "name": "get_title", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_description", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "description", + "type": "String" + } + ] + }, + { + "name": "get_description", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "String", + "name": "title", + "setter": "set_title", + "getter": "get_title", + "index": -1 + }, + { + "type": "String", + "name": "description", + "setter": "set_description", + "getter": "get_description", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeCompare", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "ComparisonType", + "values": [ + { + "name": "CTYPE_SCALAR", + "value": 0 + }, + { + "name": "CTYPE_SCALAR_INT", + "value": 1 + }, + { + "name": "CTYPE_VECTOR", + "value": 2 + }, + { + "name": "CTYPE_BOOLEAN", + "value": 3 + }, + { + "name": "CTYPE_TRANSFORM", + "value": 4 + } + ] + }, + { + "name": "Function", + "values": [ + { + "name": "FUNC_EQUAL", + "value": 0 + }, + { + "name": "FUNC_NOT_EQUAL", + "value": 1 + }, + { + "name": "FUNC_GREATER_THAN", + "value": 2 + }, + { + "name": "FUNC_GREATER_THAN_EQUAL", + "value": 3 + }, + { + "name": "FUNC_LESS_THAN", + "value": 4 + }, + { + "name": "FUNC_LESS_THAN_EQUAL", + "value": 5 + } + ] + }, + { + "name": "Condition", + "values": [ + { + "name": "COND_ALL", + "value": 0 + }, + { + "name": "COND_ANY", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_comparison_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShaderNodeCompare.ComparisonType" + } + ] + }, + { + "name": "get_comparison_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeCompare.ComparisonType" + } + }, + { + "name": "set_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "func", + "type": "enum::VisualShaderNodeCompare.Function" + } + ] + }, + { + "name": "get_function", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeCompare.Function" + } + }, + { + "name": "set_condition", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "condition", + "type": "enum::VisualShaderNodeCompare.Condition" + } + ] + }, + { + "name": "get_condition", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeCompare.Condition" + } + } + ], + "properties": [ + { + "type": "int", + "name": "type", + "setter": "set_comparison_type", + "getter": "get_comparison_type", + "index": -1 + }, + { + "type": "int", + "name": "function", + "setter": "set_function", + "getter": "get_function", + "index": -1 + }, + { + "type": "int", + "name": "condition", + "setter": "set_condition", + "getter": "get_condition", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeConstant", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeCubemap", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "TextureType", + "values": [ + { + "name": "TYPE_DATA", + "value": 0 + }, + { + "name": "TYPE_COLOR", + "value": 1 + }, + { + "name": "TYPE_NORMAL_MAP", + "value": 2 + } + ] + }, + { + "name": "Source", + "values": [ + { + "name": "SOURCE_TEXTURE", + "value": 0 + }, + { + "name": "SOURCE_PORT", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_source", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "enum::VisualShaderNodeCubemap.Source" + } + ] + }, + { + "name": "get_source", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeCubemap.Source" + } + }, + { + "name": "set_cube_map", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Cubemap" + } + ] + }, + { + "name": "get_cube_map", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Cubemap" + } + }, + { + "name": "set_texture_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "enum::VisualShaderNodeCubemap.TextureType" + } + ] + }, + { + "name": "get_texture_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeCubemap.TextureType" + } + } + ], + "properties": [ + { + "type": "int", + "name": "source", + "setter": "set_source", + "getter": "get_source", + "index": -1 + }, + { + "type": "Cubemap", + "name": "cube_map", + "setter": "set_cube_map", + "getter": "get_cube_map", + "index": -1 + }, + { + "type": "int", + "name": "texture_type", + "setter": "set_texture_type", + "getter": "get_texture_type", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeCubemapUniform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeTextureUniform", + "api_type": "core" + }, + { + "name": "VisualShaderNodeCurveTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeResizableBase", + "api_type": "core", + "methods": [ + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "CurveTexture" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "CurveTexture" + } + } + ], + "properties": [ + { + "type": "CurveTexture", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeCurveXYZTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeResizableBase", + "api_type": "core", + "methods": [ + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "texture", + "type": "CurveXYZTexture" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "CurveXYZTexture" + } + } + ], + "properties": [ + { + "type": "CurveXYZTexture", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeCustom", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "methods": [ + { + "name": "_get_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_description", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_category", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_return_icon_type", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + } + }, + { + "name": "_get_input_port_count", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + } + }, + { + "name": "_get_input_port_type", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "port", + "type": "int" + } + ] + }, + { + "name": "_get_input_port_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "port", + "type": "int" + } + ] + }, + { + "name": "_get_output_port_count", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + } + }, + { + "name": "_get_output_port_type", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "port", + "type": "int" + } + ] + }, + { + "name": "_get_output_port_name", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "port", + "type": "int" + } + ] + }, + { + "name": "_get_code", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "input_vars", + "type": "Array" + }, + { + "name": "output_vars", + "type": "Array" + }, + { + "name": "mode", + "type": "int" + }, + { + "name": "type", + "type": "int" + } + ] + }, + { + "name": "_get_global_code", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "mode", + "type": "int" + } + ] + }, + { + "name": "_is_highend", + "is_const": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "initialized", + "setter": "_set_initialized", + "getter": "_is_initialized", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeDeterminant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeDotProduct", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeExpression", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeGroupBase", + "api_type": "core", + "methods": [ + { + "name": "set_expression", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "expression", + "type": "String" + } + ] + }, + { + "name": "get_expression", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "String", + "name": "expression", + "setter": "set_expression", + "getter": "get_expression", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeFaceForward", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeFloatConstant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeConstant", + "api_type": "core", + "methods": [ + { + "name": "set_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "constant", + "setter": "set_constant", + "getter": "get_constant", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeFloatFunc", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Function", + "values": [ + { + "name": "FUNC_SIN", + "value": 0 + }, + { + "name": "FUNC_COS", + "value": 1 + }, + { + "name": "FUNC_TAN", + "value": 2 + }, + { + "name": "FUNC_ASIN", + "value": 3 + }, + { + "name": "FUNC_ACOS", + "value": 4 + }, + { + "name": "FUNC_ATAN", + "value": 5 + }, + { + "name": "FUNC_SINH", + "value": 6 + }, + { + "name": "FUNC_COSH", + "value": 7 + }, + { + "name": "FUNC_TANH", + "value": 8 + }, + { + "name": "FUNC_LOG", + "value": 9 + }, + { + "name": "FUNC_EXP", + "value": 10 + }, + { + "name": "FUNC_SQRT", + "value": 11 + }, + { + "name": "FUNC_ABS", + "value": 12 + }, + { + "name": "FUNC_SIGN", + "value": 13 + }, + { + "name": "FUNC_FLOOR", + "value": 14 + }, + { + "name": "FUNC_ROUND", + "value": 15 + }, + { + "name": "FUNC_CEIL", + "value": 16 + }, + { + "name": "FUNC_FRAC", + "value": 17 + }, + { + "name": "FUNC_SATURATE", + "value": 18 + }, + { + "name": "FUNC_NEGATE", + "value": 19 + }, + { + "name": "FUNC_ACOSH", + "value": 20 + }, + { + "name": "FUNC_ASINH", + "value": 21 + }, + { + "name": "FUNC_ATANH", + "value": 22 + }, + { + "name": "FUNC_DEGREES", + "value": 23 + }, + { + "name": "FUNC_EXP2", + "value": 24 + }, + { + "name": "FUNC_INVERSE_SQRT", + "value": 25 + }, + { + "name": "FUNC_LOG2", + "value": 26 + }, + { + "name": "FUNC_RADIANS", + "value": 27 + }, + { + "name": "FUNC_RECIPROCAL", + "value": 28 + }, + { + "name": "FUNC_ROUNDEVEN", + "value": 29 + }, + { + "name": "FUNC_TRUNC", + "value": 30 + }, + { + "name": "FUNC_ONEMINUS", + "value": 31 + } + ] + } + ], + "methods": [ + { + "name": "set_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "func", + "type": "enum::VisualShaderNodeFloatFunc.Function" + } + ] + }, + { + "name": "get_function", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeFloatFunc.Function" + } + } + ], + "properties": [ + { + "type": "int", + "name": "function", + "setter": "set_function", + "getter": "get_function", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeFloatOp", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Operator", + "values": [ + { + "name": "OP_ADD", + "value": 0 + }, + { + "name": "OP_SUB", + "value": 1 + }, + { + "name": "OP_MUL", + "value": 2 + }, + { + "name": "OP_DIV", + "value": 3 + }, + { + "name": "OP_MOD", + "value": 4 + }, + { + "name": "OP_POW", + "value": 5 + }, + { + "name": "OP_MAX", + "value": 6 + }, + { + "name": "OP_MIN", + "value": 7 + }, + { + "name": "OP_ATAN2", + "value": 8 + }, + { + "name": "OP_STEP", + "value": 9 + } + ] + } + ], + "methods": [ + { + "name": "set_operator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "op", + "type": "enum::VisualShaderNodeFloatOp.Operator" + } + ] + }, + { + "name": "get_operator", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeFloatOp.Operator" + } + } + ], + "properties": [ + { + "type": "int", + "name": "operator", + "setter": "set_operator", + "getter": "get_operator", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeFloatUniform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeUniform", + "api_type": "core", + "enums": [ + { + "name": "Hint", + "values": [ + { + "name": "HINT_NONE", + "value": 0 + }, + { + "name": "HINT_RANGE", + "value": 1 + }, + { + "name": "HINT_RANGE_STEP", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hint", + "type": "enum::VisualShaderNodeFloatUniform.Hint" + } + ] + }, + { + "name": "get_hint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeFloatUniform.Hint" + } + }, + { + "name": "set_min", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_min", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_max", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_step", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_step", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_default_value_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_default_value_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_default_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_default_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "int", + "name": "hint", + "setter": "set_hint", + "getter": "get_hint", + "index": -1 + }, + { + "type": "float", + "name": "min", + "setter": "set_min", + "getter": "get_min", + "index": -1 + }, + { + "type": "float", + "name": "max", + "setter": "set_max", + "getter": "get_max", + "index": -1 + }, + { + "type": "float", + "name": "step", + "setter": "set_step", + "getter": "get_step", + "index": -1 + }, + { + "type": "bool", + "name": "default_value_enabled", + "setter": "set_default_value_enabled", + "getter": "is_default_value_enabled", + "index": -1 + }, + { + "type": "float", + "name": "default_value", + "setter": "set_default_value", + "getter": "get_default_value", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeFresnel", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeGlobalExpression", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeExpression", + "api_type": "core" + }, + { + "name": "VisualShaderNodeGroupBase", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "VisualShaderNodeResizableBase", + "api_type": "core", + "methods": [ + { + "name": "set_inputs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "inputs", + "type": "String" + } + ] + }, + { + "name": "get_inputs", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_outputs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "outputs", + "type": "String" + } + ] + }, + { + "name": "get_outputs", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "is_valid_port_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "add_input_port", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "type", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "remove_input_port", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_input_port_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "has_input_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_input_ports", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "add_output_port", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "type", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "remove_output_port", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_output_port_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "has_output_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_output_ports", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_input_port_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_input_port_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_output_port_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_output_port_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "type", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_free_input_port_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_free_output_port_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ] + }, + { + "name": "VisualShaderNodeIf", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeInput", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "methods": [ + { + "name": "set_input_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_input_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_input_real_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ], + "signals": [ + { + "name": "input_type_changed" + } + ], + "properties": [ + { + "type": "StringName", + "name": "input_name", + "setter": "set_input_name", + "getter": "get_input_name", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeIntConstant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeConstant", + "api_type": "core", + "methods": [ + { + "name": "set_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "int", + "name": "constant", + "setter": "set_constant", + "getter": "get_constant", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeIntFunc", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Function", + "values": [ + { + "name": "FUNC_ABS", + "value": 0 + }, + { + "name": "FUNC_NEGATE", + "value": 1 + }, + { + "name": "FUNC_SIGN", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "func", + "type": "enum::VisualShaderNodeIntFunc.Function" + } + ] + }, + { + "name": "get_function", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeIntFunc.Function" + } + } + ], + "properties": [ + { + "type": "int", + "name": "function", + "setter": "set_function", + "getter": "get_function", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeIntOp", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Operator", + "values": [ + { + "name": "OP_ADD", + "value": 0 + }, + { + "name": "OP_SUB", + "value": 1 + }, + { + "name": "OP_MUL", + "value": 2 + }, + { + "name": "OP_DIV", + "value": 3 + }, + { + "name": "OP_MOD", + "value": 4 + }, + { + "name": "OP_MAX", + "value": 5 + }, + { + "name": "OP_MIN", + "value": 6 + } + ] + } + ], + "methods": [ + { + "name": "set_operator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "op", + "type": "enum::VisualShaderNodeIntOp.Operator" + } + ] + }, + { + "name": "get_operator", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeIntOp.Operator" + } + } + ], + "properties": [ + { + "type": "int", + "name": "operator", + "setter": "set_operator", + "getter": "get_operator", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeIntUniform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeUniform", + "api_type": "core", + "enums": [ + { + "name": "Hint", + "values": [ + { + "name": "HINT_NONE", + "value": 0 + }, + { + "name": "HINT_RANGE", + "value": 1 + }, + { + "name": "HINT_RANGE_STEP", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hint", + "type": "enum::VisualShaderNodeIntUniform.Hint" + } + ] + }, + { + "name": "get_hint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeIntUniform.Hint" + } + }, + { + "name": "set_min", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_min", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_max", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_max", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_step", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_step", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_default_value_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_default_value_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_default_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_default_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "int", + "name": "hint", + "setter": "set_hint", + "getter": "get_hint", + "index": -1 + }, + { + "type": "int", + "name": "min", + "setter": "set_min", + "getter": "get_min", + "index": -1 + }, + { + "type": "int", + "name": "max", + "setter": "set_max", + "getter": "get_max", + "index": -1 + }, + { + "type": "int", + "name": "step", + "setter": "set_step", + "getter": "get_step", + "index": -1 + }, + { + "type": "bool", + "name": "default_value_enabled", + "setter": "set_default_value_enabled", + "getter": "is_default_value_enabled", + "index": -1 + }, + { + "type": "int", + "name": "default_value", + "setter": "set_default_value", + "getter": "get_default_value", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeIs", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Function", + "values": [ + { + "name": "FUNC_IS_INF", + "value": 0 + }, + { + "name": "FUNC_IS_NAN", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "func", + "type": "enum::VisualShaderNodeIs.Function" + } + ] + }, + { + "name": "get_function", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeIs.Function" + } + } + ], + "properties": [ + { + "type": "int", + "name": "function", + "setter": "set_function", + "getter": "get_function", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeMix", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "OpType", + "values": [ + { + "name": "OP_TYPE_SCALAR", + "value": 0 + }, + { + "name": "OP_TYPE_VECTOR", + "value": 1 + }, + { + "name": "OP_TYPE_VECTOR_SCALAR", + "value": 2 + }, + { + "name": "OP_TYPE_MAX", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_op_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShaderNodeMix.OpType" + } + ] + }, + { + "name": "get_op_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeMix.OpType" + } + } + ], + "properties": [ + { + "type": "int", + "name": "op_type", + "setter": "set_op_type", + "getter": "get_op_type", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeMultiplyAdd", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "OpType", + "values": [ + { + "name": "OP_TYPE_SCALAR", + "value": 0 + }, + { + "name": "OP_TYPE_VECTOR", + "value": 1 + }, + { + "name": "OP_TYPE_MAX", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_op_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShaderNodeMultiplyAdd.OpType" + } + ] + }, + { + "name": "get_op_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeMultiplyAdd.OpType" + } + } + ], + "properties": [ + { + "type": "int", + "name": "op_type", + "setter": "set_op_type", + "getter": "get_op_type", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeOuterProduct", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeOutput", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeParticleAccelerator", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeOutput", + "api_type": "core", + "enums": [ + { + "name": "Mode", + "values": [ + { + "name": "MODE_LINEAR", + "value": 0 + }, + { + "name": "MODE_RADIAL", + "value": 1 + }, + { + "name": "MODE_TANGENTIAL", + "value": 2 + }, + { + "name": "MODE_MAX", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::VisualShaderNodeParticleAccelerator.Mode" + } + ] + }, + { + "name": "get_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeParticleAccelerator.Mode" + } + } + ], + "properties": [ + { + "type": "int", + "name": "mode", + "setter": "set_mode", + "getter": "get_mode", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeParticleBoxEmitter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeParticleEmitter", + "api_type": "core" + }, + { + "name": "VisualShaderNodeParticleConeVelocity", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeParticleEmit", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "EmitFlags", + "values": [ + { + "name": "EMIT_FLAG_POSITION", + "value": 1 + }, + { + "name": "EMIT_FLAG_ROT_SCALE", + "value": 2 + }, + { + "name": "EMIT_FLAG_VELOCITY", + "value": 4 + }, + { + "name": "EMIT_FLAG_COLOR", + "value": 8 + }, + { + "name": "EMIT_FLAG_CUSTOM", + "value": 16 + } + ] + } + ], + "methods": [ + { + "name": "set_flags", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "flags", + "type": "enum::VisualShaderNodeParticleEmit.EmitFlags" + } + ] + }, + { + "name": "get_flags", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeParticleEmit.EmitFlags" + } + } + ], + "properties": [ + { + "type": "int", + "name": "flags", + "setter": "set_flags", + "getter": "get_flags", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeParticleEmitter", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeParticleMultiplyByAxisAngle", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "methods": [ + { + "name": "set_degrees_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_degrees_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "degrees_mode", + "setter": "set_degrees_mode", + "getter": "is_degrees_mode", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeParticleOutput", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeOutput", + "api_type": "core" + }, + { + "name": "VisualShaderNodeParticleRandomness", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "OpType", + "values": [ + { + "name": "OP_TYPE_SCALAR", + "value": 0 + }, + { + "name": "OP_TYPE_VECTOR", + "value": 1 + }, + { + "name": "OP_TYPE_MAX", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_op_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShaderNodeParticleRandomness.OpType" + } + ] + }, + { + "name": "get_op_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeParticleRandomness.OpType" + } + } + ], + "properties": [ + { + "type": "int", + "name": "op_type", + "setter": "set_op_type", + "getter": "get_op_type", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeParticleRingEmitter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeParticleEmitter", + "api_type": "core" + }, + { + "name": "VisualShaderNodeParticleSphereEmitter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeParticleEmitter", + "api_type": "core" + }, + { + "name": "VisualShaderNodeResizableBase", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "VisualShaderNode", + "api_type": "core", + "methods": [ + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeSDFRaymarch", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeSDFToScreenUV", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeSample3D", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Source", + "values": [ + { + "name": "SOURCE_TEXTURE", + "value": 0 + }, + { + "name": "SOURCE_PORT", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_source", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "enum::VisualShaderNodeSample3D.Source" + } + ] + }, + { + "name": "get_source", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeSample3D.Source" + } + } + ], + "properties": [ + { + "type": "int", + "name": "source", + "setter": "set_source", + "getter": "get_source", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeScalarDerivativeFunc", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Function", + "values": [ + { + "name": "FUNC_SUM", + "value": 0 + }, + { + "name": "FUNC_X", + "value": 1 + }, + { + "name": "FUNC_Y", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "func", + "type": "enum::VisualShaderNodeScalarDerivativeFunc.Function" + } + ] + }, + { + "name": "get_function", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeScalarDerivativeFunc.Function" + } + } + ], + "properties": [ + { + "type": "int", + "name": "function", + "setter": "set_function", + "getter": "get_function", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeScreenUVToSDF", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeSmoothStep", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "OpType", + "values": [ + { + "name": "OP_TYPE_SCALAR", + "value": 0 + }, + { + "name": "OP_TYPE_VECTOR", + "value": 1 + }, + { + "name": "OP_TYPE_VECTOR_SCALAR", + "value": 2 + }, + { + "name": "OP_TYPE_MAX", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_op_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShaderNodeSmoothStep.OpType" + } + ] + }, + { + "name": "get_op_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeSmoothStep.OpType" + } + } + ], + "properties": [ + { + "type": "int", + "name": "op_type", + "setter": "set_op_type", + "getter": "get_op_type", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeStep", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "OpType", + "values": [ + { + "name": "OP_TYPE_SCALAR", + "value": 0 + }, + { + "name": "OP_TYPE_VECTOR", + "value": 1 + }, + { + "name": "OP_TYPE_VECTOR_SCALAR", + "value": 2 + }, + { + "name": "OP_TYPE_MAX", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_op_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShaderNodeStep.OpType" + } + ] + }, + { + "name": "get_op_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeStep.OpType" + } + } + ], + "properties": [ + { + "type": "int", + "name": "op_type", + "setter": "set_op_type", + "getter": "get_op_type", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeSwitch", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "OpType", + "values": [ + { + "name": "OP_TYPE_FLOAT", + "value": 0 + }, + { + "name": "OP_TYPE_INT", + "value": 1 + }, + { + "name": "OP_TYPE_VECTOR", + "value": 2 + }, + { + "name": "OP_TYPE_BOOLEAN", + "value": 3 + }, + { + "name": "OP_TYPE_TRANSFORM", + "value": 4 + }, + { + "name": "OP_TYPE_MAX", + "value": 5 + } + ] + } + ], + "methods": [ + { + "name": "set_op_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShaderNodeSwitch.OpType" + } + ] + }, + { + "name": "get_op_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeSwitch.OpType" + } + } + ], + "properties": [ + { + "type": "int", + "name": "op_type", + "setter": "set_op_type", + "getter": "get_op_type", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "TextureType", + "values": [ + { + "name": "TYPE_DATA", + "value": 0 + }, + { + "name": "TYPE_COLOR", + "value": 1 + }, + { + "name": "TYPE_NORMAL_MAP", + "value": 2 + } + ] + }, + { + "name": "Source", + "values": [ + { + "name": "SOURCE_TEXTURE", + "value": 0 + }, + { + "name": "SOURCE_SCREEN", + "value": 1 + }, + { + "name": "SOURCE_2D_TEXTURE", + "value": 2 + }, + { + "name": "SOURCE_2D_NORMAL", + "value": 3 + }, + { + "name": "SOURCE_DEPTH", + "value": 4 + }, + { + "name": "SOURCE_PORT", + "value": 5 + } + ] + } + ], + "methods": [ + { + "name": "set_source", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "enum::VisualShaderNodeTexture.Source" + } + ] + }, + { + "name": "get_source", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeTexture.Source" + } + }, + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Texture2D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2D" + } + }, + { + "name": "set_texture_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "enum::VisualShaderNodeTexture.TextureType" + } + ] + }, + { + "name": "get_texture_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeTexture.TextureType" + } + } + ], + "properties": [ + { + "type": "int", + "name": "source", + "setter": "set_source", + "getter": "get_source", + "index": -1 + }, + { + "type": "Texture2D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + }, + { + "type": "int", + "name": "texture_type", + "setter": "set_texture_type", + "getter": "get_texture_type", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeTexture2DArray", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeSample3D", + "api_type": "core", + "methods": [ + { + "name": "set_texture_array", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Texture2DArray" + } + ] + }, + { + "name": "get_texture_array", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture2DArray" + } + } + ], + "properties": [ + { + "type": "Texture2DArray", + "name": "texture_array", + "setter": "set_texture_array", + "getter": "get_texture_array", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeTexture2DArrayUniform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeTextureUniform", + "api_type": "core" + }, + { + "name": "VisualShaderNodeTexture3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeSample3D", + "api_type": "core", + "methods": [ + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Texture3D" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Texture3D" + } + } + ], + "properties": [ + { + "type": "Texture3D", + "name": "texture", + "setter": "set_texture", + "getter": "get_texture", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeTexture3DUniform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeTextureUniform", + "api_type": "core" + }, + { + "name": "VisualShaderNodeTextureSDF", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeTextureSDFNormal", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeTextureUniform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeUniform", + "api_type": "core", + "enums": [ + { + "name": "TextureType", + "values": [ + { + "name": "TYPE_DATA", + "value": 0 + }, + { + "name": "TYPE_COLOR", + "value": 1 + }, + { + "name": "TYPE_NORMAL_MAP", + "value": 2 + }, + { + "name": "TYPE_ANISO", + "value": 3 + } + ] + }, + { + "name": "ColorDefault", + "values": [ + { + "name": "COLOR_DEFAULT_WHITE", + "value": 0 + }, + { + "name": "COLOR_DEFAULT_BLACK", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_texture_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShaderNodeTextureUniform.TextureType" + } + ] + }, + { + "name": "get_texture_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeTextureUniform.TextureType" + } + }, + { + "name": "set_color_default", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShaderNodeTextureUniform.ColorDefault" + } + ] + }, + { + "name": "get_color_default", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeTextureUniform.ColorDefault" + } + } + ], + "properties": [ + { + "type": "int", + "name": "texture_type", + "setter": "set_texture_type", + "getter": "get_texture_type", + "index": -1 + }, + { + "type": "int", + "name": "color_default", + "setter": "set_color_default", + "getter": "get_color_default", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeTextureUniformTriplanar", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeTextureUniform", + "api_type": "core" + }, + { + "name": "VisualShaderNodeTransformCompose", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeTransformConstant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeConstant", + "api_type": "core", + "methods": [ + { + "name": "set_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Transform3D" + } + ] + }, + { + "name": "get_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + } + ], + "properties": [ + { + "type": "Transform3D", + "name": "constant", + "setter": "set_constant", + "getter": "get_constant", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeTransformDecompose", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeTransformFunc", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Function", + "values": [ + { + "name": "FUNC_INVERSE", + "value": 0 + }, + { + "name": "FUNC_TRANSPOSE", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "set_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "func", + "type": "enum::VisualShaderNodeTransformFunc.Function" + } + ] + }, + { + "name": "get_function", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeTransformFunc.Function" + } + } + ], + "properties": [ + { + "type": "int", + "name": "function", + "setter": "set_function", + "getter": "get_function", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeTransformMult", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Operator", + "values": [ + { + "name": "OP_AxB", + "value": 0 + }, + { + "name": "OP_BxA", + "value": 1 + }, + { + "name": "OP_AxB_COMP", + "value": 2 + }, + { + "name": "OP_BxA_COMP", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_operator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "op", + "type": "enum::VisualShaderNodeTransformMult.Operator" + } + ] + }, + { + "name": "get_operator", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeTransformMult.Operator" + } + } + ], + "properties": [ + { + "type": "int", + "name": "operator", + "setter": "set_operator", + "getter": "get_operator", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeTransformUniform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeUniform", + "api_type": "core", + "methods": [ + { + "name": "set_default_value_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_default_value_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_default_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Transform3D" + } + ] + }, + { + "name": "get_default_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "default_value_enabled", + "setter": "set_default_value_enabled", + "getter": "is_default_value_enabled", + "index": -1 + }, + { + "type": "Transform3D", + "name": "default_value", + "setter": "set_default_value", + "getter": "get_default_value", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeTransformVecMult", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Operator", + "values": [ + { + "name": "OP_AxB", + "value": 0 + }, + { + "name": "OP_BxA", + "value": 1 + }, + { + "name": "OP_3x3_AxB", + "value": 2 + }, + { + "name": "OP_3x3_BxA", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_operator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "op", + "type": "enum::VisualShaderNodeTransformVecMult.Operator" + } + ] + }, + { + "name": "get_operator", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeTransformVecMult.Operator" + } + } + ], + "properties": [ + { + "type": "int", + "name": "operator", + "setter": "set_operator", + "getter": "get_operator", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeUVFunc", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Function", + "values": [ + { + "name": "FUNC_PANNING", + "value": 0 + }, + { + "name": "FUNC_SCALING", + "value": 1 + }, + { + "name": "FUNC_MAX", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "func", + "type": "enum::VisualShaderNodeUVFunc.Function" + } + ] + }, + { + "name": "get_function", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeUVFunc.Function" + } + } + ], + "properties": [ + { + "type": "int", + "name": "function", + "setter": "set_function", + "getter": "get_function", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeUniform", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Qualifier", + "values": [ + { + "name": "QUAL_NONE", + "value": 0 + }, + { + "name": "QUAL_GLOBAL", + "value": 1 + }, + { + "name": "QUAL_INSTANCE", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_uniform_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_uniform_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_qualifier", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "qualifier", + "type": "enum::VisualShaderNodeUniform.Qualifier" + } + ] + }, + { + "name": "get_qualifier", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeUniform.Qualifier" + } + } + ], + "properties": [ + { + "type": "StringName", + "name": "uniform_name", + "setter": "set_uniform_name", + "getter": "get_uniform_name", + "index": -1 + }, + { + "type": "int", + "name": "qualifier", + "setter": "set_qualifier", + "getter": "get_qualifier", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeUniformRef", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "methods": [ + { + "name": "set_uniform_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_uniform_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + } + ], + "properties": [ + { + "type": "StringName", + "name": "uniform_name", + "setter": "set_uniform_name", + "getter": "get_uniform_name", + "index": -1 + }, + { + "type": "int", + "name": "uniform_type", + "setter": "_set_uniform_type", + "getter": "_get_uniform_type", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeVec3Constant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeConstant", + "api_type": "core", + "methods": [ + { + "name": "set_constant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Vector3" + } + ] + }, + { + "name": "get_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + } + ], + "properties": [ + { + "type": "Vector3", + "name": "constant", + "setter": "set_constant", + "getter": "get_constant", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeVec3Uniform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeUniform", + "api_type": "core", + "methods": [ + { + "name": "set_default_value_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_default_value_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_default_value", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Vector3" + } + ] + }, + { + "name": "get_default_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "default_value_enabled", + "setter": "set_default_value_enabled", + "getter": "is_default_value_enabled", + "index": -1 + }, + { + "type": "Vector3", + "name": "default_value", + "setter": "set_default_value", + "getter": "get_default_value", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeVectorCompose", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeVectorDecompose", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeVectorDerivativeFunc", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Function", + "values": [ + { + "name": "FUNC_SUM", + "value": 0 + }, + { + "name": "FUNC_X", + "value": 1 + }, + { + "name": "FUNC_Y", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "func", + "type": "enum::VisualShaderNodeVectorDerivativeFunc.Function" + } + ] + }, + { + "name": "get_function", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeVectorDerivativeFunc.Function" + } + } + ], + "properties": [ + { + "type": "int", + "name": "function", + "setter": "set_function", + "getter": "get_function", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeVectorDistance", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeVectorFunc", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Function", + "values": [ + { + "name": "FUNC_NORMALIZE", + "value": 0 + }, + { + "name": "FUNC_SATURATE", + "value": 1 + }, + { + "name": "FUNC_NEGATE", + "value": 2 + }, + { + "name": "FUNC_RECIPROCAL", + "value": 3 + }, + { + "name": "FUNC_RGB2HSV", + "value": 4 + }, + { + "name": "FUNC_HSV2RGB", + "value": 5 + }, + { + "name": "FUNC_ABS", + "value": 6 + }, + { + "name": "FUNC_ACOS", + "value": 7 + }, + { + "name": "FUNC_ACOSH", + "value": 8 + }, + { + "name": "FUNC_ASIN", + "value": 9 + }, + { + "name": "FUNC_ASINH", + "value": 10 + }, + { + "name": "FUNC_ATAN", + "value": 11 + }, + { + "name": "FUNC_ATANH", + "value": 12 + }, + { + "name": "FUNC_CEIL", + "value": 13 + }, + { + "name": "FUNC_COS", + "value": 14 + }, + { + "name": "FUNC_COSH", + "value": 15 + }, + { + "name": "FUNC_DEGREES", + "value": 16 + }, + { + "name": "FUNC_EXP", + "value": 17 + }, + { + "name": "FUNC_EXP2", + "value": 18 + }, + { + "name": "FUNC_FLOOR", + "value": 19 + }, + { + "name": "FUNC_FRAC", + "value": 20 + }, + { + "name": "FUNC_INVERSE_SQRT", + "value": 21 + }, + { + "name": "FUNC_LOG", + "value": 22 + }, + { + "name": "FUNC_LOG2", + "value": 23 + }, + { + "name": "FUNC_RADIANS", + "value": 24 + }, + { + "name": "FUNC_ROUND", + "value": 25 + }, + { + "name": "FUNC_ROUNDEVEN", + "value": 26 + }, + { + "name": "FUNC_SIGN", + "value": 27 + }, + { + "name": "FUNC_SIN", + "value": 28 + }, + { + "name": "FUNC_SINH", + "value": 29 + }, + { + "name": "FUNC_SQRT", + "value": 30 + }, + { + "name": "FUNC_TAN", + "value": 31 + }, + { + "name": "FUNC_TANH", + "value": 32 + }, + { + "name": "FUNC_TRUNC", + "value": 33 + }, + { + "name": "FUNC_ONEMINUS", + "value": 34 + } + ] + } + ], + "methods": [ + { + "name": "set_function", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "func", + "type": "enum::VisualShaderNodeVectorFunc.Function" + } + ] + }, + { + "name": "get_function", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeVectorFunc.Function" + } + } + ], + "properties": [ + { + "type": "int", + "name": "function", + "setter": "set_function", + "getter": "get_function", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeVectorLen", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VisualShaderNodeVectorOp", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core", + "enums": [ + { + "name": "Operator", + "values": [ + { + "name": "OP_ADD", + "value": 0 + }, + { + "name": "OP_SUB", + "value": 1 + }, + { + "name": "OP_MUL", + "value": 2 + }, + { + "name": "OP_DIV", + "value": 3 + }, + { + "name": "OP_MOD", + "value": 4 + }, + { + "name": "OP_POW", + "value": 5 + }, + { + "name": "OP_MAX", + "value": 6 + }, + { + "name": "OP_MIN", + "value": 7 + }, + { + "name": "OP_CROSS", + "value": 8 + }, + { + "name": "OP_ATAN2", + "value": 9 + }, + { + "name": "OP_REFLECT", + "value": 10 + }, + { + "name": "OP_STEP", + "value": 11 + } + ] + } + ], + "methods": [ + { + "name": "set_operator", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "op", + "type": "enum::VisualShaderNodeVectorOp.Operator" + } + ] + }, + { + "name": "get_operator", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VisualShaderNodeVectorOp.Operator" + } + } + ], + "properties": [ + { + "type": "int", + "name": "operator", + "setter": "set_operator", + "getter": "get_operator", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeVectorRefract", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNode", + "api_type": "core" + }, + { + "name": "VoxelGI", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "VisualInstance3D", + "api_type": "core", + "enums": [ + { + "name": "Subdiv", + "values": [ + { + "name": "SUBDIV_64", + "value": 0 + }, + { + "name": "SUBDIV_128", + "value": 1 + }, + { + "name": "SUBDIV_256", + "value": 2 + }, + { + "name": "SUBDIV_512", + "value": 3 + }, + { + "name": "SUBDIV_MAX", + "value": 4 + } + ] + } + ], + "methods": [ + { + "name": "set_probe_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "data", + "type": "VoxelGIData" + } + ] + }, + { + "name": "get_probe_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "VoxelGIData" + } + }, + { + "name": "set_subdiv", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "subdiv", + "type": "enum::VoxelGI.Subdiv" + } + ] + }, + { + "name": "get_subdiv", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VoxelGI.Subdiv" + } + }, + { + "name": "set_extents", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "get_extents", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "bake", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 143531945, + "arguments": [ + { + "name": "from_node", + "type": "Node", + "default_value": "null" + }, + { + "name": "create_visual_debug", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "debug_bake", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ], + "properties": [ + { + "type": "int", + "name": "subdiv", + "setter": "set_subdiv", + "getter": "get_subdiv", + "index": -1 + }, + { + "type": "Vector3", + "name": "extents", + "setter": "set_extents", + "getter": "get_extents", + "index": -1 + }, + { + "type": "VoxelGIData", + "name": "data", + "setter": "set_probe_data", + "getter": "get_probe_data", + "index": -1 + } + ] + }, + { + "name": "VoxelGIData", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "allocate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134403788, + "arguments": [ + { + "name": "to_cell_xform", + "type": "Transform3D" + }, + { + "name": "aabb", + "type": "AABB" + }, + { + "name": "octree_size", + "type": "Vector3" + }, + { + "name": "octree_cells", + "type": "PackedByteArray" + }, + { + "name": "data_cells", + "type": "PackedByteArray" + }, + { + "name": "distance_field", + "type": "PackedByteArray" + }, + { + "name": "level_counts", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_bounds", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "AABB" + } + }, + { + "name": "get_octree_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_to_cell_xform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "get_octree_cells", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedByteArray" + } + }, + { + "name": "get_data_cells", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedByteArray" + } + }, + { + "name": "get_level_counts", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedInt32Array" + } + }, + { + "name": "set_dynamic_range", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "dynamic_range", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_dynamic_range", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_energy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "energy", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_energy", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_bias", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bias", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bias", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_normal_bias", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "bias", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_normal_bias", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_propagation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "propagation", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_propagation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_interior", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "interior", + "type": "bool" + } + ] + }, + { + "name": "is_interior", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_use_two_bounces", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_two_bounces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "int", + "name": "dynamic_range", + "setter": "set_dynamic_range", + "getter": "get_dynamic_range", + "index": -1 + }, + { + "type": "float", + "name": "energy", + "setter": "set_energy", + "getter": "get_energy", + "index": -1 + }, + { + "type": "float", + "name": "bias", + "setter": "set_bias", + "getter": "get_bias", + "index": -1 + }, + { + "type": "float", + "name": "normal_bias", + "setter": "set_normal_bias", + "getter": "get_normal_bias", + "index": -1 + }, + { + "type": "float", + "name": "propagation", + "setter": "set_propagation", + "getter": "get_propagation", + "index": -1 + }, + { + "type": "bool", + "name": "use_two_bounces", + "setter": "set_use_two_bounces", + "getter": "is_using_two_bounces", + "index": -1 + }, + { + "type": "bool", + "name": "interior", + "setter": "set_interior", + "getter": "is_interior", + "index": -1 + } + ] + }, + { + "name": "WeakRef", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "get_ref", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Variant" + } + } + ] + }, + { + "name": "WebRTCDataChannel", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "PacketPeer", + "api_type": "core", + "enums": [ + { + "name": "WriteMode", + "values": [ + { + "name": "WRITE_MODE_TEXT", + "value": 0 + }, + { + "name": "WRITE_MODE_BINARY", + "value": 1 + } + ] + }, + { + "name": "ChannelState", + "values": [ + { + "name": "STATE_CONNECTING", + "value": 0 + }, + { + "name": "STATE_OPEN", + "value": 1 + }, + { + "name": "STATE_CLOSING", + "value": 2 + }, + { + "name": "STATE_CLOSED", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "poll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "close", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "was_string_packet", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_write_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "write_mode", + "type": "enum::WebRTCDataChannel.WriteMode" + } + ] + }, + { + "name": "get_write_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::WebRTCDataChannel.WriteMode" + } + }, + { + "name": "get_ready_state", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::WebRTCDataChannel.ChannelState" + } + }, + { + "name": "get_label", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "is_ordered", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_max_packet_life_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_max_retransmits", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_protocol", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "is_negotiated", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_buffered_amount", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "int", + "name": "write_mode", + "setter": "set_write_mode", + "getter": "get_write_mode", + "index": -1 + } + ] + }, + { + "name": "WebRTCDataChannelGDNative", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "WebRTCDataChannel", + "api_type": "core" + }, + { + "name": "WebRTCMultiplayerPeer", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "MultiplayerPeer", + "api_type": "core", + "methods": [ + { + "name": "initialize", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1474135307, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "peer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "server_compatibility", + "type": "bool", + "default_value": "false" + }, + { + "name": "channels_config", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "add_peer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "peer", + "type": "WebRTCPeerConnection" + }, + { + "name": "peer_id", + "type": "int", + "meta": "int32" + }, + { + "name": "unreliable_lifetime", + "type": "int", + "meta": "int32", + "default_value": "1" + } + ] + }, + { + "name": "remove_peer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "peer_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_peer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "peer_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_peer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "peer_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_peers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "close", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ] + }, + { + "name": "WebRTCPeerConnection", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "ConnectionState", + "values": [ + { + "name": "STATE_NEW", + "value": 0 + }, + { + "name": "STATE_CONNECTING", + "value": 1 + }, + { + "name": "STATE_CONNECTED", + "value": 2 + }, + { + "name": "STATE_DISCONNECTED", + "value": 3 + }, + { + "name": "STATE_FAILED", + "value": 4 + }, + { + "name": "STATE_CLOSED", + "value": 5 + } + ] + } + ], + "methods": [ + { + "name": "initialize", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 365816645, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "configuration", + "type": "Dictionary", + "default_value": "{\n}" + } + ] + }, + { + "name": "create_data_channel", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "WebRTCDataChannel" + }, + "arguments": [ + { + "name": "label", + "type": "String" + }, + { + "name": "options", + "type": "Dictionary", + "default_value": "{\n}" + } + ] + }, + { + "name": "create_offer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "set_local_description", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "type", + "type": "String" + }, + { + "name": "sdp", + "type": "String" + } + ] + }, + { + "name": "set_remote_description", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "type", + "type": "String" + }, + { + "name": "sdp", + "type": "String" + } + ] + }, + { + "name": "add_ice_candidate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "media", + "type": "String" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "poll", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "close", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_connection_state", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::WebRTCPeerConnection.ConnectionState" + } + } + ], + "signals": [ + { + "name": "ice_candidate_created", + "arguments": [ + { + "name": "media", + "type": "String" + }, + { + "name": "index", + "type": "int" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "session_description_created", + "arguments": [ + { + "name": "type", + "type": "String" + }, + { + "name": "sdp", + "type": "String" + } + ] + }, + { + "name": "data_channel_received", + "arguments": [ + { + "name": "channel", + "type": "Object" + } + ] + } + ] + }, + { + "name": "WebRTCPeerConnectionGDNative", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "WebRTCPeerConnection", + "api_type": "core" + }, + { + "name": "WebSocketClient", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "WebSocketMultiplayerPeer", + "api_type": "core", + "methods": [ + { + "name": "connect_to_url", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2941976884, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "url", + "type": "String" + }, + { + "name": "protocols", + "type": "PackedStringArray", + "default_value": "PackedStringArray()" + }, + { + "name": "gd_mp_api", + "type": "bool", + "default_value": "false" + }, + { + "name": "custom_headers", + "type": "PackedStringArray", + "default_value": "PackedStringArray()" + } + ] + }, + { + "name": "disconnect_from_host", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 185328854, + "arguments": [ + { + "name": "code", + "type": "int", + "meta": "int32", + "default_value": "1000" + }, + { + "name": "reason", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_connected_host", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_connected_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint16" + } + }, + { + "name": "set_verify_ssl_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_verify_ssl_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_trusted_ssl_certificate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "X509Certificate" + } + }, + { + "name": "set_trusted_ssl_certificate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "X509Certificate" + } + ] + } + ], + "signals": [ + { + "name": "server_close_request", + "arguments": [ + { + "name": "code", + "type": "int" + }, + { + "name": "reason", + "type": "String" + } + ] + }, + { + "name": "connection_established", + "arguments": [ + { + "name": "protocol", + "type": "String" + } + ] + }, + { + "name": "data_received" + }, + { + "name": "connection_error" + }, + { + "name": "connection_closed", + "arguments": [ + { + "name": "was_clean_close", + "type": "bool" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "verify_ssl", + "setter": "set_verify_ssl_enabled", + "getter": "is_verify_ssl_enabled", + "index": -1 + }, + { + "type": "X509Certificate", + "name": "trusted_ssl_certificate", + "setter": "set_trusted_ssl_certificate", + "getter": "get_trusted_ssl_certificate", + "index": -1 + } + ] + }, + { + "name": "WebSocketMultiplayerPeer", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "MultiplayerPeer", + "api_type": "core", + "methods": [ + { + "name": "set_buffers", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "input_buffer_size_kb", + "type": "int", + "meta": "int32" + }, + { + "name": "input_max_packets", + "type": "int", + "meta": "int32" + }, + { + "name": "output_buffer_size_kb", + "type": "int", + "meta": "int32" + }, + { + "name": "output_max_packets", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_peer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "WebSocketPeer" + }, + "arguments": [ + { + "name": "peer_id", + "type": "int", + "meta": "int32" + } + ] + } + ], + "signals": [ + { + "name": "peer_packet", + "arguments": [ + { + "name": "peer_source", + "type": "int" + } + ] + } + ] + }, + { + "name": "WebSocketPeer", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PacketPeer", + "api_type": "core", + "enums": [ + { + "name": "WriteMode", + "values": [ + { + "name": "WRITE_MODE_TEXT", + "value": 0 + }, + { + "name": "WRITE_MODE_BINARY", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "get_write_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::WebSocketPeer.WriteMode" + } + }, + { + "name": "set_write_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::WebSocketPeer.WriteMode" + } + ] + }, + { + "name": "is_connected_to_host", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "was_string_packet", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "close", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 185328854, + "arguments": [ + { + "name": "code", + "type": "int", + "meta": "int32", + "default_value": "1000" + }, + { + "name": "reason", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_connected_host", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_connected_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint16" + } + }, + { + "name": "set_no_delay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_current_outbound_buffered_amount", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ] + }, + { + "name": "WebSocketServer", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "WebSocketMultiplayerPeer", + "api_type": "core", + "methods": [ + { + "name": "is_listening", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "listen", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1480485266, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "port", + "type": "int", + "meta": "int32" + }, + { + "name": "protocols", + "type": "PackedStringArray", + "default_value": "PackedStringArray()" + }, + { + "name": "gd_mp_api", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "stop", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "has_peer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_peer_address", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_peer_port", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "disconnect_peer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 183756338, + "arguments": [ + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "code", + "type": "int", + "meta": "int32", + "default_value": "1000" + }, + { + "name": "reason", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_bind_ip", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_bind_ip", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "String" + } + ] + }, + { + "name": "get_private_key", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "CryptoKey" + } + }, + { + "name": "set_private_key", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "CryptoKey" + } + ] + }, + { + "name": "get_ssl_certificate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "X509Certificate" + } + }, + { + "name": "set_ssl_certificate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "X509Certificate" + } + ] + }, + { + "name": "get_ca_chain", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "X509Certificate" + } + }, + { + "name": "set_ca_chain", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "X509Certificate" + } + ] + }, + { + "name": "get_handshake_timeout", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_handshake_timeout", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "timeout", + "type": "float", + "meta": "float" + } + ] + } + ], + "signals": [ + { + "name": "client_close_request", + "arguments": [ + { + "name": "id", + "type": "int" + }, + { + "name": "code", + "type": "int" + }, + { + "name": "reason", + "type": "String" + } + ] + }, + { + "name": "data_received", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "client_connected", + "arguments": [ + { + "name": "id", + "type": "int" + }, + { + "name": "protocol", + "type": "String" + }, + { + "name": "resource_name", + "type": "String" + } + ] + }, + { + "name": "client_disconnected", + "arguments": [ + { + "name": "id", + "type": "int" + }, + { + "name": "was_clean_close", + "type": "bool" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "bind_ip", + "setter": "set_bind_ip", + "getter": "get_bind_ip", + "index": -1 + }, + { + "type": "CryptoKey", + "name": "private_key", + "setter": "set_private_key", + "getter": "get_private_key", + "index": -1 + }, + { + "type": "X509Certificate", + "name": "ssl_certificate", + "setter": "set_ssl_certificate", + "getter": "get_ssl_certificate", + "index": -1 + }, + { + "type": "X509Certificate", + "name": "ca_chain", + "setter": "set_ca_chain", + "getter": "get_ca_chain", + "index": -1 + }, + { + "type": "bool", + "name": "handshake_timeout", + "setter": "set_handshake_timeout", + "getter": "get_handshake_timeout", + "index": -1 + } + ] + }, + { + "name": "WebXRInterface", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "XRInterface", + "api_type": "core", + "methods": [ + { + "name": "is_session_supported", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "session_mode", + "type": "String" + } + ] + }, + { + "name": "set_session_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "session_mode", + "type": "String" + } + ] + }, + { + "name": "get_session_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_required_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "required_features", + "type": "String" + } + ] + }, + { + "name": "get_required_features", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_optional_features", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "optional_features", + "type": "String" + } + ] + }, + { + "name": "get_optional_features", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_reference_space_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_requested_reference_space_types", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "requested_reference_space_types", + "type": "String" + } + ] + }, + { + "name": "get_requested_reference_space_types", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_controller", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "XRPositionalTracker" + }, + "arguments": [ + { + "name": "controller_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_visibility_state", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_bounds_geometry", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedVector3Array" + } + } + ], + "signals": [ + { + "name": "session_ended" + }, + { + "name": "reference_space_reset" + }, + { + "name": "selectstart", + "arguments": [ + { + "name": "controller_id", + "type": "int" + } + ] + }, + { + "name": "selectend", + "arguments": [ + { + "name": "controller_id", + "type": "int" + } + ] + }, + { + "name": "squeezestart", + "arguments": [ + { + "name": "controller_id", + "type": "int" + } + ] + }, + { + "name": "select", + "arguments": [ + { + "name": "controller_id", + "type": "int" + } + ] + }, + { + "name": "session_failed", + "arguments": [ + { + "name": "message", + "type": "String" + } + ] + }, + { + "name": "visibility_state_changed" + }, + { + "name": "squeezeend", + "arguments": [ + { + "name": "controller_id", + "type": "int" + } + ] + }, + { + "name": "session_supported", + "arguments": [ + { + "name": "session_mode", + "type": "String" + }, + { + "name": "supported", + "type": "bool" + } + ] + }, + { + "name": "squeeze", + "arguments": [ + { + "name": "controller_id", + "type": "int" + } + ] + }, + { + "name": "session_started" + } + ], + "properties": [ + { + "type": "String", + "name": "session_mode", + "setter": "set_session_mode", + "getter": "get_session_mode", + "index": -1 + }, + { + "type": "String", + "name": "required_features", + "setter": "set_required_features", + "getter": "get_required_features", + "index": -1 + }, + { + "type": "String", + "name": "optional_features", + "setter": "set_optional_features", + "getter": "get_optional_features", + "index": -1 + }, + { + "type": "String", + "name": "requested_reference_space_types", + "setter": "set_requested_reference_space_types", + "getter": "get_requested_reference_space_types", + "index": -1 + }, + { + "type": "String", + "name": "reference_space_type", + "setter": "", + "getter": "get_reference_space_type", + "index": -1 + }, + { + "type": "String", + "name": "visibility_state", + "setter": "", + "getter": "get_visibility_state", + "index": -1 + }, + { + "type": "PackedVector3Array", + "name": "bounds_geometry", + "setter": "", + "getter": "get_bounds_geometry", + "index": -1 + } + ] + }, + { + "name": "Window", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Viewport", + "api_type": "core", + "constants": [ + { + "name": "NOTIFICATION_VISIBILITY_CHANGED", + "value": 30 + } + ], + "enums": [ + { + "name": "ContentScaleAspect", + "values": [ + { + "name": "CONTENT_SCALE_ASPECT_IGNORE", + "value": 0 + }, + { + "name": "CONTENT_SCALE_ASPECT_KEEP", + "value": 1 + }, + { + "name": "CONTENT_SCALE_ASPECT_KEEP_WIDTH", + "value": 2 + }, + { + "name": "CONTENT_SCALE_ASPECT_KEEP_HEIGHT", + "value": 3 + }, + { + "name": "CONTENT_SCALE_ASPECT_EXPAND", + "value": 4 + } + ] + }, + { + "name": "Flags", + "values": [ + { + "name": "FLAG_RESIZE_DISABLED", + "value": 0 + }, + { + "name": "FLAG_BORDERLESS", + "value": 1 + }, + { + "name": "FLAG_ALWAYS_ON_TOP", + "value": 2 + }, + { + "name": "FLAG_TRANSPARENT", + "value": 3 + }, + { + "name": "FLAG_NO_FOCUS", + "value": 4 + }, + { + "name": "FLAG_MAX", + "value": 5 + } + ] + }, + { + "name": "Mode", + "values": [ + { + "name": "MODE_WINDOWED", + "value": 0 + }, + { + "name": "MODE_MINIMIZED", + "value": 1 + }, + { + "name": "MODE_MAXIMIZED", + "value": 2 + }, + { + "name": "MODE_FULLSCREEN", + "value": 3 + } + ] + }, + { + "name": "LayoutDirection", + "values": [ + { + "name": "LAYOUT_DIRECTION_INHERITED", + "value": 0 + }, + { + "name": "LAYOUT_DIRECTION_LOCALE", + "value": 1 + }, + { + "name": "LAYOUT_DIRECTION_LTR", + "value": 2 + }, + { + "name": "LAYOUT_DIRECTION_RTL", + "value": 3 + } + ] + }, + { + "name": "ContentScaleMode", + "values": [ + { + "name": "CONTENT_SCALE_MODE_DISABLED", + "value": 0 + }, + { + "name": "CONTENT_SCALE_MODE_CANVAS_ITEMS", + "value": 1 + }, + { + "name": "CONTENT_SCALE_MODE_VIEWPORT", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_title", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "title", + "type": "String" + } + ] + }, + { + "name": "get_title", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_current_screen", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_current_screen", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector2i" + } + ] + }, + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2i" + } + ] + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "get_real_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_max_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "max_size", + "type": "Vector2i" + } + ] + }, + { + "name": "get_max_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_min_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "min_size", + "type": "Vector2i" + } + ] + }, + { + "name": "get_min_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Window.Mode" + } + ] + }, + { + "name": "get_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Window.Mode" + } + }, + { + "name": "set_flag", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "flag", + "type": "enum::Window.Flags" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_flag", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "flag", + "type": "enum::Window.Flags" + } + ] + }, + { + "name": "is_maximize_allowed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "request_attention", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "move_to_foreground", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_visible", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "visible", + "type": "bool" + } + ] + }, + { + "name": "is_visible", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "hide", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "show", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_transient", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "transient", + "type": "bool" + } + ] + }, + { + "name": "is_transient", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_exclusive", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "exclusive", + "type": "bool" + } + ] + }, + { + "name": "is_exclusive", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "can_draw", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "has_focus", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "grab_focus", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_ime_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "active", + "type": "bool" + } + ] + }, + { + "name": "set_ime_position", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "Vector2i" + } + ] + }, + { + "name": "is_embedded", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_contents_minimum_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "set_content_scale_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "Vector2i" + } + ] + }, + { + "name": "get_content_scale_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "set_content_scale_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Window.ContentScaleMode" + } + ] + }, + { + "name": "get_content_scale_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Window.ContentScaleMode" + } + }, + { + "name": "set_content_scale_aspect", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "aspect", + "type": "enum::Window.ContentScaleAspect" + } + ] + }, + { + "name": "get_content_scale_aspect", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Window.ContentScaleAspect" + } + }, + { + "name": "set_use_font_oversampling", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_font_oversampling", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_wrap_controls", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_wrapping_controls", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "child_controls_changed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_theme", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "theme", + "type": "Theme" + } + ] + }, + { + "name": "get_theme", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Theme" + } + }, + { + "name": "set_theme_type_variation", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "theme_type", + "type": "StringName" + } + ] + }, + { + "name": "get_theme_type_variation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "get_theme_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_theme_stylebox", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "StyleBox" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_theme_font", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Font" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_theme_font_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_theme_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_theme_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "has_theme_icon", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "has_theme_stylebox", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "has_theme_font", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "has_theme_font_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "has_theme_color", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "has_theme_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName", + "default_value": "\"\"" + } + ] + }, + { + "name": "set_layout_direction", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::Window.LayoutDirection" + } + ] + }, + { + "name": "get_layout_direction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Window.LayoutDirection" + } + }, + { + "name": "is_layout_rtl", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_auto_translate", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_auto_translating", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "popup", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 265334380, + "arguments": [ + { + "name": "rect", + "type": "Rect2i", + "default_value": "Rect2i(0, 0, 0, 0)" + } + ] + }, + { + "name": "popup_on_parent", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "parent_rect", + "type": "Rect2i" + } + ] + }, + { + "name": "popup_centered_ratio", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2502430199, + "arguments": [ + { + "name": "ratio", + "type": "float", + "meta": "float", + "default_value": "0.8" + } + ] + }, + { + "name": "popup_centered", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 2219751724, + "arguments": [ + { + "name": "minsize", + "type": "Vector2i", + "default_value": "Vector2i(0, 0)" + } + ] + }, + { + "name": "popup_centered_clamped", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 3173471955, + "arguments": [ + { + "name": "minsize", + "type": "Vector2i", + "default_value": "Vector2i(0, 0)" + }, + { + "name": "fallback_ratio", + "type": "float", + "meta": "float", + "default_value": "0.75" + } + ] + } + ], + "signals": [ + { + "name": "mouse_exited" + }, + { + "name": "focus_entered" + }, + { + "name": "go_back_requested" + }, + { + "name": "close_requested" + }, + { + "name": "mouse_entered" + }, + { + "name": "window_input", + "arguments": [ + { + "name": "event", + "type": "InputEvent" + } + ] + }, + { + "name": "about_to_popup" + }, + { + "name": "files_dropped", + "arguments": [ + { + "name": "files", + "type": "PackedStringArray" + } + ] + }, + { + "name": "visibility_changed" + }, + { + "name": "focus_exited" + } + ], + "properties": [ + { + "type": "String", + "name": "title", + "setter": "set_title", + "getter": "get_title", + "index": -1 + }, + { + "type": "Vector2i", + "name": "position", + "setter": "set_position", + "getter": "get_position", + "index": -1 + }, + { + "type": "Vector2i", + "name": "size", + "setter": "set_size", + "getter": "get_size", + "index": -1 + }, + { + "type": "int", + "name": "mode", + "setter": "set_mode", + "getter": "get_mode", + "index": -1 + }, + { + "type": "String", + "name": "current_screen", + "setter": "set_current_screen", + "getter": "get_current_screen", + "index": -1 + }, + { + "type": "bool", + "name": "visible", + "setter": "set_visible", + "getter": "is_visible", + "index": -1 + }, + { + "type": "bool", + "name": "wrap_controls", + "setter": "set_wrap_controls", + "getter": "is_wrapping_controls", + "index": -1 + }, + { + "type": "bool", + "name": "transient", + "setter": "set_transient", + "getter": "is_transient", + "index": -1 + }, + { + "type": "bool", + "name": "exclusive", + "setter": "set_exclusive", + "getter": "is_exclusive", + "index": -1 + }, + { + "type": "bool", + "name": "unresizable", + "setter": "set_flag", + "getter": "get_flag", + "index": 0 + }, + { + "type": "bool", + "name": "borderless", + "setter": "set_flag", + "getter": "get_flag", + "index": 1 + }, + { + "type": "bool", + "name": "always_on_top", + "setter": "set_flag", + "getter": "get_flag", + "index": 2 + }, + { + "type": "bool", + "name": "transparent", + "setter": "set_flag", + "getter": "get_flag", + "index": 3 + }, + { + "type": "bool", + "name": "unfocusable", + "setter": "set_flag", + "getter": "get_flag", + "index": 4 + }, + { + "type": "Vector2i", + "name": "min_size", + "setter": "set_min_size", + "getter": "get_min_size", + "index": -1 + }, + { + "type": "Vector2i", + "name": "max_size", + "setter": "set_max_size", + "getter": "get_max_size", + "index": -1 + }, + { + "type": "Vector2i", + "name": "content_scale_size", + "setter": "set_content_scale_size", + "getter": "get_content_scale_size", + "index": -1 + }, + { + "type": "int", + "name": "content_scale_mode", + "setter": "set_content_scale_mode", + "getter": "get_content_scale_mode", + "index": -1 + }, + { + "type": "int", + "name": "content_scale_aspect", + "setter": "set_content_scale_aspect", + "getter": "get_content_scale_aspect", + "index": -1 + }, + { + "type": "Theme", + "name": "theme", + "setter": "set_theme", + "getter": "get_theme", + "index": -1 + }, + { + "type": "String", + "name": "theme_type_variation", + "setter": "set_theme_type_variation", + "getter": "get_theme_type_variation", + "index": -1 + }, + { + "type": "bool", + "name": "auto_translate", + "setter": "set_auto_translate", + "getter": "is_auto_translating", + "index": -1 + } + ] + }, + { + "name": "World2D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_canvas", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_space", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_navigation_map", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_direct_space_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PhysicsDirectSpaceState2D" + } + } + ], + "properties": [ + { + "type": "RID", + "name": "canvas", + "setter": "", + "getter": "get_canvas", + "index": -1 + }, + { + "type": "RID", + "name": "space", + "setter": "", + "getter": "get_space", + "index": -1 + }, + { + "type": "RID", + "name": "navigation_map", + "setter": "", + "getter": "get_navigation_map", + "index": -1 + }, + { + "type": "PhysicsDirectSpaceState2D", + "name": "direct_space_state", + "setter": "", + "getter": "get_direct_space_state", + "index": -1 + } + ] + }, + { + "name": "World3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_space", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_navigation_map", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "get_scenario", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_environment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "env", + "type": "Environment" + } + ] + }, + { + "name": "get_environment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Environment" + } + }, + { + "name": "set_fallback_environment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "env", + "type": "Environment" + } + ] + }, + { + "name": "get_fallback_environment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Environment" + } + }, + { + "name": "set_camera_effects", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "effects", + "type": "CameraEffects" + } + ] + }, + { + "name": "get_camera_effects", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "CameraEffects" + } + }, + { + "name": "get_direct_space_state", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PhysicsDirectSpaceState3D" + } + } + ], + "properties": [ + { + "type": "Environment", + "name": "environment", + "setter": "set_environment", + "getter": "get_environment", + "index": -1 + }, + { + "type": "Environment", + "name": "fallback_environment", + "setter": "set_fallback_environment", + "getter": "get_fallback_environment", + "index": -1 + }, + { + "type": "CameraEffects", + "name": "camera_effects", + "setter": "set_camera_effects", + "getter": "get_camera_effects", + "index": -1 + }, + { + "type": "RID", + "name": "space", + "setter": "", + "getter": "get_space", + "index": -1 + }, + { + "type": "RID", + "name": "navigation_map", + "setter": "", + "getter": "get_navigation_map", + "index": -1 + }, + { + "type": "RID", + "name": "scenario", + "setter": "", + "getter": "get_scenario", + "index": -1 + }, + { + "type": "PhysicsDirectSpaceState3D", + "name": "direct_space_state", + "setter": "", + "getter": "get_direct_space_state", + "index": -1 + } + ] + }, + { + "name": "WorldEnvironment", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node", + "api_type": "core", + "methods": [ + { + "name": "set_environment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "env", + "type": "Environment" + } + ] + }, + { + "name": "get_environment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Environment" + } + }, + { + "name": "set_camera_effects", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "env", + "type": "CameraEffects" + } + ] + }, + { + "name": "get_camera_effects", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "CameraEffects" + } + } + ], + "properties": [ + { + "type": "Environment", + "name": "environment", + "setter": "set_environment", + "getter": "get_environment", + "index": -1 + }, + { + "type": "CameraEffects", + "name": "camera_effects", + "setter": "set_camera_effects", + "getter": "get_camera_effects", + "index": -1 + } + ] + }, + { + "name": "WorldMarginShape3D", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Shape3D", + "api_type": "core", + "methods": [ + { + "name": "set_plane", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "plane", + "type": "Plane" + } + ] + }, + { + "name": "get_plane", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Plane" + } + } + ], + "properties": [ + { + "type": "Plane", + "name": "plane", + "setter": "set_plane", + "getter": "get_plane", + "index": -1 + } + ] + }, + { + "name": "X509Certificate", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "save", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "load", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + } + ] + }, + { + "name": "XMLParser", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "NodeType", + "values": [ + { + "name": "NODE_NONE", + "value": 0 + }, + { + "name": "NODE_ELEMENT", + "value": 1 + }, + { + "name": "NODE_ELEMENT_END", + "value": 2 + }, + { + "name": "NODE_TEXT", + "value": 3 + }, + { + "name": "NODE_COMMENT", + "value": 4 + }, + { + "name": "NODE_CDATA", + "value": 5 + }, + { + "name": "NODE_UNKNOWN", + "value": 6 + } + ] + } + ], + "methods": [ + { + "name": "read", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "get_node_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::XMLParser.NodeType" + } + }, + { + "name": "get_node_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_node_data", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_node_offset", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_attribute_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_attribute_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_attribute_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "has_attribute", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_named_attribute_value", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_named_attribute_value_safe", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "is_empty", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_current_line", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "skip_section", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "seek", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "position", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "open", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "open_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "buffer", + "type": "PackedByteArray" + } + ] + } + ] + }, + { + "name": "XRAnchor3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_anchor_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "anchor_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_anchor_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_anchor_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_is_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_size", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_plane", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Plane" + } + }, + { + "name": "get_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Mesh" + } + } + ], + "signals": [ + { + "name": "mesh_updated", + "arguments": [ + { + "name": "mesh", + "type": "Mesh" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "anchor_id", + "setter": "set_anchor_id", + "getter": "get_anchor_id", + "index": -1 + } + ] + }, + { + "name": "XRCamera3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Camera3D", + "api_type": "core" + }, + { + "name": "XRController3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_controller_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "controller_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_controller_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_controller_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_joystick_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "is_button_pressed", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "button", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_joystick_axis", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "axis", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_is_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_tracker_hand", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::XRPositionalTracker.TrackerHand" + } + }, + { + "name": "get_rumble", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_rumble", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rumble", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Mesh" + } + } + ], + "signals": [ + { + "name": "mesh_updated", + "arguments": [ + { + "name": "mesh", + "type": "Mesh" + } + ] + }, + { + "name": "button_released", + "arguments": [ + { + "name": "button", + "type": "int" + } + ] + }, + { + "name": "button_pressed", + "arguments": [ + { + "name": "button", + "type": "int" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "controller_id", + "setter": "set_controller_id", + "getter": "get_controller_id", + "index": -1 + }, + { + "type": "float", + "name": "rumble", + "setter": "set_rumble", + "getter": "get_rumble", + "index": -1 + } + ] + }, + { + "name": "XRInterface", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "Tracking_status", + "values": [ + { + "name": "XR_NORMAL_TRACKING", + "value": 0 + }, + { + "name": "XR_EXCESSIVE_MOTION", + "value": 1 + }, + { + "name": "XR_INSUFFICIENT_FEATURES", + "value": 2 + }, + { + "name": "XR_UNKNOWN_TRACKING", + "value": 3 + }, + { + "name": "XR_NOT_TRACKING", + "value": 4 + } + ] + }, + { + "name": "Eyes", + "values": [ + { + "name": "EYE_MONO", + "value": 0 + }, + { + "name": "EYE_LEFT", + "value": 1 + }, + { + "name": "EYE_RIGHT", + "value": 2 + } + ] + }, + { + "name": "Capabilities", + "values": [ + { + "name": "XR_NONE", + "value": 0 + }, + { + "name": "XR_MONO", + "value": 1 + }, + { + "name": "XR_STEREO", + "value": 2 + }, + { + "name": "XR_AR", + "value": 4 + }, + { + "name": "XR_EXTERNAL", + "value": 8 + } + ] + } + ], + "methods": [ + { + "name": "get_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "get_capabilities", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "is_primary", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_is_primary", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_initialized", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_is_initialized", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "initialized", + "type": "bool" + } + ] + }, + { + "name": "initialize", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "uninitialize", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_tracking_status", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::XRInterface.Tracking_status" + } + }, + { + "name": "get_render_targetsize", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Vector2" + } + }, + { + "name": "get_view_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "get_anchor_detection_is_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_anchor_detection_is_enabled", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_camera_feed_id", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "interface_is_primary", + "setter": "set_is_primary", + "getter": "is_primary", + "index": -1 + }, + { + "type": "bool", + "name": "interface_is_initialized", + "setter": "set_is_initialized", + "getter": "is_initialized", + "index": -1 + }, + { + "type": "bool", + "name": "ar_is_anchor_detection_enabled", + "setter": "set_anchor_detection_is_enabled", + "getter": "get_anchor_detection_is_enabled", + "index": -1 + } + ] + }, + { + "name": "XRInterfaceGDNative", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "XRInterface", + "api_type": "core" + }, + { + "name": "XROrigin3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_world_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "world_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_world_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "world_scale", + "setter": "set_world_scale", + "getter": "get_world_scale", + "index": -1 + } + ] + }, + { + "name": "XRPositionalTracker", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "TrackerHand", + "values": [ + { + "name": "TRACKER_HAND_UNKNOWN", + "value": 0 + }, + { + "name": "TRACKER_HAND_LEFT", + "value": 1 + }, + { + "name": "TRACKER_HAND_RIGHT", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "get_tracker_type", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::XRServer.TrackerType" + } + }, + { + "name": "get_tracker_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_tracker_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StringName" + } + }, + { + "name": "get_joy_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "is_tracking_orientation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_orientation", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Basis" + } + }, + { + "name": "is_tracking_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "get_tracker_hand", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::XRPositionalTracker.TrackerHand" + } + }, + { + "name": "get_transform", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "adjust_by_reference_frame", + "type": "bool" + } + ] + }, + { + "name": "get_mesh", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Mesh" + } + }, + { + "name": "get_rumble", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_rumble", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "rumble", + "type": "float", + "meta": "float" + } + ] + } + ], + "properties": [ + { + "type": "float", + "name": "rumble", + "setter": "set_rumble", + "getter": "get_rumble", + "index": -1 + } + ] + }, + { + "name": "XRServer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "RotationMode", + "values": [ + { + "name": "RESET_FULL_ROTATION", + "value": 0 + }, + { + "name": "RESET_BUT_KEEP_TILT", + "value": 1 + }, + { + "name": "DONT_RESET_ROTATION", + "value": 2 + } + ] + }, + { + "name": "TrackerType", + "values": [ + { + "name": "TRACKER_CONTROLLER", + "value": 1 + }, + { + "name": "TRACKER_BASESTATION", + "value": 2 + }, + { + "name": "TRACKER_ANCHOR", + "value": 4 + }, + { + "name": "TRACKER_ANY_KNOWN", + "value": 127 + }, + { + "name": "TRACKER_UNKNOWN", + "value": 128 + }, + { + "name": "TRACKER_ANY", + "value": 255 + } + ] + } + ], + "methods": [ + { + "name": "get_world_scale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_world_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "arg0", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_reference_frame", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "center_on_hmd", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "rotation_mode", + "type": "enum::XRServer.RotationMode" + }, + { + "name": "keep_height", + "type": "bool" + } + ] + }, + { + "name": "get_hmd_transform", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Transform3D" + } + }, + { + "name": "add_interface", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "interface", + "type": "XRInterface" + } + ] + }, + { + "name": "clear_primary_interface_if", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "interface", + "type": "XRInterface" + } + ] + }, + { + "name": "get_interface_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "remove_interface", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "interface", + "type": "XRInterface" + } + ] + }, + { + "name": "get_interface", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "XRInterface" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_interfaces", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "find_interface", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "XRInterface" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_tracker_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_tracker", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "XRPositionalTracker" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_tracker", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tracker", + "type": "XRPositionalTracker" + } + ] + }, + { + "name": "remove_tracker", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "tracker", + "type": "XRPositionalTracker" + } + ] + }, + { + "name": "get_primary_interface", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "XRInterface" + } + }, + { + "name": "set_primary_interface", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "interface", + "type": "XRInterface" + } + ] + }, + { + "name": "get_last_process_usec", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_last_commit_usec", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_last_frame_usec", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint64" + } + } + ], + "signals": [ + { + "name": "tracker_removed", + "arguments": [ + { + "name": "tracker_name", + "type": "StringName" + }, + { + "name": "type", + "type": "int" + }, + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "tracker_added", + "arguments": [ + { + "name": "tracker_name", + "type": "StringName" + }, + { + "name": "type", + "type": "int" + }, + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "interface_removed", + "arguments": [ + { + "name": "interface_name", + "type": "StringName" + } + ] + }, + { + "name": "interface_added", + "arguments": [ + { + "name": "interface_name", + "type": "StringName" + } + ] + } + ], + "properties": [ + { + "type": "float", + "name": "world_scale", + "setter": "set_world_scale", + "getter": "get_world_scale", + "index": -1 + }, + { + "type": "Object", + "name": "primary_interface", + "setter": "set_primary_interface", + "getter": "get_primary_interface", + "index": -1 + } + ] + }, + { + "name": "_ClassDB", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "get_class_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "get_inheriters_from_class", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + } + ] + }, + { + "name": "get_parent_class", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + } + ] + }, + { + "name": "class_exists", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + } + ] + }, + { + "name": "is_parent_class", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + }, + { + "name": "inherits", + "type": "StringName" + } + ] + }, + { + "name": "can_instantiate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + } + ] + }, + { + "name": "instantiate", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + } + ] + }, + { + "name": "class_has_signal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + }, + { + "name": "signal", + "type": "StringName" + } + ] + }, + { + "name": "class_get_signal", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + }, + { + "name": "signal", + "type": "StringName" + } + ] + }, + { + "name": "class_get_signal_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + }, + { + "name": "no_inheritance", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "class_get_property_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + }, + { + "name": "no_inheritance", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "class_get_property", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "object", + "type": "Object" + }, + { + "name": "property", + "type": "StringName" + } + ] + }, + { + "name": "class_set_property", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "object", + "type": "Object" + }, + { + "name": "property", + "type": "StringName" + }, + { + "name": "value", + "type": "Variant" + } + ] + }, + { + "name": "class_has_method", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 174785387, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + }, + { + "name": "method", + "type": "StringName" + }, + { + "name": "no_inheritance", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "class_get_method_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + }, + { + "name": "no_inheritance", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "class_get_integer_constant_list", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 173599466, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + }, + { + "name": "no_inheritance", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "class_has_integer_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + }, + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "class_get_integer_constant", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + }, + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "class_get_category", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + } + ] + }, + { + "name": "is_class_enabled", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "class", + "type": "StringName" + } + ] + } + ] + }, + { + "name": "_Directory", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "open", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "list_dir_begin", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1434999914, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "show_navigational", + "type": "bool", + "default_value": "false" + }, + { + "name": "show_hidden", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "get_next", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "current_is_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "list_dir_end", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_drive_count", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_drive", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_current_drive", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "change_dir", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "todir", + "type": "String" + } + ] + }, + { + "name": "get_current_dir", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "make_dir", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "make_dir_recursive", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "file_exists", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "dir_exists", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_space_left", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "copy", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "from", + "type": "String" + }, + { + "name": "to", + "type": "String" + } + ] + }, + { + "name": "rename", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "from", + "type": "String" + }, + { + "name": "to", + "type": "String" + } + ] + }, + { + "name": "remove", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + } + ] + }, + { + "name": "_Engine", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "set_iterations_per_second", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "iterations_per_second", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_iterations_per_second", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_physics_jitter_fix", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "physics_jitter_fix", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_physics_jitter_fix", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_physics_interpolation_fraction", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_target_fps", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "target_fps", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_target_fps", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_time_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "time_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_time_scale", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_frames_drawn", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_frames_per_second", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_physics_frames", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_process_frames", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_main_loop", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "MainLoop" + } + }, + { + "name": "get_version_info", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "get_author_info", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "get_copyright_info", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_donor_info", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "get_license_info", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "get_license_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "is_in_physics_frame", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "has_singleton", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_singleton", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Object" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_editor_hint", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_editor_hint", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_print_error_messages", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_printing_error_messages", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "editor_hint", + "setter": "set_editor_hint", + "getter": "is_editor_hint", + "index": -1 + }, + { + "type": "bool", + "name": "print_error_messages", + "setter": "set_print_error_messages", + "getter": "is_printing_error_messages", + "index": -1 + }, + { + "type": "int", + "name": "iterations_per_second", + "setter": "set_iterations_per_second", + "getter": "get_iterations_per_second", + "index": -1 + }, + { + "type": "int", + "name": "target_fps", + "setter": "set_target_fps", + "getter": "get_target_fps", + "index": -1 + }, + { + "type": "float", + "name": "time_scale", + "setter": "set_time_scale", + "getter": "get_time_scale", + "index": -1 + }, + { + "type": "float", + "name": "physics_jitter_fix", + "setter": "set_physics_jitter_fix", + "getter": "get_physics_jitter_fix", + "index": -1 + } + ] + }, + { + "name": "_EngineDebugger", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "is_active", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "register_profiler", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134295977, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "toggle", + "type": "Callable" + }, + { + "name": "add", + "type": "Callable" + }, + { + "name": "tick", + "type": "Callable" + } + ] + }, + { + "name": "unregister_profiler", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "is_profiling", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "has_profiler", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "profiler_add_frame_data", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "data", + "type": "Array" + } + ] + }, + { + "name": "profiler_enable", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135649961, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "arguments", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "register_message_capture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "callable", + "type": "Callable" + } + ] + }, + { + "name": "unregister_message_capture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "has_capture", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, + { + "name": "send_message", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "message", + "type": "String" + }, + { + "name": "data", + "type": "Array" + } + ] + } + ] + }, + { + "name": "_File", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "CompressionMode", + "values": [ + { + "name": "COMPRESSION_FASTLZ", + "value": 0 + }, + { + "name": "COMPRESSION_DEFLATE", + "value": 1 + }, + { + "name": "COMPRESSION_ZSTD", + "value": 2 + }, + { + "name": "COMPRESSION_GZIP", + "value": 3 + } + ] + }, + { + "name": "ModeFlags", + "values": [ + { + "name": "READ", + "value": 1 + }, + { + "name": "WRITE", + "value": 2 + }, + { + "name": "READ_WRITE", + "value": 3 + }, + { + "name": "WRITE_READ", + "value": 7 + } + ] + } + ], + "methods": [ + { + "name": "open_encrypted", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "mode_flags", + "type": "enum::_File.ModeFlags" + }, + { + "name": "key", + "type": "PackedByteArray" + } + ] + }, + { + "name": "open_encrypted_with_pass", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "mode_flags", + "type": "enum::_File.ModeFlags" + }, + { + "name": "pass", + "type": "String" + } + ] + }, + { + "name": "open_compressed", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "mode_flags", + "type": "enum::_File.ModeFlags" + }, + { + "name": "compression_mode", + "type": "enum::_File.CompressionMode", + "default_value": "0" + } + ] + }, + { + "name": "open", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "flags", + "type": "enum::_File.ModeFlags" + } + ] + }, + { + "name": "flush", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "close", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "get_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_path_absolute", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "is_open", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "seek", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "position", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "seek_end", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "position", + "type": "int", + "meta": "int64", + "default_value": "0" + } + ] + }, + { + "name": "get_position", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_length", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "eof_reached", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_8", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint8" + } + }, + { + "name": "get_16", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint16" + } + }, + { + "name": "get_32", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint32" + } + }, + { + "name": "get_64", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_float", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_double", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "get_real", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_buffer", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "length", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "get_line", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_csv_line", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 365838458, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "delim", + "type": "String", + "default_value": "\",\"" + } + ] + }, + { + "name": "get_as_text", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_md5", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_sha256", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "is_big_endian", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_big_endian", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "big_endian", + "type": "bool" + } + ] + }, + { + "name": "get_error", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "get_var", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 172413545, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "allow_objects", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "store_8", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "uint8" + } + ] + }, + { + "name": "store_16", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "uint16" + } + ] + }, + { + "name": "store_32", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "store_64", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "store_float", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "store_double", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "store_real", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "store_buffer", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "buffer", + "type": "PackedByteArray" + } + ] + }, + { + "name": "store_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "line", + "type": "String" + } + ] + }, + { + "name": "store_csv_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "values", + "type": "PackedStringArray" + }, + { + "name": "delim", + "type": "String", + "default_value": "\",\"" + } + ] + }, + { + "name": "store_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "string", + "type": "String" + } + ] + }, + { + "name": "store_var", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "value", + "type": "Variant" + }, + { + "name": "full_objects", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "store_pascal_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "string", + "type": "String" + } + ] + }, + { + "name": "get_pascal_string", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "file_exists", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_modified_time", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "big_endian", + "setter": "set_big_endian", + "getter": "is_big_endian", + "index": -1 + } + ] + }, + { + "name": "_Geometry2D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "PolyEndType", + "values": [ + { + "name": "END_POLYGON", + "value": 0 + }, + { + "name": "END_JOINED", + "value": 1 + }, + { + "name": "END_BUTT", + "value": 2 + }, + { + "name": "END_SQUARE", + "value": 3 + }, + { + "name": "END_ROUND", + "value": 4 + } + ] + }, + { + "name": "PolyBooleanOperation", + "values": [ + { + "name": "OPERATION_UNION", + "value": 0 + }, + { + "name": "OPERATION_DIFFERENCE", + "value": 1 + }, + { + "name": "OPERATION_INTERSECTION", + "value": 2 + }, + { + "name": "OPERATION_XOR", + "value": 3 + } + ] + }, + { + "name": "PolyJoinType", + "values": [ + { + "name": "JOIN_SQUARE", + "value": 0 + }, + { + "name": "JOIN_ROUND", + "value": 1 + }, + { + "name": "JOIN_MITER", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "is_point_in_circle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "point", + "type": "Vector2" + }, + { + "name": "circle_position", + "type": "Vector2" + }, + { + "name": "circle_radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "segment_intersects_segment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "from_a", + "type": "Vector2" + }, + { + "name": "to_a", + "type": "Vector2" + }, + { + "name": "from_b", + "type": "Vector2" + }, + { + "name": "to_b", + "type": "Vector2" + } + ] + }, + { + "name": "line_intersects_line", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "from_a", + "type": "Vector2" + }, + { + "name": "dir_a", + "type": "Vector2" + }, + { + "name": "from_b", + "type": "Vector2" + }, + { + "name": "dir_b", + "type": "Vector2" + } + ] + }, + { + "name": "get_closest_points_between_segments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "PackedVector2Array" + }, + "arguments": [ + { + "name": "p1", + "type": "Vector2" + }, + { + "name": "q1", + "type": "Vector2" + }, + { + "name": "p2", + "type": "Vector2" + }, + { + "name": "q2", + "type": "Vector2" + } + ] + }, + { + "name": "get_closest_point_to_segment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "point", + "type": "Vector2" + }, + { + "name": "s1", + "type": "Vector2" + }, + { + "name": "s2", + "type": "Vector2" + } + ] + }, + { + "name": "get_closest_point_to_segment_uncapped", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "point", + "type": "Vector2" + }, + { + "name": "s1", + "type": "Vector2" + }, + { + "name": "s2", + "type": "Vector2" + } + ] + }, + { + "name": "point_is_inside_triangle", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135481931, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "point", + "type": "Vector2" + }, + { + "name": "a", + "type": "Vector2" + }, + { + "name": "b", + "type": "Vector2" + }, + { + "name": "c", + "type": "Vector2" + } + ] + }, + { + "name": "is_polygon_clockwise", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "polygon", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "is_point_in_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "point", + "type": "Vector2" + }, + { + "name": "polygon", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "triangulate_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "polygon", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "triangulate_delaunay", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedInt32Array" + }, + "arguments": [ + { + "name": "points", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "convex_hull", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedVector2Array" + }, + "arguments": [ + { + "name": "points", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "merge_polygons", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "polygon_a", + "type": "PackedVector2Array" + }, + { + "name": "polygon_b", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "clip_polygons", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "polygon_a", + "type": "PackedVector2Array" + }, + { + "name": "polygon_b", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "intersect_polygons", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "polygon_a", + "type": "PackedVector2Array" + }, + { + "name": "polygon_b", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "exclude_polygons", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "polygon_a", + "type": "PackedVector2Array" + }, + { + "name": "polygon_b", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "clip_polyline_with_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "polyline", + "type": "PackedVector2Array" + }, + { + "name": "polygon", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "intersect_polyline_with_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "polyline", + "type": "PackedVector2Array" + }, + { + "name": "polygon", + "type": "PackedVector2Array" + } + ] + }, + { + "name": "offset_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "polygon", + "type": "PackedVector2Array" + }, + { + "name": "delta", + "type": "float", + "meta": "float" + }, + { + "name": "join_type", + "type": "enum::_Geometry2D.PolyJoinType", + "default_value": "0" + } + ] + }, + { + "name": "offset_polyline", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1513270700, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "polyline", + "type": "PackedVector2Array" + }, + { + "name": "delta", + "type": "float", + "meta": "float" + }, + { + "name": "join_type", + "type": "enum::_Geometry2D.PolyJoinType", + "default_value": "0" + }, + { + "name": "end_type", + "type": "enum::_Geometry2D.PolyEndType", + "default_value": "3" + } + ] + }, + { + "name": "make_atlas", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "sizes", + "type": "PackedVector2Array" + } + ] + } + ] + }, + { + "name": "_Geometry3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "build_box_planes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "extents", + "type": "Vector3" + } + ] + }, + { + "name": "build_cylinder_planes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 175971275, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + }, + { + "name": "height", + "type": "float", + "meta": "float" + }, + { + "name": "sides", + "type": "int", + "meta": "int32" + }, + { + "name": "axis", + "type": "enum::Vector3.Axis", + "default_value": "2" + } + ] + }, + { + "name": "build_capsule_planes", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 177157196, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + }, + { + "name": "height", + "type": "float", + "meta": "float" + }, + { + "name": "sides", + "type": "int", + "meta": "int32" + }, + { + "name": "lats", + "type": "int", + "meta": "int32" + }, + { + "name": "axis", + "type": "enum::Vector3.Axis", + "default_value": "2" + } + ] + }, + { + "name": "get_closest_points_between_segments", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "PackedVector3Array" + }, + "arguments": [ + { + "name": "p1", + "type": "Vector3" + }, + { + "name": "p2", + "type": "Vector3" + }, + { + "name": "q1", + "type": "Vector3" + }, + { + "name": "q2", + "type": "Vector3" + } + ] + }, + { + "name": "get_closest_point_to_segment", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "point", + "type": "Vector3" + }, + { + "name": "s1", + "type": "Vector3" + }, + { + "name": "s2", + "type": "Vector3" + } + ] + }, + { + "name": "get_closest_point_to_segment_uncapped", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "point", + "type": "Vector3" + }, + { + "name": "s1", + "type": "Vector3" + }, + { + "name": "s2", + "type": "Vector3" + } + ] + }, + { + "name": "ray_intersects_triangle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135517835, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "from", + "type": "Vector3" + }, + { + "name": "dir", + "type": "Vector3" + }, + { + "name": "a", + "type": "Vector3" + }, + { + "name": "b", + "type": "Vector3" + }, + { + "name": "c", + "type": "Vector3" + } + ] + }, + { + "name": "segment_intersects_triangle", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135517835, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "from", + "type": "Vector3" + }, + { + "name": "to", + "type": "Vector3" + }, + { + "name": "a", + "type": "Vector3" + }, + { + "name": "b", + "type": "Vector3" + }, + { + "name": "c", + "type": "Vector3" + } + ] + }, + { + "name": "segment_intersects_sphere", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "PackedVector3Array" + }, + "arguments": [ + { + "name": "from", + "type": "Vector3" + }, + { + "name": "to", + "type": "Vector3" + }, + { + "name": "sphere_position", + "type": "Vector3" + }, + { + "name": "sphere_radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "segment_intersects_cylinder", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135481898, + "return_value": { + "type": "PackedVector3Array" + }, + "arguments": [ + { + "name": "from", + "type": "Vector3" + }, + { + "name": "to", + "type": "Vector3" + }, + { + "name": "height", + "type": "float", + "meta": "float" + }, + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "segment_intersects_convex", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135445961, + "return_value": { + "type": "PackedVector3Array" + }, + "arguments": [ + { + "name": "from", + "type": "Vector3" + }, + { + "name": "to", + "type": "Vector3" + }, + { + "name": "planes", + "type": "Array" + } + ] + }, + { + "name": "clip_polygon", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "PackedVector3Array" + }, + "arguments": [ + { + "name": "points", + "type": "PackedVector3Array" + }, + { + "name": "plane", + "type": "Plane" + } + ] + } + ] + }, + { + "name": "_Marshalls", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "methods": [ + { + "name": "variant_to_base64", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "variant", + "type": "Variant" + }, + { + "name": "full_objects", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "base64_to_variant", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "base64_str", + "type": "String" + }, + { + "name": "allow_objects", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "raw_to_base64", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "array", + "type": "PackedByteArray" + } + ] + }, + { + "name": "base64_to_raw", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "base64_str", + "type": "String" + } + ] + }, + { + "name": "utf8_to_base64", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "utf8_str", + "type": "String" + } + ] + }, + { + "name": "base64_to_utf8", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "base64_str", + "type": "String" + } + ] + } + ] + }, + { + "name": "_Mutex", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "lock", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "try_lock", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "unlock", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ] + }, + { + "name": "_OS", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "VideoDriver", + "values": [ + { + "name": "VIDEO_DRIVER_GLES2", + "value": 0 + }, + { + "name": "VIDEO_DRIVER_VULKAN", + "value": 1 + } + ] + }, + { + "name": "SystemDir", + "values": [ + { + "name": "SYSTEM_DIR_DESKTOP", + "value": 0 + }, + { + "name": "SYSTEM_DIR_DCIM", + "value": 1 + }, + { + "name": "SYSTEM_DIR_DOCUMENTS", + "value": 2 + }, + { + "name": "SYSTEM_DIR_DOWNLOADS", + "value": 3 + }, + { + "name": "SYSTEM_DIR_MOVIES", + "value": 4 + }, + { + "name": "SYSTEM_DIR_MUSIC", + "value": 5 + }, + { + "name": "SYSTEM_DIR_PICTURES", + "value": 6 + }, + { + "name": "SYSTEM_DIR_RINGTONES", + "value": 7 + } + ] + }, + { + "name": "Month", + "values": [ + { + "name": "MONTH_JANUARY", + "value": 1 + }, + { + "name": "MONTH_FEBRUARY", + "value": 2 + }, + { + "name": "MONTH_MARCH", + "value": 3 + }, + { + "name": "MONTH_APRIL", + "value": 4 + }, + { + "name": "MONTH_MAY", + "value": 5 + }, + { + "name": "MONTH_JUNE", + "value": 6 + }, + { + "name": "MONTH_JULY", + "value": 7 + }, + { + "name": "MONTH_AUGUST", + "value": 8 + }, + { + "name": "MONTH_SEPTEMBER", + "value": 9 + }, + { + "name": "MONTH_OCTOBER", + "value": 10 + }, + { + "name": "MONTH_NOVEMBER", + "value": 11 + }, + { + "name": "MONTH_DECEMBER", + "value": 12 + } + ] + }, + { + "name": "Weekday", + "values": [ + { + "name": "DAY_SUNDAY", + "value": 0 + }, + { + "name": "DAY_MONDAY", + "value": 1 + }, + { + "name": "DAY_TUESDAY", + "value": 2 + }, + { + "name": "DAY_WEDNESDAY", + "value": 3 + }, + { + "name": "DAY_THURSDAY", + "value": 4 + }, + { + "name": "DAY_FRIDAY", + "value": 5 + }, + { + "name": "DAY_SATURDAY", + "value": 6 + } + ] + } + ], + "methods": [ + { + "name": "get_connected_midi_inputs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "open_midi_inputs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "close_midi_inputs", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "alert", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134464040, + "arguments": [ + { + "name": "text", + "type": "String" + }, + { + "name": "title", + "type": "String", + "default_value": "\"Alert!\"" + } + ] + }, + { + "name": "set_low_processor_usage_mode", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_in_low_processor_usage_mode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_low_processor_usage_mode_sleep_usec", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "usec", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_low_processor_usage_mode_sleep_usec", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_processor_count", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_executable_path", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "execute", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1513270700, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "arguments", + "type": "PackedStringArray" + }, + { + "name": "output", + "type": "Array", + "default_value": "[]" + }, + { + "name": "read_stderr", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "create_process", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135410024, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "arguments", + "type": "PackedStringArray" + } + ] + }, + { + "name": "kill", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "pid", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "shell_open", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "uri", + "type": "String" + } + ] + }, + { + "name": "get_process_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_environment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "variable", + "type": "String" + } + ] + }, + { + "name": "set_environment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135410057, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "variable", + "type": "String" + }, + { + "name": "value", + "type": "String" + } + ] + }, + { + "name": "has_environment", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "variable", + "type": "String" + } + ] + }, + { + "name": "get_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_cmdline_args", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "delay_usec", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134188199, + "arguments": [ + { + "name": "usec", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "delay_msec", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 134188199, + "arguments": [ + { + "name": "msec", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_locale", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_model_name", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "is_userfs_persistent", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_stdout_verbose", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "can_use_threads", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_debug_build", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "dump_memory_to_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "dump_resources_to_file", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "print_resources_in_use", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 133278119, + "arguments": [ + { + "name": "short", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "print_all_resources", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 139138028, + "arguments": [ + { + "name": "tofile", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "get_static_memory_usage", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_static_memory_peak_usage", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "get_user_data_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_external_data_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_system_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "dir", + "type": "enum::_OS.SystemDir" + } + ] + }, + { + "name": "get_config_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_data_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_cache_dir", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "get_unique_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "print_all_textures_by_size", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "print_resources_by_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "types", + "type": "PackedStringArray" + } + ] + }, + { + "name": "get_keycode_string", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "code", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "is_keycode_unicode", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "code", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "find_keycode_from_string", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "string", + "type": "String" + } + ] + }, + { + "name": "set_use_file_access_save_and_swap", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "set_thread_name", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_thread_caller_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "has_feature", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "tag_name", + "type": "String" + } + ] + }, + { + "name": "request_permission", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "request_permissions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_granted_permissions", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "PackedStringArray" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "low_processor_usage_mode", + "setter": "set_low_processor_usage_mode", + "getter": "is_in_low_processor_usage_mode", + "index": -1 + }, + { + "type": "int", + "name": "low_processor_usage_mode_sleep_usec", + "setter": "set_low_processor_usage_mode_sleep_usec", + "getter": "get_low_processor_usage_mode_sleep_usec", + "index": -1 + } + ] + }, + { + "name": "_ResourceLoader", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "ThreadLoadStatus", + "values": [ + { + "name": "THREAD_LOAD_INVALID_RESOURCE", + "value": 0 + }, + { + "name": "THREAD_LOAD_IN_PROGRESS", + "value": 1 + }, + { + "name": "THREAD_LOAD_FAILED", + "value": 2 + }, + { + "name": "THREAD_LOAD_LOADED", + "value": 3 + } + ] + }, + { + "name": "CacheMode", + "values": [ + { + "name": "CACHE_MODE_IGNORE", + "value": 0 + }, + { + "name": "CACHE_MODE_REUSE", + "value": 1 + }, + { + "name": "CACHE_MODE_REPLACE", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "load_threaded_request", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1479995216, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "type_hint", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "use_sub_threads", + "type": "bool", + "default_value": "false" + } + ] + }, + { + "name": "load_threaded_get_status", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "enum::_ResourceLoader.ThreadLoadStatus" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "progress", + "type": "Array", + "default_value": "[]" + } + ] + }, + { + "name": "load_threaded_get", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Resource" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "load", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1479995216, + "return_value": { + "type": "Resource" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "type_hint", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "cache_mode", + "type": "enum::_ResourceLoader.CacheMode", + "default_value": "1" + } + ] + }, + { + "name": "get_recognized_extensions_for_type", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "type", + "type": "String" + } + ] + }, + { + "name": "set_abort_on_missing_resources", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "abort", + "type": "bool" + } + ] + }, + { + "name": "get_dependencies", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "has_cached", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "exists", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 173599433, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "type_hint", + "type": "String", + "default_value": "\"\"" + } + ] + } + ] + }, + { + "name": "_ResourceSaver", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Object", + "api_type": "core", + "enums": [ + { + "name": "SaverFlags", + "values": [ + { + "name": "FLAG_RELATIVE_PATHS", + "value": 1 + }, + { + "name": "FLAG_BUNDLE_RESOURCES", + "value": 2 + }, + { + "name": "FLAG_CHANGE_PATH", + "value": 4 + }, + { + "name": "FLAG_OMIT_EDITOR_PROPERTIES", + "value": 8 + }, + { + "name": "FLAG_SAVE_BIG_ENDIAN", + "value": 16 + }, + { + "name": "FLAG_COMPRESS", + "value": 32 + }, + { + "name": "FLAG_REPLACE_SUBRESOURCE_PATHS", + "value": 64 + } + ] + } + ], + "methods": [ + { + "name": "save", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 174785354, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "resource", + "type": "Resource" + }, + { + "name": "flags", + "type": "enum::_ResourceSaver.SaverFlags", + "default_value": "0" + } + ] + }, + { + "name": "get_recognized_extensions", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "type", + "type": "Resource" + } + ] + } + ] + }, + { + "name": "_Semaphore", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "wait", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "try_wait", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "post", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134152229 + } + ] + }, + { + "name": "_Thread", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "Priority", + "values": [ + { + "name": "PRIORITY_LOW", + "value": 0 + }, + { + "name": "PRIORITY_NORMAL", + "value": 1 + }, + { + "name": "PRIORITY_HIGH", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "start", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 1513270700, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "instance", + "type": "Object" + }, + { + "name": "method", + "type": "StringName" + }, + { + "name": "userdata", + "type": "Variant", + "default_value": "null" + }, + { + "name": "priority", + "type": "enum::_Thread.Priority", + "default_value": "1" + } + ] + }, + { + "name": "get_id", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "is_active", + "is_const": true, + "is_vararg": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "wait_to_finish", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Variant" + } + } + ] + }, + { + "name": "_VisualScriptEditor", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Object", + "api_type": "editor", + "methods": [ + { + "name": "add_custom_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134260040, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "category", + "type": "String" + }, + { + "name": "script", + "type": "Script" + } + ] + }, + { + "name": "remove_custom_node", + "is_const": false, + "is_vararg": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "category", + "type": "String" + } + ] + } + ], + "signals": [ + { + "name": "custom_nodes_updated" + } + ] + } + ], + "singletons": [ + { + "name": "Performance", + "type": "Performance" + }, + { + "name": "ProjectSettings", + "type": "ProjectSettings" + }, + { + "name": "IP", + "type": "IP" + }, + { + "name": "Geometry2D", + "type": "_Geometry2D" + }, + { + "name": "Geometry3D", + "type": "_Geometry3D" + }, + { + "name": "ResourceLoader", + "type": "_ResourceLoader" + }, + { + "name": "ResourceSaver", + "type": "_ResourceSaver" + }, + { + "name": "OS", + "type": "_OS" + }, + { + "name": "Engine", + "type": "_Engine" + }, + { + "name": "ClassDB", + "type": "_ClassDB" + }, + { + "name": "Marshalls", + "type": "_Marshalls" + }, + { + "name": "TranslationServer", + "type": "TranslationServer" + }, + { + "name": "Input", + "type": "Input" + }, + { + "name": "InputMap", + "type": "InputMap" + }, + { + "name": "EngineDebugger", + "type": "_EngineDebugger" + }, + { + "name": "Time", + "type": "Time" + }, + { + "name": "NativeExtensionManager", + "type": "NativeExtensionManager" + }, + { + "name": "ResourceUID", + "type": "ResourceUID" + }, + { + "name": "JavaClassWrapper", + "type": "JavaClassWrapper" + }, + { + "name": "JavaScript", + "type": "JavaScript" + }, + { + "name": "NavigationMeshGenerator", + "type": "NavigationMeshGenerator" + }, + { + "name": "VisualScriptEditor", + "type": "_VisualScriptEditor" + }, + { + "name": "DisplayServer", + "type": "DisplayServer" + }, + { + "name": "RenderingServer", + "type": "RenderingServer" + }, + { + "name": "AudioServer", + "type": "AudioServer" + }, + { + "name": "PhysicsServer2D", + "type": "PhysicsServer2D" + }, + { + "name": "PhysicsServer3D", + "type": "PhysicsServer3D" + }, + { + "name": "NavigationServer2D", + "type": "NavigationServer2D" + }, + { + "name": "NavigationServer3D", + "type": "NavigationServer3D" + }, + { + "name": "TextServerManager", + "type": "TextServerManager" + }, + { + "name": "XRServer", + "type": "XRServer" + }, + { + "name": "CameraServer", + "type": "CameraServer" + } + ] +} \ No newline at end of file diff --git a/godot-headers-temp/godot/gdnative_interface.h b/godot-headers-temp/godot/gdnative_interface.h new file mode 100644 index 00000000..3a5b0442 --- /dev/null +++ b/godot-headers-temp/godot/gdnative_interface.h @@ -0,0 +1,449 @@ +/*************************************************************************/ +/* gdnative_interface.h */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef GDNATIVE_INTERFACE_H +#define GDNATIVE_INTERFACE_H + +/* This is a C class header, you can copy it and use it directly in your own binders. + * Together with the JSON file, you should be able to generate any binder. + */ + +#include +#include +#include + +#ifndef __cplusplus +typedef uint32_t char32_t; +typedef uint16_t char16_t; +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* VARIANT TYPES */ + +typedef enum { + GDNATIVE_VARIANT_TYPE_NIL, + + /* atomic types */ + GDNATIVE_VARIANT_TYPE_BOOL, + GDNATIVE_VARIANT_TYPE_INT, + GDNATIVE_VARIANT_TYPE_FLOAT, + GDNATIVE_VARIANT_TYPE_STRING, + + /* math types */ + GDNATIVE_VARIANT_TYPE_VECTOR2, + GDNATIVE_VARIANT_TYPE_VECTOR2I, + GDNATIVE_VARIANT_TYPE_RECT2, + GDNATIVE_VARIANT_TYPE_RECT2I, + GDNATIVE_VARIANT_TYPE_VECTOR3, + GDNATIVE_VARIANT_TYPE_VECTOR3I, + GDNATIVE_VARIANT_TYPE_TRANSFORM2D, + GDNATIVE_VARIANT_TYPE_PLANE, + GDNATIVE_VARIANT_TYPE_QUATERNION, + GDNATIVE_VARIANT_TYPE_AABB, + GDNATIVE_VARIANT_TYPE_BASIS, + GDNATIVE_VARIANT_TYPE_TRANSFORM3D, + + /* misc types */ + GDNATIVE_VARIANT_TYPE_COLOR, + GDNATIVE_VARIANT_TYPE_STRING_NAME, + GDNATIVE_VARIANT_TYPE_NODE_PATH, + GDNATIVE_VARIANT_TYPE_RID, + GDNATIVE_VARIANT_TYPE_OBJECT, + GDNATIVE_VARIANT_TYPE_CALLABLE, + GDNATIVE_VARIANT_TYPE_SIGNAL, + GDNATIVE_VARIANT_TYPE_DICTIONARY, + GDNATIVE_VARIANT_TYPE_ARRAY, + + /* typed arrays */ + GDNATIVE_VARIANT_TYPE_PACKED_BYTE_ARRAY, + GDNATIVE_VARIANT_TYPE_PACKED_INT32_ARRAY, + GDNATIVE_VARIANT_TYPE_PACKED_INT64_ARRAY, + GDNATIVE_VARIANT_TYPE_PACKED_FLOAT32_ARRAY, + GDNATIVE_VARIANT_TYPE_PACKED_FLOAT64_ARRAY, + GDNATIVE_VARIANT_TYPE_PACKED_STRING_ARRAY, + GDNATIVE_VARIANT_TYPE_PACKED_VECTOR2_ARRAY, + GDNATIVE_VARIANT_TYPE_PACKED_VECTOR3_ARRAY, + GDNATIVE_VARIANT_TYPE_PACKED_COLOR_ARRAY, + + GDNATIVE_VARIANT_TYPE_VARIANT_MAX +} GDNativeVariantType; + +typedef enum { + /* comparison */ + GDNATIVE_VARIANT_OP_EQUAL, + GDNATIVE_VARIANT_OP_NOT_EQUAL, + GDNATIVE_VARIANT_OP_LESS, + GDNATIVE_VARIANT_OP_LESS_EQUAL, + GDNATIVE_VARIANT_OP_GREATER, + GDNATIVE_VARIANT_OP_GREATER_EQUAL, + /* mathematic */ + GDNATIVE_VARIANT_OP_ADD, + GDNATIVE_VARIANT_OP_SUBTRACT, + GDNATIVE_VARIANT_OP_MULTIPLY, + GDNATIVE_VARIANT_OP_DIVIDE, + GDNATIVE_VARIANT_OP_NEGATE, + GDNATIVE_VARIANT_OP_POSITIVE, + GDNATIVE_VARIANT_OP_MODULE, + /* bitwise */ + GDNATIVE_VARIANT_OP_SHIFT_LEFT, + GDNATIVE_VARIANT_OP_SHIFT_RIGHT, + GDNATIVE_VARIANT_OP_BIT_AND, + GDNATIVE_VARIANT_OP_BIT_OR, + GDNATIVE_VARIANT_OP_BIT_XOR, + GDNATIVE_VARIANT_OP_BIT_NEGATE, + /* logic */ + GDNATIVE_VARIANT_OP_AND, + GDNATIVE_VARIANT_OP_OR, + GDNATIVE_VARIANT_OP_XOR, + GDNATIVE_VARIANT_OP_NOT, + /* containment */ + GDNATIVE_VARIANT_OP_IN, + GDNATIVE_VARIANT_OP_MAX + +} GDNativeVariantOperator; + +typedef void *GDNativeVariantPtr; +typedef void *GDNativeStringNamePtr; +typedef void *GDNativeStringPtr; +typedef void *GDNativeObjectPtr; +typedef void *GDNativeTypePtr; +typedef void *GDNativeMethodBindPtr; +typedef int64_t GDNativeInt; +typedef uint8_t GDNativeBool; +typedef uint64_t GDObjectInstanceID; + +/* VARIANT DATA I/O */ + +typedef enum { + GDNATIVE_CALL_OK, + GDNATIVE_CALL_ERROR_INVALID_METHOD, + GDNATIVE_CALL_ERROR_INVALID_ARGUMENT, /* expected is variant type */ + GDNATIVE_CALL_ERROR_TOO_MANY_ARGUMENTS, /* expected is number of arguments */ + GDNATIVE_CALL_ERROR_TOO_FEW_ARGUMENTS, /* expected is number of arguments */ + GDNATIVE_CALL_ERROR_INSTANCE_IS_NULL, + +} GDNativeCallErrorType; + +typedef struct { + GDNativeCallErrorType error; + int32_t argument; + int32_t expected; +} GDNativeCallError; + +typedef void (*GDNativeVariantFromTypeConstructorFunc)(GDNativeVariantPtr, GDNativeTypePtr); +typedef void (*GDNativeTypeFromVariantConstructorFunc)(GDNativeTypePtr, GDNativeVariantPtr); +typedef void (*GDNativePtrOperatorEvaluator)(const GDNativeTypePtr p_left, const GDNativeTypePtr p_right, GDNativeTypePtr r_result); +typedef void (*GDNativePtrBuiltInMethod)(GDNativeTypePtr p_base, const GDNativeTypePtr *p_args, GDNativeTypePtr r_return, int p_argument_count); +typedef void (*GDNativePtrConstructor)(GDNativeTypePtr p_base, const GDNativeTypePtr *p_args); +typedef void (*GDNativePtrDestructor)(GDNativeTypePtr p_base); +typedef void (*GDNativePtrSetter)(GDNativeTypePtr p_base, const GDNativeTypePtr p_value); +typedef void (*GDNativePtrGetter)(const GDNativeTypePtr p_base, GDNativeTypePtr r_value); +typedef void (*GDNativePtrIndexedSetter)(GDNativeTypePtr p_base, GDNativeInt p_index, const GDNativeTypePtr p_value); +typedef void (*GDNativePtrIndexedGetter)(const GDNativeTypePtr p_base, GDNativeInt p_index, GDNativeTypePtr r_value); +typedef void (*GDNativePtrKeyedSetter)(GDNativeTypePtr p_base, const GDNativeTypePtr p_key, const GDNativeTypePtr p_value); +typedef void (*GDNativePtrKeyedGetter)(const GDNativeTypePtr p_base, const GDNativeTypePtr p_key, GDNativeTypePtr r_value); +typedef uint32_t (*GDNativePtrKeyedChecker)(const GDNativeVariantPtr p_base, const GDNativeVariantPtr p_key); +typedef void (*GDNativePtrUtilityFunction)(GDNativeTypePtr r_return, const GDNativeTypePtr *p_arguments, int p_argument_count); + +typedef GDNativeObjectPtr (*GDNativeClassConstructor)(); + +typedef void *(*GDNativeInstanceBindingCreateCallback)(void *p_token, void *p_instance); +typedef void (*GDNativeInstanceBindingFreeCallback)(void *p_token, void *p_instance, void *p_binding); +typedef GDNativeBool (*GDNativeInstanceBindingReferenceCallback)(void *p_token, void *p_binding, GDNativeBool p_reference); + +struct GDNativeInstanceBindingCallbacks { + GDNativeInstanceBindingCreateCallback create_callback; + GDNativeInstanceBindingFreeCallback free_callback; + GDNativeInstanceBindingReferenceCallback reference_callback; +}; + +/* EXTENSION CLASSES */ + +typedef void *GDExtensionClassInstancePtr; + +typedef GDNativeBool (*GDNativeExtensionClassSet)(GDExtensionClassInstancePtr p_instance, const GDNativeStringNamePtr p_name, const GDNativeVariantPtr p_value); +typedef GDNativeBool (*GDNativeExtensionClassGet)(GDExtensionClassInstancePtr p_instance, const GDNativeStringNamePtr p_name, GDNativeVariantPtr r_ret); + +typedef struct { + uint32_t type; + const char *name; + const char *class_name; + uint32_t hint; + const char *hint_string; + uint32_t usage; +} GDNativePropertyInfo; + +typedef const GDNativePropertyInfo *(*GDNativeExtensionClassGetPropertyList)(GDExtensionClassInstancePtr p_instance, uint32_t *r_count); +typedef void (*GDNativeExtensionClassFreePropertyList)(GDExtensionClassInstancePtr p_instance, const GDNativePropertyInfo *p_list); +typedef void (*GDNativeExtensionClassNotification)(GDExtensionClassInstancePtr p_instance, int32_t p_what); +typedef const char *(*GDNativeExtensionClassToString)(GDExtensionClassInstancePtr p_instance); +typedef void (*GDNativeExtensionClassReference)(GDExtensionClassInstancePtr p_instance); +typedef void (*GDNativeExtensionClassUnreference)(GDExtensionClassInstancePtr p_instance); +typedef void (*GDNativeExtensionClassCallVirtual)(GDExtensionClassInstancePtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr r_ret); +typedef GDExtensionClassInstancePtr (*GDNativeExtensionClassCreateInstance)(void *p_userdata); +typedef void (*GDNativeExtensionClassFreeInstance)(void *p_userdata, GDExtensionClassInstancePtr p_instance); +typedef void (*GDNativeExtensionClassObjectInstance)(GDExtensionClassInstancePtr p_instance, GDNativeObjectPtr p_object_instance); +typedef GDNativeExtensionClassCallVirtual (*GDNativeExtensionClassGetVirtual)(void *p_userdata, const char *p_name); + +typedef struct { + GDNativeExtensionClassSet set_func; + GDNativeExtensionClassGet get_func; + GDNativeExtensionClassGetPropertyList get_property_list_func; + GDNativeExtensionClassFreePropertyList free_property_list_func; + GDNativeExtensionClassNotification notification_func; + GDNativeExtensionClassToString to_string_func; + GDNativeExtensionClassReference reference_func; + GDNativeExtensionClassUnreference unreference_func; + GDNativeExtensionClassCreateInstance create_instance_func; /* this one is mandatory */ + GDNativeExtensionClassFreeInstance free_instance_func; /* this one is mandatory */ + GDNativeExtensionClassObjectInstance object_instance_func; /* this one is mandatory */ + GDNativeExtensionClassGetVirtual get_virtual_func; + void *class_userdata; +} GDNativeExtensionClassCreationInfo; + +typedef void *GDNativeExtensionClassLibraryPtr; + +typedef const GDNativePropertyInfo *(*GDNativeExtensionClassGetPropertyList)(GDExtensionClassInstancePtr p_instance, uint32_t *r_count); + +/* Method */ + +typedef enum { + GDNATIVE_EXTENSION_METHOD_FLAG_NORMAL = 1, + GDNATIVE_EXTENSION_METHOD_FLAG_EDITOR = 2, + GDNATIVE_EXTENSION_METHOD_FLAG_NOSCRIPT = 4, + GDNATIVE_EXTENSION_METHOD_FLAG_CONST = 8, + GDNATIVE_EXTENSION_METHOD_FLAG_REVERSE = 16, /* used for events */ + GDNATIVE_EXTENSION_METHOD_FLAG_VIRTUAL = 32, + GDNATIVE_EXTENSION_METHOD_FLAG_FROM_SCRIPT = 64, + GDNATIVE_EXTENSION_METHOD_FLAG_VARARG = 128, + GDNATIVE_EXTENSION_METHOD_FLAG_STATIC = 256, + GDNATIVE_EXTENSION_METHOD_FLAGS_DEFAULT = GDNATIVE_EXTENSION_METHOD_FLAG_NORMAL, +} GDNativeExtensionClassMethodFlags; + +typedef enum { + GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_NONE, + GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT8, + GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT16, + GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT32, + GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT64, + GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT8, + GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT16, + GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT32, + GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT64, + GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_REAL_IS_FLOAT, + GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_REAL_IS_DOUBLE +} GDNativeExtensionClassMethodArgumentMetadata; + +typedef void (*GDNativeExtensionClassMethodCall)(void *method_userdata, GDExtensionClassInstancePtr p_instance, const GDNativeVariantPtr *p_args, const GDNativeInt p_argument_count, GDNativeVariantPtr r_return, GDNativeCallError *r_error); +typedef void (*GDNativeExtensionClassMethodPtrCall)(void *method_userdata, GDExtensionClassInstancePtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr r_ret); + +/* passing -1 as argument in the following functions refers to the return type */ +typedef GDNativeVariantType (*GDNativeExtensionClassMethodGetArgumentType)(void *p_method_userdata, int32_t p_argument); +typedef void (*GDNativeExtensionClassMethodGetArgumentInfo)(void *p_method_userdata, int32_t p_argument, GDNativePropertyInfo *r_info); +typedef GDNativeExtensionClassMethodArgumentMetadata (*GDNativeExtensionClassMethodGetArgumentMetadata)(void *p_method_userdata, int32_t p_argument); + +typedef struct { + const char *name; + void *method_userdata; + GDNativeExtensionClassMethodCall call_func; + GDNativeExtensionClassMethodPtrCall ptrcall_func; + uint32_t method_flags; /* GDNativeExtensionClassMethodFlags */ + uint32_t argument_count; + GDNativeBool has_return_value; + GDNativeExtensionClassMethodGetArgumentType get_argument_type_func; + GDNativeExtensionClassMethodGetArgumentInfo get_argument_info_func; /* name and hint information for the argument can be omitted in release builds. Class name should always be present if it applies. */ + GDNativeExtensionClassMethodGetArgumentMetadata get_argument_metadata_func; + uint32_t default_argument_count; + GDNativeVariantPtr *default_arguments; +} GDNativeExtensionClassMethodInfo; + +/* INTERFACE */ + +typedef struct { + uint32_t version_major; + uint32_t version_minor; + uint32_t version_patch; + const char *version_string; + + /* GODOT CORE */ + void *(*mem_alloc)(size_t p_bytes); + void *(*mem_realloc)(void *p_ptr, size_t p_bytes); + void (*mem_free)(void *p_ptr); + + void (*print_error)(const char *p_description, const char *p_function, const char *p_file, int32_t p_line); + void (*print_warning)(const char *p_description, const char *p_function, const char *p_file, int32_t p_line); + void (*print_script_error)(const char *p_description, const char *p_function, const char *p_file, int32_t p_line); + + /* GODOT VARIANT */ + + /* variant general */ + void (*variant_new_copy)(GDNativeVariantPtr r_dest, const GDNativeVariantPtr p_src); + void (*variant_new_nil)(GDNativeVariantPtr r_dest); + void (*variant_destroy)(GDNativeVariantPtr p_self); + + /* variant type */ + void (*variant_call)(GDNativeVariantPtr p_self, const GDNativeStringNamePtr p_method, const GDNativeVariantPtr *p_args, const GDNativeInt p_argument_count, GDNativeVariantPtr r_return, GDNativeCallError *r_error); + void (*variant_call_static)(GDNativeVariantType p_type, const GDNativeStringNamePtr p_method, const GDNativeVariantPtr *p_args, const GDNativeInt p_argument_count, GDNativeVariantPtr r_return, GDNativeCallError *r_error); + void (*variant_evaluate)(GDNativeVariantOperator p_op, const GDNativeVariantPtr p_a, const GDNativeVariantPtr p_b, GDNativeVariantPtr r_return, GDNativeBool *r_valid); + void (*variant_set)(GDNativeVariantPtr p_self, const GDNativeVariantPtr p_key, const GDNativeVariantPtr p_value, GDNativeBool *r_valid); + void (*variant_set_named)(GDNativeVariantPtr p_self, const GDNativeStringNamePtr p_key, const GDNativeVariantPtr p_value, GDNativeBool *r_valid); + void (*variant_set_keyed)(GDNativeVariantPtr p_self, const GDNativeVariantPtr p_key, const GDNativeVariantPtr p_value, GDNativeBool *r_valid); + void (*variant_set_indexed)(GDNativeVariantPtr p_self, GDNativeInt p_index, const GDNativeVariantPtr p_value, GDNativeBool *r_valid, GDNativeBool *r_oob); + void (*variant_get)(const GDNativeVariantPtr p_self, const GDNativeVariantPtr p_key, GDNativeVariantPtr r_ret, GDNativeBool *r_valid); + void (*variant_get_named)(const GDNativeVariantPtr p_self, const GDNativeStringNamePtr p_key, GDNativeVariantPtr r_ret, GDNativeBool *r_valid); + void (*variant_get_keyed)(const GDNativeVariantPtr p_self, const GDNativeVariantPtr p_key, GDNativeVariantPtr r_ret, GDNativeBool *r_valid); + void (*variant_get_indexed)(const GDNativeVariantPtr p_self, GDNativeInt p_index, GDNativeVariantPtr r_ret, GDNativeBool *r_valid, GDNativeBool *r_oob); + GDNativeBool (*variant_iter_init)(const GDNativeVariantPtr p_self, GDNativeVariantPtr r_iter, GDNativeBool *r_valid); + GDNativeBool (*variant_iter_next)(const GDNativeVariantPtr p_self, GDNativeVariantPtr r_iter, GDNativeBool *r_valid); + void (*variant_iter_get)(const GDNativeVariantPtr p_self, GDNativeVariantPtr r_iter, GDNativeVariantPtr r_ret, GDNativeBool *r_valid); + GDNativeBool (*variant_hash_compare)(const GDNativeVariantPtr p_self, const GDNativeVariantPtr p_other); + GDNativeBool (*variant_booleanize)(const GDNativeVariantPtr p_self); + void (*variant_blend)(const GDNativeVariantPtr p_a, const GDNativeVariantPtr p_b, float p_c, GDNativeVariantPtr r_dst); + void (*variant_interpolate)(const GDNativeVariantPtr p_a, const GDNativeVariantPtr p_b, float p_c, GDNativeVariantPtr r_dst); + void (*variant_duplicate)(const GDNativeVariantPtr p_self, GDNativeVariantPtr r_ret, GDNativeBool p_deep); + void (*variant_stringify)(const GDNativeVariantPtr p_self, GDNativeStringPtr r_ret); + + GDNativeVariantType (*variant_get_type)(const GDNativeVariantPtr p_self); + GDNativeBool (*variant_has_method)(const GDNativeVariantPtr p_self, const GDNativeStringNamePtr p_method); + GDNativeBool (*variant_has_member)(GDNativeVariantType p_type, const GDNativeStringNamePtr p_member); + GDNativeBool (*variant_has_key)(const GDNativeVariantPtr p_self, const GDNativeVariantPtr p_key, GDNativeBool *r_valid); + void (*variant_get_type_name)(GDNativeVariantType p_type, GDNativeStringPtr r_name); + GDNativeBool (*variant_can_convert)(GDNativeVariantType p_from, GDNativeVariantType p_to); + GDNativeBool (*variant_can_convert_strict)(GDNativeVariantType p_from, GDNativeVariantType p_to); + + /* ptrcalls */ + GDNativeVariantFromTypeConstructorFunc (*get_variant_from_type_constructor)(GDNativeVariantType p_type); + GDNativeTypeFromVariantConstructorFunc (*get_variant_to_type_constructor)(GDNativeVariantType p_type); + GDNativePtrOperatorEvaluator (*variant_get_ptr_operator_evaluator)(GDNativeVariantOperator p_operator, GDNativeVariantType p_type_a, GDNativeVariantType p_type_b); + GDNativePtrBuiltInMethod (*variant_get_ptr_builtin_method)(GDNativeVariantType p_type, const char *p_method, GDNativeInt p_hash); + GDNativePtrConstructor (*variant_get_ptr_constructor)(GDNativeVariantType p_type, int32_t p_constructor); + GDNativePtrDestructor (*variant_get_ptr_destructor)(GDNativeVariantType p_type); + void (*variant_construct)(GDNativeVariantType p_type, GDNativeVariantPtr p_base, const GDNativeVariantPtr *p_args, int32_t p_argument_count, GDNativeCallError *r_error); + GDNativePtrSetter (*variant_get_ptr_setter)(GDNativeVariantType p_type, const char *p_member); + GDNativePtrGetter (*variant_get_ptr_getter)(GDNativeVariantType p_type, const char *p_member); + GDNativePtrIndexedSetter (*variant_get_ptr_indexed_setter)(GDNativeVariantType p_type); + GDNativePtrIndexedGetter (*variant_get_ptr_indexed_getter)(GDNativeVariantType p_type); + GDNativePtrKeyedSetter (*variant_get_ptr_keyed_setter)(GDNativeVariantType p_type); + GDNativePtrKeyedGetter (*variant_get_ptr_keyed_getter)(GDNativeVariantType p_type); + GDNativePtrKeyedChecker (*variant_get_ptr_keyed_checker)(GDNativeVariantType p_type); + void (*variant_get_constant_value)(GDNativeVariantType p_type, const char *p_constant, GDNativeVariantPtr r_ret); + GDNativePtrUtilityFunction (*variant_get_ptr_utility_function)(const char *p_function, GDNativeInt p_hash); + + /* extra utilities */ + + void (*string_new_with_latin1_chars)(GDNativeStringPtr r_dest, const char *p_contents); + void (*string_new_with_utf8_chars)(GDNativeStringPtr r_dest, const char *p_contents); + void (*string_new_with_utf16_chars)(GDNativeStringPtr r_dest, const char16_t *p_contents); + void (*string_new_with_utf32_chars)(GDNativeStringPtr r_dest, const char32_t *p_contents); + void (*string_new_with_wide_chars)(GDNativeStringPtr r_dest, const wchar_t *p_contents); + void (*string_new_with_latin1_chars_and_len)(GDNativeStringPtr r_dest, const char *p_contents, const GDNativeInt p_size); + void (*string_new_with_utf8_chars_and_len)(GDNativeStringPtr r_dest, const char *p_contents, const GDNativeInt p_size); + void (*string_new_with_utf16_chars_and_len)(GDNativeStringPtr r_dest, const char16_t *p_contents, const GDNativeInt p_size); + void (*string_new_with_utf32_chars_and_len)(GDNativeStringPtr r_dest, const char32_t *p_contents, const GDNativeInt p_size); + void (*string_new_with_wide_chars_and_len)(GDNativeStringPtr r_dest, const wchar_t *p_contents, const GDNativeInt p_size); + /* Information about the following functions: + * - The return value is the resulting encoded string length. + * - The length returned is in characters, not in bytes. It also does not include a trailing zero. + * - These functions also do not write trailing zero, If you need it, write it yourself at the position indicated by the length (and make sure to allocate it). + * - Passing NULL in r_text means only the length is computed (again, without including trailing zero). + * - p_max_write_length argument is in characters, not bytes. It will be ignored if r_text is NULL. + * - p_max_write_length argument does not affect the return value, it's only to cap write length. + */ + GDNativeInt (*string_to_latin1_chars)(const GDNativeStringPtr p_self, char *r_text, GDNativeInt p_max_write_length); + GDNativeInt (*string_to_utf8_chars)(const GDNativeStringPtr p_self, char *r_text, GDNativeInt p_max_write_length); + GDNativeInt (*string_to_utf16_chars)(const GDNativeStringPtr p_self, char16_t *r_text, GDNativeInt p_max_write_length); + GDNativeInt (*string_to_utf32_chars)(const GDNativeStringPtr p_self, char32_t *r_text, GDNativeInt p_max_write_length); + GDNativeInt (*string_to_wide_chars)(const GDNativeStringPtr p_self, wchar_t *r_text, GDNativeInt p_max_write_length); + char32_t *(*string_operator_index)(GDNativeStringPtr p_self, GDNativeInt p_index); + const char32_t *(*string_operator_index_const)(const GDNativeStringPtr p_self, GDNativeInt p_index); + + /* OBJECT */ + + void (*object_method_bind_call)(const GDNativeMethodBindPtr p_method_bind, GDNativeObjectPtr p_instance, const GDNativeVariantPtr *p_args, GDNativeInt p_arg_count, GDNativeVariantPtr r_ret, GDNativeCallError *r_error); + void (*object_method_bind_ptrcall)(const GDNativeMethodBindPtr p_method_bind, GDNativeObjectPtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr r_ret); + void (*object_destroy)(GDNativeObjectPtr p_o); + GDNativeObjectPtr (*global_get_singleton)(const char *p_name); + void *(*object_get_instance_binding)(GDNativeObjectPtr p_o, void *p_token, const GDNativeInstanceBindingCallbacks *p_callbacks); + void (*object_set_instance_binding)(GDNativeObjectPtr p_o, void *p_token, void *p_binding, const GDNativeInstanceBindingCallbacks *p_callbacks); + + GDNativeObjectPtr (*object_cast_to)(const GDNativeObjectPtr p_object, void *p_class_tag); + GDNativeObjectPtr (*object_get_instance_from_id)(GDObjectInstanceID p_instance_id); + GDObjectInstanceID (*object_get_instance_id)(const GDNativeObjectPtr p_object); + + /* CLASSDB */ + + GDNativeClassConstructor (*classdb_get_constructor)(const char *p_classname); + GDNativeMethodBindPtr (*classdb_get_method_bind)(const char *p_classname, const char *p_methodname, GDNativeInt p_hash); + void *(*classdb_get_class_tag)(const char *p_classname); + + /* CLASSDB EXTENSION */ + + void (*classdb_register_extension_class)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_parent_class_name, const GDNativeExtensionClassCreationInfo *p_extension_funcs); + void (*classdb_register_extension_class_method)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const GDNativeExtensionClassMethodInfo *p_method_info); + void (*classdb_register_extension_class_integer_constant)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_enum_name, const char *p_constant_name, GDNativeInt p_constant_value); + void (*classdb_register_extension_class_property)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const GDNativePropertyInfo *p_info, const char *p_setter, const char *p_getter); + void (*classdb_register_extension_class_signal)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_signal_name, const GDNativePropertyInfo *p_argument_info, GDNativeInt p_argument_count); + void (*classdb_unregister_extension_class)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name); /* Unregistering a parent class before a class that inherits it will result in failure. Inheritors must be unregistered first. */ +} GDNativeInterface; + +/* INITIALIZATION */ + +typedef enum { + GDNATIVE_INITIALIZATION_CORE, + GDNATIVE_INITIALIZATION_SERVERS, + GDNATIVE_INITIALIZATION_SCENE, + GDNATIVE_INITIALIZATION_EDITOR, +} GDNativeInitializationLevel; + +typedef struct { + /* Minimum initialization level required. + * If Core or Servers, the extension needs editor or game restart to take effect */ + GDNativeInitializationLevel minimum_initialization_level; + /* Up to the user to supply when initializing */ + void *userdata; + /* This function will be called multiple times for each initialization level. */ + void (*initialize)(void *userdata, GDNativeInitializationLevel p_level); + void (*deinitialize)(void *userdata, GDNativeInitializationLevel p_level); +} GDNativeInitialization; + +/* Define a C function prototype that implements the function below and expose it to dlopen() (or similar). + * It will be called on initialization. The name must be an unique one specified in the .gdextension config file. + */ + +typedef GDNativeBool (*GDNativeInitializationFunction)(const GDNativeInterface *p_interface, const GDNativeExtensionClassLibraryPtr p_library, GDNativeInitialization *r_initialization); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/core/AABB.hpp b/include/core/AABB.hpp deleted file mode 100644 index 5c6944f0..00000000 --- a/include/core/AABB.hpp +++ /dev/null @@ -1,110 +0,0 @@ -/*************************************************************************/ -/* AABB.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef AABB_H -#define AABB_H - -#include "Vector3.hpp" - -#include "Plane.hpp" - -#include - -namespace godot { - -class AABB { -public: - Vector3 position; - Vector3 size; - - real_t get_area() const; /// get area - inline bool has_no_area() const { - return (size.x <= CMP_EPSILON || size.y <= CMP_EPSILON || size.z <= CMP_EPSILON); - } - - inline bool has_no_surface() const { - return (size.x <= CMP_EPSILON && size.y <= CMP_EPSILON && size.z <= CMP_EPSILON); - } - - inline const Vector3 &get_position() const { return position; } - inline void set_position(const Vector3 &p_position) { position = p_position; } - inline const Vector3 &get_size() const { return size; } - inline void set_size(const Vector3 &p_size) { size = p_size; } - - bool operator==(const AABB &p_rval) const; - bool operator!=(const AABB &p_rval) const; - - bool intersects(const AABB &p_aabb) const; /// Both AABBs overlap - bool intersects_inclusive(const AABB &p_aabb) const; /// Both AABBs (or their faces) overlap - bool encloses(const AABB &p_aabb) const; /// p_aabb is completely inside this - - AABB merge(const AABB &p_with) const; - void merge_with(const AABB &p_aabb); ///merge with another AABB - AABB intersection(const AABB &p_aabb) const; ///get box where two intersect, empty if no intersection occurs - bool intersects_segment(const Vector3 &p_from, const Vector3 &p_to, Vector3 *r_clip = nullptr, Vector3 *r_normal = nullptr) const; - bool intersects_ray(const Vector3 &p_from, const Vector3 &p_dir, Vector3 *r_clip = nullptr, Vector3 *r_normal = nullptr) const; - bool smits_intersect_ray(const Vector3 &from, const Vector3 &p_dir, real_t t0, real_t t1) const; - - bool intersects_convex_shape(const Plane *p_plane, int p_plane_count) const; - bool intersects_plane(const Plane &p_plane) const; - - bool has_point(const Vector3 &p_point) const; - Vector3 get_support(const Vector3 &p_normal) const; - - Vector3 get_longest_axis() const; - int get_longest_axis_index() const; - real_t get_longest_axis_size() const; - - Vector3 get_shortest_axis() const; - int get_shortest_axis_index() const; - real_t get_shortest_axis_size() const; - - AABB grow(real_t p_by) const; - void grow_by(real_t p_amount); - - void get_edge(int p_edge, Vector3 &r_from, Vector3 &r_to) const; - Vector3 get_endpoint(int p_point) const; - - AABB expand(const Vector3 &p_vector) const; - void project_range_in_plane(const Plane &p_plane, real_t &r_min, real_t &r_max) const; - void expand_to(const Vector3 &p_vector); /** expand to contain a point if necesary */ - - operator String() const; - - inline AABB() {} - inline AABB(const Vector3 &p_pos, const Vector3 &p_size) { - position = p_pos; - size = p_size; - } -}; - -} // namespace godot - -#endif // RECT3_H diff --git a/include/core/Array.hpp b/include/core/Array.hpp deleted file mode 100644 index 91948a4f..00000000 --- a/include/core/Array.hpp +++ /dev/null @@ -1,191 +0,0 @@ -/*************************************************************************/ -/* Array.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef ARRAY_H -#define ARRAY_H - -#include - -#include "String.hpp" - -namespace godot { - -namespace helpers { -template -T append_all(T appendable, ValueT value) { - appendable.append(value); - return appendable; -} - -template -T append_all(T appendable, ValueT value, Args... args) { - appendable.append(value); - return append_all(appendable, args...); -} - -template -T append_all(T appendable) { - return appendable; -} - -template -KV add_all(KV kv, KeyT key, ValueT value) { - kv[key] = value; - return kv; -} - -template -KV add_all(KV kv, KeyT key, ValueT value, Args... args) { - kv[key] = value; - return add_all(kv, args...); -} - -template -KV add_all(KV kv) { - return kv; -} -} // namespace helpers - -class Variant; -class PoolByteArray; -class PoolIntArray; -class PoolRealArray; -class PoolStringArray; -class PoolVector2Array; -class PoolVector3Array; -class PoolColorArray; - -class Object; - -class Array { - godot_array _godot_array; - - friend class Variant; - friend class Dictionary; - friend class String; - inline explicit Array(const godot_array &other) { - _godot_array = other; - } - -public: - Array(); - Array(const Array &other); - Array &operator=(const Array &other); - - Array(const PoolByteArray &a); - - Array(const PoolIntArray &a); - - Array(const PoolRealArray &a); - - Array(const PoolStringArray &a); - - Array(const PoolVector2Array &a); - - Array(const PoolVector3Array &a); - - Array(const PoolColorArray &a); - - template - static Array make(Args... args) { - return helpers::append_all(Array(), args...); - } - - Variant &operator[](const int idx); - - const Variant &operator[](const int idx) const; - - void append(const Variant &v); - - void clear(); - - int count(const Variant &v); - - bool empty() const; - - void erase(const Variant &v); - - Variant front() const; - - Variant back() const; - - int find(const Variant &what, const int from = 0) const; - - int find_last(const Variant &what) const; - - bool has(const Variant &what) const; - - uint32_t hash() const; - - void insert(const int pos, const Variant &value); - - void invert(); - - bool is_shared() const; - - Variant pop_back(); - - Variant pop_front(); - - void push_back(const Variant &v); - - void push_front(const Variant &v); - - void remove(const int idx); - - int size() const; - - void resize(const int size); - - int rfind(const Variant &what, const int from = -1) const; - - void sort(); - - void sort_custom(Object *obj, const String &func); - - int bsearch(const Variant &value, const bool before = true); - - int bsearch_custom(const Variant &value, const Object *obj, - const String &func, const bool before = true); - - Array duplicate(const bool deep = false) const; - - Variant max() const; - - Variant min() const; - - void shuffle(); - - ~Array(); -}; - -} // namespace godot - -#endif // ARRAY_H diff --git a/include/core/Basis.hpp b/include/core/Basis.hpp deleted file mode 100644 index de956e69..00000000 --- a/include/core/Basis.hpp +++ /dev/null @@ -1,458 +0,0 @@ -/*************************************************************************/ -/* Basis.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef BASIS_H -#define BASIS_H - -#include - -#include "Defs.hpp" - -#include "Vector3.hpp" - -namespace godot { - -class Quat; - -class Basis { -private: - static const Basis IDENTITY; - static const Basis FLIP_X; - static const Basis FLIP_Y; - static const Basis FLIP_Z; - - // This helper template is for mimicking the behavior difference between the engine - // and script interfaces that logically script sees matrices as column major, while - // the engine stores them in row major to efficiently take advantage of SIMD - // instructions in case of matrix-vector multiplications. - // With this helper template native scripts see the data as if it was column major - // without actually transposing the basis matrix at the script-engine boundary. - template - class ColumnVector3 { - private: - template - class ColumnVectorComponent { - private: - Vector3 elements[3]; - - protected: - inline ColumnVectorComponent &operator=(const ColumnVectorComponent &p_value) { - return *this = real_t(p_value); - } - - inline ColumnVectorComponent(const ColumnVectorComponent &p_value) { - *this = real_t(p_value); - } - - inline ColumnVectorComponent &operator=(const real_t &p_value) { - elements[component][column1] = p_value; - return *this; - } - - inline operator real_t() const { - return elements[component][column1]; - } - }; - - public: - enum Axis { - AXIS_X, - AXIS_Y, - AXIS_Z, - }; - - union { - ColumnVectorComponent x; - ColumnVectorComponent y; - ColumnVectorComponent z; - - Vector3 elements[3]; // Not for direct access, use [] operator instead - }; - - inline ColumnVector3 &operator=(const ColumnVector3 &p_value) { - return *this = Vector3(p_value); - } - - inline ColumnVector3(const ColumnVector3 &p_value) { - *this = Vector3(p_value); - } - - inline ColumnVector3 &operator=(const Vector3 &p_value) { - elements[0][column] = p_value.x; - elements[1][column] = p_value.y; - elements[2][column] = p_value.z; - return *this; - } - - inline operator Vector3() const { - return Vector3(elements[0][column], elements[1][column], elements[2][column]); - } - - // Unfortunately, we also need to replicate the other interfaces of Vector3 in - // order for being able to directly operate on these "meta-Vector3" objects without - // an explicit cast or an intermediate assignment to a real Vector3 object. - - inline const real_t &operator[](int p_axis) const { - return elements[p_axis][column]; - } - - inline real_t &operator[](int p_axis) { - return elements[p_axis][column]; - } - - inline ColumnVector3 &operator+=(const Vector3 &p_v) { - return *this = *this + p_v; - } - - inline Vector3 operator+(const Vector3 &p_v) const { - return Vector3(*this) + p_v; - } - - inline ColumnVector3 &operator-=(const Vector3 &p_v) { - return *this = *this - p_v; - } - - inline Vector3 operator-(const Vector3 &p_v) const { - return Vector3(*this) - p_v; - } - - inline ColumnVector3 &operator*=(const Vector3 &p_v) { - return *this = *this * p_v; - } - - inline Vector3 operator*(const Vector3 &p_v) const { - return Vector3(*this) * p_v; - } - - inline ColumnVector3 &operator/=(const Vector3 &p_v) { - return *this = *this / p_v; - } - - inline Vector3 operator/(const Vector3 &p_v) const { - return Vector3(*this) / p_v; - } - - inline ColumnVector3 &operator*=(real_t p_scalar) { - return *this = *this * p_scalar; - } - - inline Vector3 operator*(real_t p_scalar) const { - return Vector3(*this) * p_scalar; - } - - inline ColumnVector3 &operator/=(real_t p_scalar) { - return *this = *this / p_scalar; - } - - inline Vector3 operator/(real_t p_scalar) const { - return Vector3(*this) / p_scalar; - } - - inline Vector3 operator-() const { - return -Vector3(*this); - } - - inline bool operator==(const Vector3 &p_v) const { - return Vector3(*this) == p_v; - } - - inline bool operator!=(const Vector3 &p_v) const { - return Vector3(*this) != p_v; - } - - inline bool operator<(const Vector3 &p_v) const { - return Vector3(*this) < p_v; - } - - inline bool operator<=(const Vector3 &p_v) const { - return Vector3(*this) <= p_v; - } - - inline Vector3 abs() const { - return Vector3(*this).abs(); - } - - inline Vector3 ceil() const { - return Vector3(*this).ceil(); - } - - inline Vector3 cross(const Vector3 &b) const { - return Vector3(*this).cross(b); - } - - inline Vector3 linear_interpolate(const Vector3 &p_b, real_t p_t) const { - return Vector3(*this).linear_interpolate(p_b, p_t); - } - - inline Vector3 cubic_interpolate(const Vector3 &b, const Vector3 &pre_a, const Vector3 &post_b, const real_t t) const { - return Vector3(*this).cubic_interpolate(b, pre_a, post_b, t); - } - - inline Vector3 bounce(const Vector3 &p_normal) const { - return Vector3(*this).bounce(p_normal); - } - - inline real_t length() const { - return Vector3(*this).length(); - } - - inline real_t length_squared() const { - return Vector3(*this).length_squared(); - } - - inline real_t distance_squared_to(const Vector3 &b) const { - return Vector3(*this).distance_squared_to(b); - } - - inline real_t distance_to(const Vector3 &b) const { - return Vector3(*this).distance_to(b); - } - - inline real_t dot(const Vector3 &b) const { - return Vector3(*this).dot(b); - } - - inline real_t angle_to(const Vector3 &b) const { - return Vector3(*this).angle_to(b); - } - - inline Vector3 floor() const { - return Vector3(*this).floor(); - } - - inline Vector3 inverse() const { - return Vector3(*this).inverse(); - } - - inline bool is_normalized() const { - return Vector3(*this).is_normalized(); - } - - inline Basis outer(const Vector3 &b) const { - return Vector3(*this).outer(b); - } - - inline int max_axis() const { - return Vector3(*this).max_axis(); - } - - inline int min_axis() const { - return Vector3(*this).min_axis(); - } - - inline void normalize() { - Vector3 v = *this; - v.normalize(); - *this = v; - } - - inline Vector3 normalized() const { - return Vector3(*this).normalized(); - } - - inline Vector3 reflect(const Vector3 &by) const { - return Vector3(*this).reflect(by); - } - - inline Vector3 rotated(const Vector3 &axis, const real_t phi) const { - return Vector3(*this).rotated(axis, phi); - } - - inline void rotate(const Vector3 &p_axis, real_t p_phi) { - Vector3 v = *this; - v.rotate(p_axis, p_phi); - *this = v; - } - - inline Vector3 slide(const Vector3 &by) const { - return Vector3(*this).slide(by); - } - - inline void snap(real_t p_val) { - Vector3 v = *this; - v.snap(p_val); - *this = v; - } - - inline Vector3 snapped(const float by) { - return Vector3(*this).snapped(by); - } - - inline operator String() const { - return String(Vector3(*this)); - } - }; - -public: - union { - ColumnVector3<0> x; - ColumnVector3<1> y; - ColumnVector3<2> z; - - Vector3 elements[3]; // Not for direct access, use [] operator instead - }; - - inline Basis(const Basis &p_basis) { - elements[0] = p_basis.elements[0]; - elements[1] = p_basis.elements[1]; - elements[2] = p_basis.elements[2]; - } - - inline Basis &operator=(const Basis &p_basis) { - elements[0] = p_basis.elements[0]; - elements[1] = p_basis.elements[1]; - elements[2] = p_basis.elements[2]; - return *this; - } - - Basis(const Quat &p_quat); // euler - Basis(const Vector3 &p_euler); // euler - Basis(const Vector3 &p_axis, real_t p_phi); - - Basis(const Vector3 &row0, const Vector3 &row1, const Vector3 &row2); - - Basis(real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz); - - Basis(); - - const Vector3 operator[](int axis) const { - return get_axis(axis); - } - - ColumnVector3<0> &operator[](int axis) { - // We need to do a little pointer magic to get this to work, because the - // ColumnVector3 template takes the axis as a template parameter. - // Don't touch this unless you're sure what you're doing! - return (reinterpret_cast(reinterpret_cast(this) + axis))->x; - } - - void invert(); - - bool isequal_approx(const Basis &a, const Basis &b) const; - - bool is_orthogonal() const; - - bool is_rotation() const; - - void transpose(); - - Basis inverse() const; - - Basis transposed() const; - - real_t determinant() const; - - Vector3 get_axis(int p_axis) const; - - void set_axis(int p_axis, const Vector3 &p_value); - - void rotate(const Vector3 &p_axis, real_t p_phi); - - Basis rotated(const Vector3 &p_axis, real_t p_phi) const; - - void scale(const Vector3 &p_scale); - - Basis scaled(const Vector3 &p_scale) const; - - Vector3 get_scale() const; - - Basis slerp(Basis b, float t) const; - - Vector3 get_euler_xyz() const; - void set_euler_xyz(const Vector3 &p_euler); - Vector3 get_euler_yxz() const; - void set_euler_yxz(const Vector3 &p_euler); - - inline Vector3 get_euler() const { return get_euler_yxz(); } - inline void set_euler(const Vector3 &p_euler) { set_euler_yxz(p_euler); } - - // transposed dot products - real_t tdotx(const Vector3 &v) const; - real_t tdoty(const Vector3 &v) const; - real_t tdotz(const Vector3 &v) const; - - bool operator==(const Basis &p_matrix) const; - - bool operator!=(const Basis &p_matrix) const; - - Vector3 xform(const Vector3 &p_vector) const; - - Vector3 xform_inv(const Vector3 &p_vector) const; - void operator*=(const Basis &p_matrix); - - Basis operator*(const Basis &p_matrix) const; - - void operator+=(const Basis &p_matrix); - - Basis operator+(const Basis &p_matrix) const; - - void operator-=(const Basis &p_matrix); - - Basis operator-(const Basis &p_matrix) const; - - void operator*=(real_t p_val); - - Basis operator*(real_t p_val) const; - - int get_orthogonal_index() const; // down below - - void set_orthogonal_index(int p_index); // down below - - operator String() const; - - void get_axis_and_angle(Vector3 &r_axis, real_t &r_angle) const; - - /* create / set */ - - void set(real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz); - - Vector3 get_column(int i) const; - - Vector3 get_row(int i) const; - Vector3 get_main_diagonal() const; - - void set_row(int i, const Vector3 &p_row); - - Basis transpose_xform(const Basis &m) const; - - void orthonormalize(); - - Basis orthonormalized() const; - - bool is_symmetric() const; - - Basis diagonalize(); - - operator Quat() const; -}; - -} // namespace godot - -#endif // BASIS_H diff --git a/include/core/CameraMatrix.hpp b/include/core/CameraMatrix.hpp deleted file mode 100644 index 27b6f73e..00000000 --- a/include/core/CameraMatrix.hpp +++ /dev/null @@ -1,124 +0,0 @@ -/*************************************************************************/ -/* CameraMatrix.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef CAMERA_MATRIX_H -#define CAMERA_MATRIX_H - -#include "Defs.hpp" -#include "Math.hpp" -#include "Plane.hpp" -#include "Rect2.hpp" -#include "Transform.hpp" - -#include - -namespace { -using namespace godot; -} // namespace - -struct CameraMatrix { - enum Planes { - PLANE_NEAR, - PLANE_FAR, - PLANE_LEFT, - PLANE_TOP, - PLANE_RIGHT, - PLANE_BOTTOM - }; - - real_t matrix[4][4]; - - void set_identity(); - void set_zero(); - void set_light_bias(); - void set_light_atlas_rect(const Rect2 &p_rect); - void set_perspective(real_t p_fovy_degrees, real_t p_aspect, real_t p_z_near, real_t p_z_far, bool p_flip_fov = false); - void set_perspective(real_t p_fovy_degrees, real_t p_aspect, real_t p_z_near, real_t p_z_far, bool p_flip_fov, int p_eye, real_t p_intraocular_dist, real_t p_convergence_dist); - void set_for_hmd(int p_eye, real_t p_aspect, real_t p_intraocular_dist, real_t p_display_width, real_t p_display_to_lens, real_t p_oversample, real_t p_z_near, real_t p_z_far); - void set_orthogonal(real_t p_left, real_t p_right, real_t p_bottom, real_t p_top, real_t p_znear, real_t p_zfar); - void set_orthogonal(real_t p_size, real_t p_aspect, real_t p_znear, real_t p_zfar, bool p_flip_fov = false); - void set_frustum(real_t p_left, real_t p_right, real_t p_bottom, real_t p_top, real_t p_near, real_t p_far); - void set_frustum(real_t p_size, real_t p_aspect, Vector2 p_offset, real_t p_near, real_t p_far, bool p_flip_fov = false); - - static real_t get_fovy(real_t p_fovx, real_t p_aspect) { - return Math::rad2deg(atan(p_aspect * tan(Math::deg2rad(p_fovx) * 0.5)) * 2.0); - } - - static inline double absd(double g) { - union { - double d; - uint64_t i; - } u; - u.d = g; - u.i &= (uint64_t)9223372036854775807ll; - return u.d; - } - - real_t get_z_far() const; - real_t get_z_near() const; - real_t get_aspect() const; - real_t get_fov() const; - bool is_orthogonal() const; - - std::vector get_projection_planes(const Transform &p_transform) const; - - bool get_endpoints(const Transform &p_transform, Vector3 *p_8points) const; - Vector2 get_viewport_half_extents() const; - - void invert(); - CameraMatrix inverse() const; - - CameraMatrix operator*(const CameraMatrix &p_matrix) const; - - Plane xform4(const Plane &p_vec4) const; - inline Vector3 xform(const Vector3 &p_vec3) const; - - operator String() const; - - void scale_translate_to_fit(const AABB &p_aabb); - void make_scale(const Vector3 &p_scale); - int get_pixels_per_meter(int p_for_pixel_width) const; - operator Transform() const; - - CameraMatrix(); - CameraMatrix(const Transform &p_transform); - ~CameraMatrix(); -}; - -Vector3 CameraMatrix::xform(const Vector3 &p_vec3) const { - Vector3 ret; - ret.x = matrix[0][0] * p_vec3.x + matrix[1][0] * p_vec3.y + matrix[2][0] * p_vec3.z + matrix[3][0]; - ret.y = matrix[0][1] * p_vec3.x + matrix[1][1] * p_vec3.y + matrix[2][1] * p_vec3.z + matrix[3][1]; - ret.z = matrix[0][2] * p_vec3.x + matrix[1][2] * p_vec3.y + matrix[2][2] * p_vec3.z + matrix[3][2]; - real_t w = matrix[0][3] * p_vec3.x + matrix[1][3] * p_vec3.y + matrix[2][3] * p_vec3.z + matrix[3][3]; - return ret / w; -} - -#endif diff --git a/include/core/Color.hpp b/include/core/Color.hpp deleted file mode 100644 index 36d32544..00000000 --- a/include/core/Color.hpp +++ /dev/null @@ -1,171 +0,0 @@ -/*************************************************************************/ -/* Color.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef COLOR_H -#define COLOR_H - -#include - -#include - -#include "Defs.hpp" -#include "String.hpp" - -namespace godot { - -struct Color { -private: - // static float _parse_col(const String& p_str, int p_ofs); -public: - union { - struct { - float r; - float g; - float b; - float a; - }; - float components[4]; - }; - - inline bool operator==(const Color &p_color) const { return (r == p_color.r && g == p_color.g && b == p_color.b && a == p_color.a); } - inline bool operator!=(const Color &p_color) const { return (r != p_color.r || g != p_color.g || b != p_color.b || a != p_color.a); } - - uint32_t to_32() const; - - uint32_t to_ARGB32() const; - - uint32_t to_ABGR32() const; - - uint64_t to_ABGR64() const; - - uint64_t to_ARGB64() const; - - uint32_t to_RGBA32() const; - - uint64_t to_RGBA64() const; - - float gray() const; - - uint8_t get_r8() const; - - uint8_t get_g8() const; - - uint8_t get_b8() const; - - uint8_t get_a8() const; - - float get_h() const; - - float get_s() const; - - float get_v() const; - - void set_hsv(float p_h, float p_s, float p_v, float p_alpha = 1.0); - - Color darkened(const float amount) const; - - Color lightened(const float amount) const; - - Color from_hsv(float p_h, float p_s, float p_v, float p_a = 1.0) const; - - inline float &operator[](int idx) { - return components[idx]; - } - inline const float &operator[](int idx) const { - return components[idx]; - } - - Color operator+(const Color &p_color) const; - void operator+=(const Color &p_color); - - Color operator-() const; - Color operator-(const Color &p_color) const; - void operator-=(const Color &p_color); - - Color operator*(const Color &p_color) const; - Color operator*(const real_t &rvalue) const; - void operator*=(const Color &p_color); - void operator*=(const real_t &rvalue); - - Color operator/(const Color &p_color) const; - Color operator/(const real_t &rvalue) const; - void operator/=(const Color &p_color); - void operator/=(const real_t &rvalue); - - void invert(); - - void contrast(); - - Color inverted() const; - - Color contrasted() const; - - Color linear_interpolate(const Color &p_b, float p_t) const; - - Color blend(const Color &p_over) const; - - Color to_linear() const; - - static Color hex(uint32_t p_hex); - - static Color html(const String &p_color); - - static bool html_is_valid(const String &p_color); - - String to_html(bool p_alpha = true) const; - - bool operator<(const Color &p_color) const; //used in set keys - - operator String() const; - - /** - * No construct parameters, r=0, g=0, b=0. a=255 - */ - inline Color() { - r = 0; - g = 0; - b = 0; - a = 1.0; - } - - /** - * RGB / RGBA construct parameters. Alpha is optional, but defaults to 1.0 - */ - inline Color(float p_r, float p_g, float p_b, float p_a = 1.0) { - r = p_r; - g = p_g; - b = p_b; - a = p_a; - } -}; - -} // namespace godot - -#endif // COLOR_H diff --git a/include/core/CoreTypes.hpp b/include/core/CoreTypes.hpp deleted file mode 100644 index 95ba2a79..00000000 --- a/include/core/CoreTypes.hpp +++ /dev/null @@ -1,56 +0,0 @@ -/*************************************************************************/ -/* CoreTypes.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef CORETYPES_H -#define CORETYPES_H - -#include "Defs.hpp" - -#include "AABB.hpp" -#include "Array.hpp" -#include "Basis.hpp" -#include "Color.hpp" -#include "Dictionary.hpp" -#include "NodePath.hpp" -#include "Plane.hpp" -#include "PoolArrays.hpp" -#include "Quat.hpp" -#include "RID.hpp" -#include "Rect2.hpp" -#include "String.hpp" -#include "Transform.hpp" -#include "Transform2D.hpp" -#include "Variant.hpp" -#include "Vector2.hpp" -#include "Vector3.hpp" - -#include "Wrapped.hpp" - -#endif // CORETYPES_H diff --git a/include/core/Defs.hpp b/include/core/Defs.hpp deleted file mode 100644 index 369240e0..00000000 --- a/include/core/Defs.hpp +++ /dev/null @@ -1,298 +0,0 @@ -/*************************************************************************/ -/* Defs.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef DEFS_H -#define DEFS_H - -namespace godot { - -enum class Error { - OK, - FAILED, ///< Generic fail error - ERR_UNAVAILABLE, ///< What is requested is unsupported/unavailable - ERR_UNCONFIGURED, ///< The object being used hasnt been properly set up yet - ERR_UNAUTHORIZED, ///< Missing credentials for requested resource - ERR_PARAMETER_RANGE_ERROR, ///< Parameter given out of range (5) - ERR_OUT_OF_MEMORY, ///< Out of memory - ERR_FILE_NOT_FOUND, - ERR_FILE_BAD_DRIVE, - ERR_FILE_BAD_PATH, - ERR_FILE_NO_PERMISSION, // (10) - ERR_FILE_ALREADY_IN_USE, - ERR_FILE_CANT_OPEN, - ERR_FILE_CANT_WRITE, - ERR_FILE_CANT_READ, - ERR_FILE_UNRECOGNIZED, // (15) - ERR_FILE_CORRUPT, - ERR_FILE_MISSING_DEPENDENCIES, - ERR_FILE_EOF, - ERR_CANT_OPEN, ///< Can't open a resource/socket/file - ERR_CANT_CREATE, // (20) - ERR_QUERY_FAILED, - ERR_ALREADY_IN_USE, - ERR_LOCKED, ///< resource is locked - ERR_TIMEOUT, - ERR_CANT_CONNECT, // (25) - ERR_CANT_RESOLVE, - ERR_CONNECTION_ERROR, - ERR_CANT_AQUIRE_RESOURCE, - ERR_CANT_FORK, - ERR_INVALID_DATA, ///< Data passed is invalid (30) - ERR_INVALID_PARAMETER, ///< Parameter passed is invalid - ERR_ALREADY_EXISTS, ///< When adding, item already exists - ERR_DOES_NOT_EXIST, ///< When retrieving/erasing, it item does not exist - ERR_DATABASE_CANT_READ, ///< database is full - ERR_DATABASE_CANT_WRITE, ///< database is full (35) - ERR_COMPILATION_FAILED, - ERR_METHOD_NOT_FOUND, - ERR_LINK_FAILED, - ERR_SCRIPT_FAILED, - ERR_CYCLIC_LINK, // (40) - ERR_INVALID_DECLARATION, - ERR_DUPLICATE_SYMBOL, - ERR_PARSE_ERROR, - ERR_BUSY, - ERR_SKIP, // (45) - ERR_HELP, ///< user requested help!! - ERR_BUG, ///< a bug in the software certainly happened, due to a double check failing or unexpected behavior. - ERR_PRINTER_ON_FIRE, /// the parallel port printer is engulfed in flames -}; - -} // namespace godot - -#include - -// alloca() is non-standard. When using MSVC, it's in malloc.h. -#if defined(__linux__) || defined(__APPLE__) -#include -#else -#include -#endif - -typedef float real_t; - -// This epsilon should match the one used by Godot for consistency. -// Using `f` when `real_t` is float. -#define CMP_EPSILON 0.00001f -#define CMP_EPSILON2 (CMP_EPSILON * CMP_EPSILON) - -#define Math_PI 3.1415926535897932384626433833 -#define Math_TAU 6.2831853071795864769252867666 - -#define _PLANE_EQ_DOT_EPSILON 0.999 -#define _PLANE_EQ_D_EPSILON 0.0001 - -#ifdef __GNUC__ -#define likely(x) __builtin_expect(!!(x), 1) -#define unlikely(x) __builtin_expect(!!(x), 0) -#else -#define likely(x) x -#define unlikely(x) x -#endif - -// Don't use this directly; instead, use any of the CRASH_* macros -#ifdef _MSC_VER -#define GENERATE_TRAP \ - __debugbreak(); \ - /* Avoid warning about control paths */ \ - for (;;) { \ - } -#else -#define GENERATE_TRAP __builtin_trap(); -#endif - -// ERR/WARN macros -#ifndef WARN_PRINT -#define WARN_PRINT(msg) godot::Godot::print_warning(msg, __func__, __FILE__, __LINE__) -#endif - -#ifndef WARN_PRINTS -#define WARN_PRINTS(msg) WARN_PRINT((msg).utf8().get_data()) -#endif - -#ifndef ERR_PRINT -#define ERR_PRINT(msg) godot::Godot::print_error(msg, __func__, __FILE__, __LINE__) -#endif - -#ifndef ERR_PRINTS -#define ERR_PRINTS(msg) ERR_PRINT((msg).utf8().get_data()) -#endif - -#ifndef FATAL_PRINT -#define FATAL_PRINT(msg) ERR_PRINT(godot::String("FATAL: ") + (msg)) -#endif - -#ifndef ERR_MSG_INDEX -#define ERR_MSG_INDEX(index, size) (godot::String("Index ") + #index + "=" + godot::String::num_int64(index) + " out of size (" + #size + "=" + godot::String::num_int64(size) + ")") -#endif - -#ifndef ERR_MSG_NULL -#define ERR_MSG_NULL(param) (godot::String("Parameter '") + #param + "' is null.") -#endif - -#ifndef ERR_MSG_COND -#define ERR_MSG_COND(cond) (godot::String("Condition '") + #cond + "' is true.") -#endif - -#ifndef ERR_FAIL_INDEX -#define ERR_FAIL_INDEX(index, size) \ - do { \ - if (unlikely((index) < 0 || (index) >= (size))) { \ - ERR_PRINT(ERR_MSG_INDEX(index, size)); \ - return; \ - } \ - } while (0) -#endif - -#ifndef ERR_FAIL_INDEX_V -#define ERR_FAIL_INDEX_V(index, size, ret) \ - do { \ - if (unlikely((index) < 0 || (index) >= (size))) { \ - ERR_PRINT(ERR_MSG_INDEX(index, size)); \ - return ret; \ - } \ - } while (0) -#endif - -#ifndef ERR_FAIL_UNSIGNED_INDEX_V -#define ERR_FAIL_UNSIGNED_INDEX_V(index, size, ret) \ - do { \ - if (unlikely((index) >= (size))) { \ - ERR_PRINT(ERR_MSG_INDEX(index, size)); \ - return ret; \ - } \ - } while (0) -#endif - -#ifndef CRASH_BAD_INDEX -#define CRASH_BAD_INDEX(index, size) \ - do { \ - if (unlikely((index) < 0 || (index) >= (size))) { \ - FATAL_PRINT(ERR_MSG_INDEX(index, size)); \ - GENERATE_TRAP; \ - } \ - } while (0) -#endif - -#ifndef ERR_FAIL_NULL -#define ERR_FAIL_NULL(param) \ - do { \ - if (unlikely(!param)) { \ - ERR_PRINT(ERR_MSG_NULL(param)); \ - return; \ - } \ - } while (0) -#endif - -#ifndef ERR_FAIL_NULL_V -#define ERR_FAIL_NULL_V(param, ret) \ - do { \ - if (unlikely(!param)) { \ - ERR_PRINT(ERR_MSG_NULL(param)); \ - return ret; \ - } \ - } while (0) -#endif - -#ifndef ERR_FAIL_COND -#define ERR_FAIL_COND(cond) \ - do { \ - if (unlikely(cond)) { \ - ERR_PRINT(ERR_MSG_COND(cond)); \ - return; \ - } \ - } while (0) -#endif - -#ifndef CRASH_COND -#define CRASH_COND(cond) \ - do { \ - if (unlikely(cond)) { \ - FATAL_PRINT(ERR_MSG_COND(cond)); \ - GENERATE_TRAP; \ - } \ - } while (0) -#endif - -#ifndef ERR_FAIL_COND_V -#define ERR_FAIL_COND_V(cond, ret) \ - do { \ - if (unlikely(cond)) { \ - ERR_PRINT(ERR_MSG_COND(cond)); \ - return ret; \ - } \ - } while (0) -#endif - -#ifndef ERR_CONTINUE -#define ERR_CONTINUE(cond) \ - { \ - if (unlikely(cond)) { \ - ERR_PRINT(ERR_MSG_COND(cond)); \ - continue; \ - } \ - } -#endif - -#ifndef ERR_BREAK -#define ERR_BREAK(cond) \ - { \ - if (unlikely(cond)) { \ - ERR_PRINT(ERR_MSG_COND(cond)); \ - break; \ - } \ - } -#endif - -#ifndef ERR_FAIL -#define ERR_FAIL() \ - do { \ - ERR_PRINT("Method/Function Failed."); \ - return; \ - } while (0) -#endif - -#ifndef ERR_FAIL_V -#define ERR_FAIL_V(ret) \ - do { \ - ERR_PRINT("Method/Function Failed."); \ - return ret; \ - } while (0) -#endif - -#ifndef CRASH_NOW -#define CRASH_NOW() \ - do { \ - FATAL_PRINT("Method/Function Failed."); \ - GENERATE_TRAP; \ - } while (0) -#endif - -#endif // DEFS_H diff --git a/include/core/Godot.hpp b/include/core/Godot.hpp deleted file mode 100644 index 265bc714..00000000 --- a/include/core/Godot.hpp +++ /dev/null @@ -1,619 +0,0 @@ -/*************************************************************************/ -/* Godot.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef GODOT_HPP -#define GODOT_HPP - -#include -#include - -#include -#include -#include - -#include "CoreTypes.hpp" -#include "Ref.hpp" -#include "TagDB.hpp" -#include "Variant.hpp" - -#include "Object.hpp" - -#include "GodotGlobal.hpp" - -#include - -namespace godot { -namespace detail { - -// Godot classes are wrapped by heap-allocated instances mimicking them through the C API. -// They all inherit `_Wrapped`. -template -T *get_wrapper(godot_object *obj) { - return (T *)godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, obj); -} - -// Custom class instances are not obtainable by just casting the pointer to the base class they inherit, -// partly because in Godot, scripts are not instances of the classes themselves, they are only attached to them. -// Yet we want to "fake" it as if they were the same entity. -template -T *get_custom_class_instance(const Object *obj) { - return (obj) ? (T *)godot::nativescript_api->godot_nativescript_get_userdata(obj->_owner) : nullptr; -} - -template -inline T *create_custom_class_instance() { - // Usually, script instances hold a reference to their NativeScript resource. - // that resource is obtained from a `.gdns` file, which in turn exists because - // of the resource system of Godot. We can't cleanly hardcode that here, - // so the easiest for now (though not really clean) is to create new resource instances, - // individually attached to the script instances. - - // We cannot use wrappers because of https://github.com/godotengine/godot/issues/39181 - // godot::NativeScript *script = godot::NativeScript::_new(); - // script->set_library(get_wrapper((godot_object *)godot::gdnlib)); - // script->set_class_name(T::___get_class_name()); - - static_assert(T::___CLASS_IS_SCRIPT, "This function must only be used on custom classes"); - - // So we use the C API directly. - static godot_class_constructor script_constructor = godot::api->godot_get_class_constructor("NativeScript"); - static godot_method_bind *mb_set_library = godot::api->godot_method_bind_get_method("NativeScript", "set_library"); - static godot_method_bind *mb_set_class_name = godot::api->godot_method_bind_get_method("NativeScript", "set_class_name"); - godot_object *script = script_constructor(); - { - const void *args[] = { godot::gdnlib }; - godot::api->godot_method_bind_ptrcall(mb_set_library, script, args, nullptr); - } - { - const String class_name = T::___get_class_name(); - const void *args[] = { &class_name }; - godot::api->godot_method_bind_ptrcall(mb_set_class_name, script, args, nullptr); - } - - // Now to instanciate T, we initially did this, however in case of Reference it returns a variant with refcount - // already initialized, which woud cause inconsistent behavior compared to other classes (we still have to return a pointer). - //Variant instance_variant = script->new_(); - //T *instance = godot::get_custom_class_instance(instance_variant); - - // So we should do this instead, however while convenient, it uses unnecessary wrapper objects. - // Object *base_obj = T::___new_godot_base(); - // base_obj->set_script(script); - // return get_custom_class_instance(base_obj); - - // Again using the C API to do exactly what we have to do. - static godot_class_constructor base_constructor = godot::api->godot_get_class_constructor(T::___get_godot_class_name()); - static godot_method_bind *mb_set_script = godot::api->godot_method_bind_get_method("Object", "set_script"); - godot_object *base_obj = base_constructor(); - { - const void *args[] = { script }; - godot::api->godot_method_bind_ptrcall(mb_set_script, base_obj, args, nullptr); - } - - return (T *)godot::nativescript_api->godot_nativescript_get_userdata(base_obj); -} - -} // namespace detail - -// Used in the definition of a custom class. -// -// Name: Name of your class, without namespace -// Base: Name of the direct base class, with namespace if necessary -// -// ___get_class_name: Name of the class -// ___get_godot_class_name: Name of the Godot base class this class inherits from (i.e not direct) -// _new: Creates a new instance of the class -// ___get_id: Gets the unique ID of the class. Godot and custom classes are both within that set. -// ___get_base_id: Gets the ID of the direct base class, as returned by ___get_id -// ___get_base_class_name: Name of the direct base class -// ___get_from_variant: Converts a Variant into an Object*. Will be non-null if the class matches. -#define GODOT_CLASS(Name, Base) \ - \ -public: \ - inline static const char *___get_class_name() { return #Name; } \ - enum { ___CLASS_IS_SCRIPT = 1 }; \ - inline static const char *___get_godot_class_name() { \ - return Base::___get_godot_class_name(); \ - } \ - inline static Name *_new() { \ - return godot::detail::create_custom_class_instance(); \ - } \ - inline static size_t ___get_id() { return typeid(Name).hash_code(); } \ - inline static size_t ___get_base_id() { return Base::___get_id(); } \ - inline static const char *___get_base_class_name() { return Base::___get_class_name(); } \ - inline static godot::Object *___get_from_variant(godot::Variant a) { \ - return (godot::Object *)godot::detail::get_custom_class_instance( \ - godot::Object::___get_from_variant(a)); \ - } \ - \ -private: - -// Legacy compatibility -#define GODOT_SUBCLASS(Name, Base) GODOT_CLASS(Name, Base) - -template -struct _ArgCast { - static T _arg_cast(Variant a) { - return a; - } -}; - -template -struct _ArgCast { - static T *_arg_cast(Variant a) { - return (T *)T::___get_from_variant(a); - } -}; - -template <> -struct _ArgCast { - static Variant _arg_cast(Variant a) { - return a; - } -}; - -// instance and destroy funcs - -template -void *_godot_class_instance_func(godot_object *p, void * /*method_data*/) { - T *d = new T(); - d->_owner = p; - d->_type_tag = typeid(T).hash_code(); - d->_init(); - return d; -} - -template -void _godot_class_destroy_func(godot_object * /*p*/, void * /*method_data*/, void *data) { - T *d = (T *)data; - delete d; -} - -template -void register_class() { - static_assert(T::___CLASS_IS_SCRIPT, "This function must only be used on custom classes"); - - godot_instance_create_func create = {}; - create.create_func = _godot_class_instance_func; - - godot_instance_destroy_func destroy = {}; - destroy.destroy_func = _godot_class_destroy_func; - - _TagDB::register_type(T::___get_id(), T::___get_base_id()); - - godot::nativescript_api->godot_nativescript_register_class(godot::_RegisterState::nativescript_handle, - T::___get_class_name(), T::___get_base_class_name(), create, destroy); - - godot::nativescript_1_1_api->godot_nativescript_set_type_tag(godot::_RegisterState::nativescript_handle, - T::___get_class_name(), (const void *)T::___get_id()); - - T::_register_methods(); -} - -template -void register_tool_class() { - static_assert(T::___CLASS_IS_SCRIPT, "This function must only be used on custom classes"); - - godot_instance_create_func create = {}; - create.create_func = _godot_class_instance_func; - - godot_instance_destroy_func destroy = {}; - destroy.destroy_func = _godot_class_destroy_func; - - _TagDB::register_type(T::___get_id(), T::___get_base_id()); - - godot::nativescript_api->godot_nativescript_register_tool_class(godot::_RegisterState::nativescript_handle, - T::___get_class_name(), T::___get_base_class_name(), create, destroy); - - godot::nativescript_1_1_api->godot_nativescript_set_type_tag(godot::_RegisterState::nativescript_handle, - T::___get_class_name(), (const void *)T::___get_id()); - - T::_register_methods(); -} - -// method registering - -typedef godot_variant (*__godot_wrapper_method)(godot_object *, void *, void *, int, godot_variant **); - -template -const char *___get_method_class_name(R (T::*p)(args... a)) { - static_assert(T::___CLASS_IS_SCRIPT, "This function must only be used on custom classes"); - (void)p; // To avoid "unused parameter" warnings. `p` is required for template matching. - return T::___get_class_name(); -} - -// This second version is also required to match constant functions -template -const char *___get_method_class_name(R (T::*p)(args... a) const) { - static_assert(T::___CLASS_IS_SCRIPT, "This function must only be used on custom classes"); - (void)p; // To avoid "unused parameter" warnings. `p` is required for template matching. - return T::___get_class_name(); -} - -// Okay, time for some template magic. -// Many thanks to manpat from the GDL Discord Server. - -// This is stuff that's available in C++14 I think, but whatever. - -template -struct __Sequence {}; - -template -struct __construct_sequence { - using type = typename __construct_sequence::type; -}; - -template -struct __construct_sequence<0, I...> { - using type = __Sequence; -}; - -// Now the wrapping part. -template -struct _WrappedMethod { - R(T::*f) - (As...); - - template - void apply(Variant *ret, T *obj, Variant **args, __Sequence) { - *ret = (obj->*f)(_ArgCast::_arg_cast(*args[I])...); - } -}; - -template -struct _WrappedMethod { - void (T::*f)(As...); - - template - void apply(Variant * /*ret*/, T *obj, Variant **args, __Sequence) { - (obj->*f)(_ArgCast::_arg_cast(*args[I])...); - } -}; - -template -godot_variant __wrapped_method(godot_object *, void *method_data, void *user_data, int /*num_args*/, godot_variant **args) { - godot_variant v; - godot::api->godot_variant_new_nil(&v); - - T *obj = (T *)user_data; - _WrappedMethod *method = (_WrappedMethod *)method_data; - - Variant *var = (Variant *)&v; - Variant **arg = (Variant **)args; - - method->apply(var, obj, arg, typename __construct_sequence::type{}); - - return v; -} - -template -void *___make_wrapper_function(R (T::*f)(As...)) { - using MethodType = _WrappedMethod; - MethodType *p = (MethodType *)godot::api->godot_alloc(sizeof(MethodType)); - p->f = f; - return (void *)p; -} - -template -__godot_wrapper_method ___get_wrapper_function(R (T::* /*f*/)(As...)) { - return (__godot_wrapper_method)&__wrapped_method; -} - -template -void *___make_wrapper_function(R (T::*f)(A...) const) { - return ___make_wrapper_function((R(T::*)(A...))f); -} - -template -__godot_wrapper_method ___get_wrapper_function(R (T::*f)(A...) const) { - return ___get_wrapper_function((R(T::*)(A...))f); -} - -template -void register_method(const char *name, M method_ptr, godot_method_rpc_mode rpc_type = GODOT_METHOD_RPC_MODE_DISABLED) { - godot_instance_method method = {}; - method.method_data = ___make_wrapper_function(method_ptr); - method.free_func = godot::api->godot_free; - method.method = (__godot_wrapper_method)___get_wrapper_function(method_ptr); - - godot_method_attributes attr = {}; - attr.rpc_type = rpc_type; - - godot::nativescript_api->godot_nativescript_register_method(godot::_RegisterState::nativescript_handle, - ___get_method_class_name(method_ptr), name, attr, method); -} - -// User can specify a derived class D to register the method for, instead of it being inferred. -template -void register_method_explicit(const char *name, R (B::*method_ptr)(As...), - godot_method_rpc_mode rpc_type = GODOT_METHOD_RPC_MODE_DISABLED) { - static_assert(std::is_base_of::value, "Explicit class must derive from method class"); - register_method(name, static_cast(method_ptr), rpc_type); -} - -template -struct _PropertySetFunc { - void (T::*f)(P); - static void _wrapped_setter(godot_object * /*object*/, void *method_data, void *user_data, godot_variant *value) { - _PropertySetFunc *set_func = (_PropertySetFunc *)method_data; - T *obj = (T *)user_data; - - Variant *v = (Variant *)value; - - (obj->*(set_func->f))(_ArgCast

::_arg_cast(*v)); - } -}; - -template -struct _PropertyGetFunc { - P(T::*f) - (); - static godot_variant _wrapped_getter(godot_object * /*object*/, void *method_data, void *user_data) { - _PropertyGetFunc *get_func = (_PropertyGetFunc *)method_data; - T *obj = (T *)user_data; - - godot_variant var; - godot::api->godot_variant_new_nil(&var); - - Variant *v = (Variant *)&var; - - *v = (obj->*(get_func->f))(); - - return var; - } -}; - -template -struct _PropertyDefaultSetFunc { - P(T::*f); - static void _wrapped_setter(godot_object * /*object*/, void *method_data, void *user_data, godot_variant *value) { - _PropertyDefaultSetFunc *set_func = (_PropertyDefaultSetFunc *)method_data; - T *obj = (T *)user_data; - - Variant *v = (Variant *)value; - - (obj->*(set_func->f)) = _ArgCast

::_arg_cast(*v); - } -}; - -template -struct _PropertyDefaultGetFunc { - P(T::*f); - static godot_variant _wrapped_getter(godot_object * /*object*/, void *method_data, void *user_data) { - _PropertyDefaultGetFunc *get_func = (_PropertyDefaultGetFunc *)method_data; - T *obj = (T *)user_data; - - godot_variant var; - godot::api->godot_variant_new_nil(&var); - - Variant *v = (Variant *)&var; - - *v = (obj->*(get_func->f)); - - return var; - } -}; - -template -void register_property(const char *name, P(T::*var), P default_value, - godot_method_rpc_mode rpc_mode = GODOT_METHOD_RPC_MODE_DISABLED, - godot_property_usage_flags usage = GODOT_PROPERTY_USAGE_DEFAULT, - godot_property_hint hint = GODOT_PROPERTY_HINT_NONE, String hint_string = "") { - static_assert(T::___CLASS_IS_SCRIPT, "This function must only be used on custom classes"); - - Variant def_val = default_value; - - usage = (godot_property_usage_flags)((int)usage | GODOT_PROPERTY_USAGE_SCRIPT_VARIABLE); - - if (def_val.get_type() == Variant::OBJECT) { - Object *o = detail::get_wrapper(def_val.operator godot_object *()); - if (o && o->is_class("Resource")) { - hint = (godot_property_hint)((int)hint | GODOT_PROPERTY_HINT_RESOURCE_TYPE); - hint_string = o->get_class(); - } - } - - godot_string *_hint_string = (godot_string *)&hint_string; - - godot_property_attributes attr = {}; - if (def_val.get_type() == Variant::NIL) { - attr.type = Variant::OBJECT; - } else { - attr.type = def_val.get_type(); - attr.default_value = *(godot_variant *)&def_val; - } - - attr.hint = hint; - attr.rset_type = rpc_mode; - attr.usage = usage; - attr.hint_string = *_hint_string; - - _PropertyDefaultSetFunc *wrapped_set = - (_PropertyDefaultSetFunc *)godot::api->godot_alloc(sizeof(_PropertyDefaultSetFunc)); - wrapped_set->f = var; - - _PropertyDefaultGetFunc *wrapped_get = - (_PropertyDefaultGetFunc *)godot::api->godot_alloc(sizeof(_PropertyDefaultGetFunc)); - wrapped_get->f = var; - - godot_property_set_func set_func = {}; - set_func.method_data = (void *)wrapped_set; - set_func.free_func = godot::api->godot_free; - set_func.set_func = &_PropertyDefaultSetFunc::_wrapped_setter; - - godot_property_get_func get_func = {}; - get_func.method_data = (void *)wrapped_get; - get_func.free_func = godot::api->godot_free; - get_func.get_func = &_PropertyDefaultGetFunc::_wrapped_getter; - - godot::nativescript_api->godot_nativescript_register_property(godot::_RegisterState::nativescript_handle, - T::___get_class_name(), name, &attr, set_func, get_func); -} - -template -void register_property(const char *name, void (T::*setter)(P), P (T::*getter)(), P default_value, - godot_method_rpc_mode rpc_mode = GODOT_METHOD_RPC_MODE_DISABLED, - godot_property_usage_flags usage = GODOT_PROPERTY_USAGE_DEFAULT, - godot_property_hint hint = GODOT_PROPERTY_HINT_NONE, String hint_string = "") { - static_assert(T::___CLASS_IS_SCRIPT, "This function must only be used on custom classes"); - - Variant def_val = default_value; - - godot_string *_hint_string = (godot_string *)&hint_string; - - godot_property_attributes attr = {}; - if (def_val.get_type() == Variant::NIL) { - attr.type = Variant::OBJECT; - } else { - attr.type = def_val.get_type(); - attr.default_value = *(godot_variant *)&def_val; - } - attr.hint = hint; - attr.rset_type = rpc_mode; - attr.usage = usage; - attr.hint_string = *_hint_string; - - _PropertySetFunc *wrapped_set = (_PropertySetFunc *)godot::api->godot_alloc(sizeof(_PropertySetFunc)); - wrapped_set->f = setter; - - _PropertyGetFunc *wrapped_get = (_PropertyGetFunc *)godot::api->godot_alloc(sizeof(_PropertyGetFunc)); - wrapped_get->f = getter; - - godot_property_set_func set_func = {}; - set_func.method_data = (void *)wrapped_set; - set_func.free_func = godot::api->godot_free; - set_func.set_func = &_PropertySetFunc::_wrapped_setter; - - godot_property_get_func get_func = {}; - get_func.method_data = (void *)wrapped_get; - get_func.free_func = godot::api->godot_free; - get_func.get_func = &_PropertyGetFunc::_wrapped_getter; - - godot::nativescript_api->godot_nativescript_register_property(godot::_RegisterState::nativescript_handle, - T::___get_class_name(), name, &attr, set_func, get_func); -} - -template -void register_property(const char *name, void (T::*setter)(P), P (T::*getter)() const, P default_value, - godot_method_rpc_mode rpc_mode = GODOT_METHOD_RPC_MODE_DISABLED, - godot_property_usage_flags usage = GODOT_PROPERTY_USAGE_DEFAULT, - godot_property_hint hint = GODOT_PROPERTY_HINT_NONE, String hint_string = "") { - register_property(name, setter, (P(T::*)())getter, default_value, rpc_mode, usage, hint, hint_string); -} - -template -void register_signal(String name, Dictionary args) { - static_assert(T::___CLASS_IS_SCRIPT, "This function must only be used on custom classes"); - - godot_signal signal = {}; - signal.name = *(godot_string *)&name; - signal.num_args = args.size(); - signal.num_default_args = 0; - - // Need to check because malloc(0) is platform-dependent. Zero arguments will leave args to nullptr. - if (signal.num_args != 0) { - signal.args = (godot_signal_argument *)godot::api->godot_alloc(sizeof(godot_signal_argument) * signal.num_args); - memset((void *)signal.args, 0, sizeof(godot_signal_argument) * signal.num_args); - } - - for (int i = 0; i < signal.num_args; i++) { - // Array entry = args[i]; - // String name = entry[0]; - String name = args.keys()[i]; - godot_string *_key = (godot_string *)&name; - godot::api->godot_string_new_copy(&signal.args[i].name, _key); - - // if (entry.size() > 1) { - // signal.args[i].type = entry[1]; - // } - signal.args[i].type = args.values()[i]; - } - - godot::nativescript_api->godot_nativescript_register_signal(godot::_RegisterState::nativescript_handle, - T::___get_class_name(), &signal); - - for (int i = 0; i < signal.num_args; i++) { - godot::api->godot_string_destroy(&signal.args[i].name); - } - - if (signal.args) { - godot::api->godot_free(signal.args); - } -} - -template -void register_signal(String name, Args... varargs) { - register_signal(name, Dictionary::make(varargs...)); -} - -template -void register_signal(String name) { - static_assert(T::___CLASS_IS_SCRIPT, "This function must only be used on custom classes"); - - godot_signal signal = {}; - signal.name = *(godot_string *)&name; - - godot::nativescript_api->godot_nativescript_register_signal(godot::_RegisterState::nativescript_handle, - T::___get_class_name(), &signal); -} - -#ifndef GODOT_CPP_NO_OBJECT_CAST -template -T *Object::cast_to(const Object *obj) { - if (!obj) - return nullptr; - - if (T::___CLASS_IS_SCRIPT) { - size_t have_tag = (size_t)godot::nativescript_1_1_api->godot_nativescript_get_type_tag(obj->_owner); - if (have_tag) { - if (!godot::_TagDB::is_type_known((size_t)have_tag)) { - have_tag = 0; - } - } - - if (!have_tag) { - have_tag = obj->_type_tag; - } - - if (godot::_TagDB::is_type_compatible(T::___get_id(), have_tag)) { - return detail::get_custom_class_instance(obj); - } - } else { - if (godot::core_1_2_api->godot_object_cast_to(obj->_owner, (void *)T::___get_id())) { - return (T *)obj; - } - } - - return nullptr; -} -#endif - -} // namespace godot - -#endif // GODOT_HPP diff --git a/include/core/GodotGlobal.hpp b/include/core/GodotGlobal.hpp deleted file mode 100644 index 6312d19d..00000000 --- a/include/core/GodotGlobal.hpp +++ /dev/null @@ -1,81 +0,0 @@ -/*************************************************************************/ -/* GodotGlobal.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef GODOT_GLOBAL_HPP -#define GODOT_GLOBAL_HPP - -#include "Array.hpp" -#include "String.hpp" -#include - -namespace godot { - -extern "C" const godot_gdnative_core_api_struct *api; -extern "C" const godot_gdnative_core_1_1_api_struct *core_1_1_api; -extern "C" const godot_gdnative_core_1_2_api_struct *core_1_2_api; - -extern "C" const godot_gdnative_ext_nativescript_api_struct *nativescript_api; -extern "C" const godot_gdnative_ext_nativescript_1_1_api_struct *nativescript_1_1_api; -extern "C" const godot_gdnative_ext_pluginscript_api_struct *pluginscript_api; -extern "C" const godot_gdnative_ext_android_api_struct *android_api; -extern "C" const godot_gdnative_ext_arvr_api_struct *arvr_api; -extern "C" const godot_gdnative_ext_videodecoder_api_struct *videodecoder_api; -extern "C" const godot_gdnative_ext_net_api_struct *net_api; -extern "C" const godot_gdnative_ext_net_3_2_api_struct *net_3_2_api; - -extern "C" const void *gdnlib; - -class Godot { -public: - static void print(const String &message); - static void print_warning(const String &description, const String &function, const String &file, int line); - static void print_error(const String &description, const String &function, const String &file, int line); - - static void gdnative_init(godot_gdnative_init_options *o); - static void gdnative_terminate(godot_gdnative_terminate_options *o); - static void nativescript_init(void *handle); - static void nativescript_terminate(void *handle); - - static void gdnative_profiling_add_data(const char *p_signature, uint64_t p_time); - - template - static void print(const String &fmt, Args... values) { - print(fmt.format(Array::make(values...))); - } -}; - -struct _RegisterState { - static void *nativescript_handle; - static int language_index; -}; - -} // namespace godot - -#endif diff --git a/include/core/GodotProfiling.hpp b/include/core/GodotProfiling.hpp deleted file mode 100644 index fc343430..00000000 --- a/include/core/GodotProfiling.hpp +++ /dev/null @@ -1,63 +0,0 @@ -/*************************************************************************/ -/* GodotProfiling.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef GODOT_PROFILING_HPP -#define GODOT_PROFILING_HPP - -#include "OS.hpp" - -namespace godot { - -class FunctionProfiling { - char signature[1024]; - uint64_t ticks; - -public: - FunctionProfiling(const char *p_function, const int p_line) { - snprintf(signature, 1024, "::%d::%s", p_line, p_function); - ticks = OS::get_singleton()->get_ticks_usec(); - } - ~FunctionProfiling() { - uint64_t t = OS::get_singleton()->get_ticks_usec() - ticks; - if (t > 0) { - Godot::gdnative_profiling_add_data(signature, t); - } - } -}; - -} // namespace godot - -#ifdef DEBUG_ENABLED -#define GODOT_PROFILING_FUNCTION FunctionProfiling __function_profiling(__FUNCTION__, __LINE__); -#else -#define GODOT_PROFILING_FUNCTION -#endif - -#endif diff --git a/include/core/Math.hpp b/include/core/Math.hpp deleted file mode 100644 index 1f54f981..00000000 --- a/include/core/Math.hpp +++ /dev/null @@ -1,302 +0,0 @@ -/*************************************************************************/ -/* Math.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef GODOT_MATH_H -#define GODOT_MATH_H - -#include "Defs.hpp" -#include - -namespace godot { -namespace Math { - -// Functions reproduced as in Godot's source code `math_funcs.h`. -// Some are overloads to automatically support changing real_t into either double or float in the way Godot does. - -inline double fmod(double p_x, double p_y) { - return ::fmod(p_x, p_y); -} -inline float fmod(float p_x, float p_y) { - return ::fmodf(p_x, p_y); -} - -inline double floor(double p_x) { - return ::floor(p_x); -} -inline float floor(float p_x) { - return ::floorf(p_x); -} - -inline double exp(double p_x) { - return ::exp(p_x); -} -inline float exp(float p_x) { - return ::expf(p_x); -} - -inline double sin(double p_x) { - return ::sin(p_x); -} -inline float sin(float p_x) { - return ::sinf(p_x); -} - -inline double cos(double p_x) { - return ::cos(p_x); -} -inline float cos(float p_x) { - return ::cosf(p_x); -} - -inline double tan(double p_x) { - return ::tan(p_x); -} -inline float tan(float p_x) { - return ::tanf(p_x); -} - -inline double asin(double p_x) { - return ::asin(p_x); -} -inline float asin(float p_x) { - return ::asinf(p_x); -} - -inline double acos(double p_x) { - return ::acos(p_x); -} -inline float acos(float p_x) { - return ::acosf(p_x); -} - -inline double atan(double p_x) { - return ::atan(p_x); -} -inline float atan(float p_x) { - return ::atanf(p_x); -} - -inline double atan2(double p_y, double p_x) { - return ::atan2(p_y, p_x); -} -inline float atan2(float p_y, float p_x) { - return ::atan2f(p_y, p_x); -} - -inline double sqrt(double p_x) { - return ::sqrt(p_x); -} -inline float sqrt(float p_x) { - return ::sqrtf(p_x); -} - -inline float lerp(float minv, float maxv, float t) { - return minv + t * (maxv - minv); -} -inline double lerp(double minv, double maxv, double t) { - return minv + t * (maxv - minv); -} - -inline double lerp_angle(double p_from, double p_to, double p_weight) { - double difference = fmod(p_to - p_from, Math_TAU); - double distance = fmod(2.0 * difference, Math_TAU) - difference; - return p_from + distance * p_weight; -} -inline float lerp_angle(float p_from, float p_to, float p_weight) { - float difference = fmod(p_to - p_from, (float)Math_TAU); - float distance = fmod(2.0f * difference, (float)Math_TAU) - difference; - return p_from + distance * p_weight; -} - -template -inline T clamp(T x, T minv, T maxv) { - if (x < minv) { - return minv; - } - if (x > maxv) { - return maxv; - } - return x; -} - -template -inline T min(T a, T b) { - return a < b ? a : b; -} - -template -inline T max(T a, T b) { - return a > b ? a : b; -} - -template -inline T sign(T x) { - return static_cast(x < 0 ? -1 : 1); -} - -inline double deg2rad(double p_y) { - return p_y * Math_PI / 180.0; -} -inline float deg2rad(float p_y) { - return p_y * static_cast(Math_PI) / 180.f; -} - -inline double rad2deg(double p_y) { - return p_y * 180.0 / Math_PI; -} -inline float rad2deg(float p_y) { - return p_y * 180.f / static_cast(Math_PI); -} - -inline double inverse_lerp(double p_from, double p_to, double p_value) { - return (p_value - p_from) / (p_to - p_from); -} -inline float inverse_lerp(float p_from, float p_to, float p_value) { - return (p_value - p_from) / (p_to - p_from); -} - -inline double range_lerp(double p_value, double p_istart, double p_istop, double p_ostart, double p_ostop) { - return Math::lerp(p_ostart, p_ostop, Math::inverse_lerp(p_istart, p_istop, p_value)); -} -inline float range_lerp(float p_value, float p_istart, float p_istop, float p_ostart, float p_ostop) { - return Math::lerp(p_ostart, p_ostop, Math::inverse_lerp(p_istart, p_istop, p_value)); -} - -inline bool is_equal_approx(real_t a, real_t b) { - // Check for exact equality first, required to handle "infinity" values. - if (a == b) { - return true; - } - // Then check for approximate equality. - real_t tolerance = CMP_EPSILON * std::abs(a); - if (tolerance < CMP_EPSILON) { - tolerance = CMP_EPSILON; - } - return std::abs(a - b) < tolerance; -} - -inline bool is_equal_approx(real_t a, real_t b, real_t tolerance) { - // Check for exact equality first, required to handle "infinity" values. - if (a == b) { - return true; - } - // Then check for approximate equality. - return std::abs(a - b) < tolerance; -} - -inline bool is_zero_approx(real_t s) { - return std::abs(s) < CMP_EPSILON; -} - -inline double smoothstep(double p_from, double p_to, double p_weight) { - if (is_equal_approx(static_cast(p_from), static_cast(p_to))) { - return p_from; - } - double x = clamp((p_weight - p_from) / (p_to - p_from), 0.0, 1.0); - return x * x * (3.0 - 2.0 * x); -} -inline float smoothstep(float p_from, float p_to, float p_weight) { - if (is_equal_approx(p_from, p_to)) { - return p_from; - } - float x = clamp((p_weight - p_from) / (p_to - p_from), 0.0f, 1.0f); - return x * x * (3.0f - 2.0f * x); -} - -inline double move_toward(double p_from, double p_to, double p_delta) { - return std::abs(p_to - p_from) <= p_delta ? p_to : p_from + sign(p_to - p_from) * p_delta; -} - -inline float move_toward(float p_from, float p_to, float p_delta) { - return std::abs(p_to - p_from) <= p_delta ? p_to : p_from + sign(p_to - p_from) * p_delta; -} - -inline double linear2db(double p_linear) { - return log(p_linear) * 8.6858896380650365530225783783321; -} -inline float linear2db(float p_linear) { - return log(p_linear) * 8.6858896380650365530225783783321f; -} - -inline double db2linear(double p_db) { - return exp(p_db * 0.11512925464970228420089957273422); -} -inline float db2linear(float p_db) { - return exp(p_db * 0.11512925464970228420089957273422f); -} - -inline double round(double p_val) { - return (p_val >= 0) ? floor(p_val + 0.5) : -floor(-p_val + 0.5); -} -inline float round(float p_val) { - return (p_val >= 0) ? floor(p_val + 0.5f) : -floor(-p_val + 0.5f); -} - -inline int64_t wrapi(int64_t value, int64_t min, int64_t max) { - int64_t range = max - min; - return range == 0 ? min : min + ((((value - min) % range) + range) % range); -} - -inline float wrapf(real_t value, real_t min, real_t max) { - const real_t range = max - min; - return is_zero_approx(range) ? min : value - (range * floor((value - min) / range)); -} - -inline float stepify(float p_value, float p_step) { - if (p_step != 0) { - p_value = floor(p_value / p_step + 0.5f) * p_step; - } - return p_value; -} -inline double stepify(double p_value, double p_step) { - if (p_step != 0) { - p_value = floor(p_value / p_step + 0.5) * p_step; - } - return p_value; -} - -inline unsigned int next_power_of_2(unsigned int x) { - if (x == 0) - return 0; - - --x; - x |= x >> 1; - x |= x >> 2; - x |= x >> 4; - x |= x >> 8; - x |= x >> 16; - - return ++x; -} - -} // namespace Math -} // namespace godot - -#endif // GODOT_MATH_H diff --git a/include/core/NodePath.hpp b/include/core/NodePath.hpp deleted file mode 100644 index f76537ba..00000000 --- a/include/core/NodePath.hpp +++ /dev/null @@ -1,84 +0,0 @@ -/*************************************************************************/ -/* NodePath.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef NODEPATH_H -#define NODEPATH_H - -#include "String.hpp" - -#include - -namespace godot { - -class NodePath { - godot_node_path _node_path; - - friend class Variant; - inline explicit NodePath(godot_node_path node_path) { - _node_path = node_path; - } - -public: - NodePath(); - - NodePath(const NodePath &other); - - NodePath(const String &from); - - NodePath(const char *contents); - - String get_name(const int idx) const; - - int get_name_count() const; - - String get_subname(const int idx) const; - - int get_subname_count() const; - - bool is_absolute() const; - - bool is_empty() const; - - NodePath get_as_property_path() const; - - String get_concatenated_subnames() const; - - operator String() const; - - void operator=(const NodePath &other); - - bool operator==(const NodePath &other); - - ~NodePath(); -}; - -} // namespace godot - -#endif // NODEPATH_H diff --git a/include/core/PoolArrays.hpp b/include/core/PoolArrays.hpp deleted file mode 100644 index 233b146c..00000000 --- a/include/core/PoolArrays.hpp +++ /dev/null @@ -1,766 +0,0 @@ -/*************************************************************************/ -/* PoolArrays.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef POOLARRAYS_H -#define POOLARRAYS_H - -#include "Defs.hpp" - -#include "Color.hpp" -#include "GodotGlobal.hpp" -#include "String.hpp" -#include "Vector2.hpp" -#include "Vector3.hpp" - -#include - -namespace godot { - -class Array; - -class PoolByteArray { - godot_pool_byte_array _godot_array; - - friend class String; - friend class Variant; - inline explicit PoolByteArray(godot_pool_byte_array a) { - _godot_array = a; - } - -public: - class Read { - friend class PoolByteArray; - godot_pool_byte_array_read_access *_read_access; - - public: - inline Read() { - _read_access = nullptr; - } - - inline Read(const Read &p_other) { - _read_access = godot::api->godot_pool_byte_array_read_access_copy(p_other._read_access); - } - - inline ~Read() { - godot::api->godot_pool_byte_array_read_access_destroy(_read_access); - } - - inline const uint8_t *ptr() const { - return godot::api->godot_pool_byte_array_read_access_ptr(_read_access); - } - - inline const uint8_t &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Read &p_other) { - godot::api->godot_pool_byte_array_read_access_operator_assign(_read_access, p_other._read_access); - } - }; - - class Write { - friend class PoolByteArray; - godot_pool_byte_array_write_access *_write_access; - - public: - inline Write() { - _write_access = nullptr; - } - - inline Write(const Write &p_other) { - _write_access = godot::api->godot_pool_byte_array_write_access_copy(p_other._write_access); - } - - inline ~Write() { - godot::api->godot_pool_byte_array_write_access_destroy(_write_access); - } - - inline uint8_t *ptr() const { - return godot::api->godot_pool_byte_array_write_access_ptr(_write_access); - } - - inline uint8_t &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Write &p_other) { - godot::api->godot_pool_byte_array_write_access_operator_assign(_write_access, p_other._write_access); - } - }; - - PoolByteArray(); - PoolByteArray(const PoolByteArray &p_other); - PoolByteArray &operator=(const PoolByteArray &p_other); - - PoolByteArray(const Array &array); - - Read read() const; - - Write write(); - - void append(const uint8_t data); - - void append_array(const PoolByteArray &array); - - int insert(const int idx, const uint8_t data); - - void invert(); - - void push_back(const uint8_t data); - - void remove(const int idx); - - void resize(const int size); - - void set(const int idx, const uint8_t data); - - uint8_t operator[](const int idx); - - int size() const; - - ~PoolByteArray(); -}; - -class PoolIntArray { - godot_pool_int_array _godot_array; - - friend class Variant; - explicit inline PoolIntArray(godot_pool_int_array a) { - _godot_array = a; - } - -public: - class Read { - friend class PoolIntArray; - godot_pool_int_array_read_access *_read_access; - - public: - inline Read() { - _read_access = nullptr; - } - - inline Read(const Read &p_other) { - _read_access = godot::api->godot_pool_int_array_read_access_copy(p_other._read_access); - } - - inline ~Read() { - godot::api->godot_pool_int_array_read_access_destroy(_read_access); - } - - inline const int *ptr() const { - return godot::api->godot_pool_int_array_read_access_ptr(_read_access); - } - - inline const int &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Read &p_other) { - godot::api->godot_pool_int_array_read_access_operator_assign(_read_access, p_other._read_access); - } - }; - - class Write { - friend class PoolIntArray; - godot_pool_int_array_write_access *_write_access; - - public: - inline Write() { - _write_access = nullptr; - } - - inline Write(const Write &p_other) { - _write_access = godot::api->godot_pool_int_array_write_access_copy(p_other._write_access); - } - - inline ~Write() { - godot::api->godot_pool_int_array_write_access_destroy(_write_access); - } - - inline int *ptr() const { - return godot::api->godot_pool_int_array_write_access_ptr(_write_access); - } - - inline int &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Write &p_other) { - godot::api->godot_pool_int_array_write_access_operator_assign(_write_access, p_other._write_access); - } - }; - - PoolIntArray(); - PoolIntArray(const PoolIntArray &p_other); - PoolIntArray &operator=(const PoolIntArray &p_other); - - PoolIntArray(const Array &array); - - Read read() const; - - Write write(); - - void append(const int data); - - void append_array(const PoolIntArray &array); - - int insert(const int idx, const int data); - - void invert(); - - void push_back(const int data); - - void remove(const int idx); - - void resize(const int size); - - void set(const int idx, const int data); - - int operator[](const int idx); - - int size() const; - - ~PoolIntArray(); -}; - -class PoolRealArray { - godot_pool_real_array _godot_array; - - friend class Variant; - explicit inline PoolRealArray(godot_pool_real_array a) { - _godot_array = a; - } - -public: - class Read { - friend class PoolRealArray; - godot_pool_real_array_read_access *_read_access; - - public: - inline Read() { - _read_access = nullptr; - } - - inline Read(const Read &p_other) { - _read_access = godot::api->godot_pool_real_array_read_access_copy(p_other._read_access); - } - - inline ~Read() { - godot::api->godot_pool_real_array_read_access_destroy(_read_access); - } - - inline const real_t *ptr() const { - return godot::api->godot_pool_real_array_read_access_ptr(_read_access); - } - - inline const real_t &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Read &p_other) { - godot::api->godot_pool_real_array_read_access_operator_assign(_read_access, p_other._read_access); - } - }; - - class Write { - friend class PoolRealArray; - godot_pool_real_array_write_access *_write_access; - - public: - inline Write() { - _write_access = nullptr; - } - - inline Write(const Write &p_other) { - _write_access = godot::api->godot_pool_real_array_write_access_copy(p_other._write_access); - } - - inline ~Write() { - godot::api->godot_pool_real_array_write_access_destroy(_write_access); - } - - inline real_t *ptr() const { - return godot::api->godot_pool_real_array_write_access_ptr(_write_access); - } - - inline real_t &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Write &p_other) { - godot::api->godot_pool_real_array_write_access_operator_assign(_write_access, p_other._write_access); - } - }; - - PoolRealArray(); - PoolRealArray(const PoolRealArray &p_other); - PoolRealArray &operator=(const PoolRealArray &p_other); - - PoolRealArray(const Array &array); - - Read read() const; - - Write write(); - - void append(const real_t data); - - void append_array(const PoolRealArray &array); - - int insert(const int idx, const real_t data); - - void invert(); - - void push_back(const real_t data); - - void remove(const int idx); - - void resize(const int size); - - void set(const int idx, const real_t data); - - real_t operator[](const int idx); - - int size() const; - - ~PoolRealArray(); -}; - -class PoolStringArray { - godot_pool_string_array _godot_array; - - friend class String; - friend class Variant; - explicit inline PoolStringArray(godot_pool_string_array a) { - _godot_array = a; - } - -public: - class Read { - friend class PoolStringArray; - godot_pool_string_array_read_access *_read_access; - - public: - inline Read() { - _read_access = nullptr; - } - - inline Read(const Read &p_other) { - _read_access = godot::api->godot_pool_string_array_read_access_copy(p_other._read_access); - } - - inline ~Read() { - godot::api->godot_pool_string_array_read_access_destroy(_read_access); - } - - inline const String *ptr() const { - return (const String *)godot::api->godot_pool_string_array_read_access_ptr(_read_access); - } - - inline const String &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Read &p_other) { - godot::api->godot_pool_string_array_read_access_operator_assign(_read_access, p_other._read_access); - } - }; - - class Write { - friend class PoolStringArray; - godot_pool_string_array_write_access *_write_access; - - public: - inline Write() { - _write_access = nullptr; - } - - inline Write(const Write &p_other) { - _write_access = godot::api->godot_pool_string_array_write_access_copy(p_other._write_access); - } - - inline ~Write() { - godot::api->godot_pool_string_array_write_access_destroy(_write_access); - } - - inline String *ptr() const { - return (String *)godot::api->godot_pool_string_array_write_access_ptr(_write_access); - } - - inline String &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Write &p_other) { - godot::api->godot_pool_string_array_write_access_operator_assign(_write_access, p_other._write_access); - } - }; - - PoolStringArray(); - PoolStringArray(const PoolStringArray &p_other); - PoolStringArray &operator=(const PoolStringArray &p_other); - - PoolStringArray(const Array &array); - - Read read() const; - - Write write(); - - void append(const String &data); - - void append_array(const PoolStringArray &array); - - int insert(const int idx, const String &data); - - void invert(); - - void push_back(const String &data); - - void remove(const int idx); - - void resize(const int size); - - void set(const int idx, const String &data); - - const String operator[](const int idx); - - int size() const; - - ~PoolStringArray(); -}; - -class PoolVector2Array { - godot_pool_vector2_array _godot_array; - - friend class Variant; - explicit inline PoolVector2Array(godot_pool_vector2_array a) { - _godot_array = a; - } - -public: - class Read { - friend class PoolVector2Array; - godot_pool_vector2_array_read_access *_read_access; - - public: - inline Read() { - _read_access = nullptr; - } - - inline Read(const Read &p_other) { - _read_access = godot::api->godot_pool_vector2_array_read_access_copy(p_other._read_access); - } - - inline ~Read() { - godot::api->godot_pool_vector2_array_read_access_destroy(_read_access); - } - - inline const Vector2 *ptr() const { - return (const Vector2 *)godot::api->godot_pool_vector2_array_read_access_ptr(_read_access); - } - - inline const Vector2 &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Read &p_other) { - godot::api->godot_pool_vector2_array_read_access_operator_assign(_read_access, p_other._read_access); - } - }; - - class Write { - friend class PoolVector2Array; - godot_pool_vector2_array_write_access *_write_access; - - public: - inline Write() { - _write_access = nullptr; - } - - inline Write(const Write &p_other) { - _write_access = godot::api->godot_pool_vector2_array_write_access_copy(p_other._write_access); - } - - inline ~Write() { - godot::api->godot_pool_vector2_array_write_access_destroy(_write_access); - } - - inline Vector2 *ptr() const { - return (Vector2 *)godot::api->godot_pool_vector2_array_write_access_ptr(_write_access); - } - - inline Vector2 &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Write &p_other) { - godot::api->godot_pool_vector2_array_write_access_operator_assign(_write_access, p_other._write_access); - } - }; - - PoolVector2Array(); - PoolVector2Array(const PoolVector2Array &p_other); - PoolVector2Array &operator=(const PoolVector2Array &p_other); - - PoolVector2Array(const Array &array); - - Read read() const; - - Write write(); - - void append(const Vector2 &data); - - void append_array(const PoolVector2Array &array); - - int insert(const int idx, const Vector2 &data); - - void invert(); - - void push_back(const Vector2 &data); - - void remove(const int idx); - - void resize(const int size); - - void set(const int idx, const Vector2 &data); - - const Vector2 operator[](const int idx); - - int size() const; - - ~PoolVector2Array(); -}; - -class PoolVector3Array { - godot_pool_vector3_array _godot_array; - - friend class Variant; - explicit inline PoolVector3Array(godot_pool_vector3_array a) { - _godot_array = a; - } - -public: - class Read { - friend class PoolVector3Array; - godot_pool_vector3_array_read_access *_read_access; - - public: - inline Read() { - _read_access = nullptr; - } - - inline Read(const Read &p_other) { - _read_access = godot::api->godot_pool_vector3_array_read_access_copy(p_other._read_access); - } - - inline ~Read() { - godot::api->godot_pool_vector3_array_read_access_destroy(_read_access); - } - - inline const Vector3 *ptr() const { - return (const Vector3 *)godot::api->godot_pool_vector3_array_read_access_ptr(_read_access); - } - - inline const Vector3 &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Read &p_other) { - godot::api->godot_pool_vector3_array_read_access_operator_assign(_read_access, p_other._read_access); - } - }; - - class Write { - friend class PoolVector3Array; - godot_pool_vector3_array_write_access *_write_access; - - public: - inline Write() { - _write_access = nullptr; - } - - inline Write(const Write &p_other) { - _write_access = godot::api->godot_pool_vector3_array_write_access_copy(p_other._write_access); - } - - inline ~Write() { - godot::api->godot_pool_vector3_array_write_access_destroy(_write_access); - } - - inline Vector3 *ptr() const { - return (Vector3 *)godot::api->godot_pool_vector3_array_write_access_ptr(_write_access); - } - - inline Vector3 &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Write &p_other) { - godot::api->godot_pool_vector3_array_write_access_operator_assign(_write_access, p_other._write_access); - } - }; - - PoolVector3Array(); - PoolVector3Array(const PoolVector3Array &p_other); - PoolVector3Array &operator=(const PoolVector3Array &p_other); - - PoolVector3Array(const Array &array); - - Read read() const; - - Write write(); - - void append(const Vector3 &data); - - void append_array(const PoolVector3Array &array); - - int insert(const int idx, const Vector3 &data); - - void invert(); - - void push_back(const Vector3 &data); - - void remove(const int idx); - - void resize(const int size); - - void set(const int idx, const Vector3 &data); - - const Vector3 operator[](const int idx); - - int size() const; - - ~PoolVector3Array(); -}; - -class PoolColorArray { - godot_pool_color_array _godot_array; - - friend class Variant; - explicit inline PoolColorArray(godot_pool_color_array a) { - _godot_array = a; - } - -public: - class Read { - friend class PoolColorArray; - godot_pool_color_array_read_access *_read_access; - - public: - inline Read() { - _read_access = nullptr; - } - - inline Read(const Read &p_other) { - _read_access = godot::api->godot_pool_color_array_read_access_copy(p_other._read_access); - } - - inline ~Read() { - godot::api->godot_pool_color_array_read_access_destroy(_read_access); - } - - inline const Color *ptr() const { - return (const Color *)godot::api->godot_pool_color_array_read_access_ptr(_read_access); - } - - inline const Color &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Read &p_other) { - godot::api->godot_pool_color_array_read_access_operator_assign(_read_access, p_other._read_access); - } - }; - - class Write { - friend class PoolColorArray; - godot_pool_color_array_write_access *_write_access; - - public: - inline Write() { - _write_access = nullptr; - } - - inline Write(const Write &p_other) { - _write_access = godot::api->godot_pool_color_array_write_access_copy(p_other._write_access); - } - - inline ~Write() { - godot::api->godot_pool_color_array_write_access_destroy(_write_access); - } - - inline Color *ptr() const { - return (Color *)godot::api->godot_pool_color_array_write_access_ptr(_write_access); - } - - inline Color &operator[](int p_idx) const { - return ptr()[p_idx]; - } - - inline void operator=(const Write &p_other) { - godot::api->godot_pool_color_array_write_access_operator_assign(_write_access, p_other._write_access); - } - }; - - PoolColorArray(); - PoolColorArray(const PoolColorArray &p_other); - PoolColorArray &operator=(const PoolColorArray &p_other); - - PoolColorArray(const Array &array); - - Read read() const; - - Write write(); - - void append(const Color &data); - - void append_array(const PoolColorArray &array); - - int insert(const int idx, const Color &data); - - void invert(); - - void push_back(const Color &data); - - void remove(const int idx); - - void resize(const int size); - - void set(const int idx, const Color &data); - - const Color operator[](const int idx); - - int size() const; - - ~PoolColorArray(); -}; - -} // namespace godot - -#endif // POOLARRAYS_H diff --git a/include/core/Quat.hpp b/include/core/Quat.hpp deleted file mode 100644 index fba5ec62..00000000 --- a/include/core/Quat.hpp +++ /dev/null @@ -1,125 +0,0 @@ -/*************************************************************************/ -/* Quat.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef QUAT_H -#define QUAT_H - -#include - -#include "Vector3.hpp" - -// #include "Basis.h" - -namespace godot { - -class Quat { -public: - static const Quat IDENTITY; - - real_t x, y, z, w; - - real_t length_squared() const; - real_t length() const; - - void normalize(); - - Quat normalized() const; - - bool is_normalized() const; - - Quat inverse() const; - - void set_euler_xyz(const Vector3 &p_euler); - Vector3 get_euler_xyz() const; - void set_euler_yxz(const Vector3 &p_euler); - Vector3 get_euler_yxz() const; - - inline void set_euler(const Vector3 &p_euler) { set_euler_yxz(p_euler); } - inline Vector3 get_euler() const { return get_euler_yxz(); } - - real_t dot(const Quat &q) const; - - Quat slerp(const Quat &q, const real_t &t) const; - - Quat slerpni(const Quat &q, const real_t &t) const; - - Quat cubic_slerp(const Quat &q, const Quat &prep, const Quat &postq, const real_t &t) const; - - void get_axis_and_angle(Vector3 &r_axis, real_t &r_angle) const; - - void set_axis_angle(const Vector3 &axis, const float angle); - - void operator*=(const Quat &q); - Quat operator*(const Quat &q) const; - - Quat operator*(const Vector3 &v) const; - - Vector3 xform(const Vector3 &v) const; - - void operator+=(const Quat &q); - void operator-=(const Quat &q); - void operator*=(const real_t &s); - void operator/=(const real_t &s); - Quat operator+(const Quat &q2) const; - Quat operator-(const Quat &q2) const; - Quat operator-() const; - Quat operator*(const real_t &s) const; - Quat operator/(const real_t &s) const; - - bool operator==(const Quat &p_quat) const; - bool operator!=(const Quat &p_quat) const; - - operator String() const; - - inline void set(real_t p_x, real_t p_y, real_t p_z, real_t p_w) { - x = p_x; - y = p_y; - z = p_z; - w = p_w; - } - inline Quat(real_t p_x, real_t p_y, real_t p_z, real_t p_w) { - x = p_x; - y = p_y; - z = p_z; - w = p_w; - } - Quat(const Vector3 &axis, const real_t &angle); - - Quat(const Vector3 &v0, const Vector3 &v1); - - inline Quat() { - x = y = z = 0; - w = 1; - } -}; - -} // namespace godot - -#endif // QUAT_H diff --git a/include/core/Rect2.hpp b/include/core/Rect2.hpp deleted file mode 100644 index 9cd7d10f..00000000 --- a/include/core/Rect2.hpp +++ /dev/null @@ -1,160 +0,0 @@ -/*************************************************************************/ -/* Rect2.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef RECT2_H -#define RECT2_H - -#include "Vector2.hpp" - -#include - -#include - -namespace godot { - -class String; - -typedef Vector2 Size2; -typedef Vector2 Point2; - -struct Transform2D; - -struct Rect2 { - Point2 position; - Size2 size; - - inline const Vector2 &get_position() const { return position; } - inline void set_position(const Vector2 &p_position) { position = p_position; } - inline const Vector2 &get_size() const { return size; } - inline void set_size(const Vector2 &p_size) { size = p_size; } - - inline real_t get_area() const { return size.width * size.height; } - - inline bool intersects(const Rect2 &p_rect) const { - if (position.x >= (p_rect.position.x + p_rect.size.width)) - return false; - if ((position.x + size.width) <= p_rect.position.x) - return false; - if (position.y >= (p_rect.position.y + p_rect.size.height)) - return false; - if ((position.y + size.height) <= p_rect.position.y) - return false; - - return true; - } - - real_t distance_to(const Vector2 &p_point) const; - - bool intersects_transformed(const Transform2D &p_xform, const Rect2 &p_rect) const; - - bool intersects_segment(const Point2 &p_from, const Point2 &p_to, Point2 *r_position = nullptr, Point2 *r_normal = nullptr) const; - - inline bool encloses(const Rect2 &p_rect) const { - return (p_rect.position.x >= position.x) && (p_rect.position.y >= position.y) && - ((p_rect.position.x + p_rect.size.x) < (position.x + size.x)) && - ((p_rect.position.y + p_rect.size.y) < (position.y + size.y)); - } - - inline bool has_no_area() const { - return (size.x <= 0 || size.y <= 0); - } - Rect2 clip(const Rect2 &p_rect) const; - - Rect2 merge(const Rect2 &p_rect) const; - - inline bool has_point(const Point2 &p_point) const { - if (p_point.x < position.x) - return false; - if (p_point.y < position.y) - return false; - - if (p_point.x >= (position.x + size.x)) - return false; - if (p_point.y >= (position.y + size.y)) - return false; - - return true; - } - - inline bool no_area() const { return (size.width <= 0 || size.height <= 0); } - - inline bool operator==(const Rect2 &p_rect) const { return position == p_rect.position && size == p_rect.size; } - inline bool operator!=(const Rect2 &p_rect) const { return position != p_rect.position || size != p_rect.size; } - - inline Rect2 grow(real_t p_by) const { - Rect2 g = *this; - g.position.x -= p_by; - g.position.y -= p_by; - g.size.width += p_by * 2; - g.size.height += p_by * 2; - return g; - } - - inline Rect2 expand(const Vector2 &p_vector) const { - Rect2 r = *this; - r.expand_to(p_vector); - return r; - } - - inline void expand_to(const Vector2 &p_vector) { //in place function for speed - - Vector2 begin = position; - Vector2 end = position + size; - - if (p_vector.x < begin.x) - begin.x = p_vector.x; - if (p_vector.y < begin.y) - begin.y = p_vector.y; - - if (p_vector.x > end.x) - end.x = p_vector.x; - if (p_vector.y > end.y) - end.y = p_vector.y; - - position = begin; - size = end - begin; - } - - operator String() const; - - inline Rect2() {} - inline Rect2(real_t p_x, real_t p_y, real_t p_width, real_t p_height) { - position = Point2(p_x, p_y); - size = Size2(p_width, p_height); - } - inline Rect2(const Point2 &p_position, const Size2 &p_size) { - position = p_position; - size = p_size; - } -}; - -} // namespace godot - -#endif // RECT2_H diff --git a/include/core/String.hpp b/include/core/String.hpp deleted file mode 100644 index 91400c73..00000000 --- a/include/core/String.hpp +++ /dev/null @@ -1,184 +0,0 @@ -/*************************************************************************/ -/* String.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef STRING_H -#define STRING_H - -#include - -namespace godot { - -class NodePath; -class Variant; -class PoolByteArray; -class PoolIntArray; -class PoolRealArray; -class PoolStringArray; -class String; - -class CharString { - friend class String; - - godot_char_string _char_string; - -public: - ~CharString(); - - int length() const; - const char *get_data() const; -}; - -class String { - godot_string _godot_string; - - friend class Dictionary; - friend class NodePath; - friend class Variant; - explicit inline String(godot_string contents) : - _godot_string(contents) {} - -public: - String(); - String(const char *contents); - String(const wchar_t *contents); - String(const wchar_t c); - String(const String &other); - String(String &&other); - - ~String(); - - static String num(double p_num, int p_decimals = -1); - static String num_scientific(double p_num); - static String num_real(double p_num); - static String num_int64(int64_t p_num, int base = 10, bool capitalize_hex = false); - static String chr(godot_char_type p_char); - static String md5(const uint8_t *p_md5); - static String hex_encode_buffer(const uint8_t *p_buffer, int p_len); - - wchar_t &operator[](const int idx); - wchar_t operator[](const int idx) const; - - void operator=(const String &s); - void operator=(String &&s); - bool operator==(const String &s) const; - bool operator!=(const String &s) const; - String operator+(const String &s) const; - void operator+=(const String &s); - void operator+=(const wchar_t c); - bool operator<(const String &s) const; - bool operator<=(const String &s) const; - bool operator>(const String &s) const; - bool operator>=(const String &s) const; - - operator NodePath() const; - - int length() const; - const wchar_t *unicode_str() const; - char *alloc_c_string() const; - CharString utf8() const; - CharString ascii(bool p_extended = false) const; - - bool begins_with(const String &s) const; - bool begins_with_char_array(const char *p_char_array) const; - PoolStringArray bigrams() const; - String c_escape() const; - String c_unescape() const; - String capitalize() const; - bool empty() const; - bool ends_with(const String &text) const; - void erase(int position, int chars); - int find(String what, int from = 0) const; - int find_last(String what) const; - int findn(String what, int from = 0) const; - String format(Variant values) const; - String format(Variant values, String placeholder) const; - String get_base_dir() const; - String get_basename() const; - String get_extension() const; - String get_file() const; - int hash() const; - int hex_to_int() const; - String insert(int position, String what) const; - bool is_abs_path() const; - bool is_rel_path() const; - bool is_subsequence_of(String text) const; - bool is_subsequence_ofi(String text) const; - bool is_valid_float() const; - bool is_valid_html_color() const; - bool is_valid_identifier() const; - bool is_valid_integer() const; - bool is_valid_ip_address() const; - String json_escape() const; - String left(int position) const; - bool match(String expr) const; - bool matchn(String expr) const; - PoolByteArray md5_buffer() const; - String md5_text() const; - int ord_at(int at) const; - String pad_decimals(int digits) const; - String pad_zeros(int digits) const; - String percent_decode() const; - String percent_encode() const; - String plus_file(String file) const; - String replace(String what, String forwhat) const; - String replacen(String what, String forwhat) const; - int rfind(String what, int from = -1) const; - int rfindn(String what, int from = -1) const; - String right(int position) const; - PoolByteArray sha256_buffer() const; - String sha256_text() const; - float similarity(String text) const; - PoolStringArray split(String divisor, bool allow_empty = true) const; - PoolIntArray split_ints(String divisor, bool allow_empty = true) const; - PoolRealArray split_floats(String divisor, bool allow_empty = true) const; - String strip_edges(bool left = true, bool right = true) const; - String substr(int from, int len) const; - float to_float() const; - int64_t to_int() const; - String to_lower() const; - String to_upper() const; - String xml_escape() const; - String xml_unescape() const; - signed char casecmp_to(String p_str) const; - signed char nocasecmp_to(String p_str) const; - signed char naturalnocasecmp_to(String p_str) const; - String dedent() const; - PoolStringArray rsplit(const String &divisor, const bool allow_empty = true, const int maxsplit = 0) const; - String rstrip(const String &chars) const; - String trim_prefix(const String &prefix) const; - String trim_suffix(const String &suffix) const; -}; - -String operator+(const char *a, const String &b); -String operator+(const wchar_t *a, const String &b); - -} // namespace godot - -#endif // STRING_H diff --git a/include/core/Transform.hpp b/include/core/Transform.hpp deleted file mode 100644 index 9dea7f2c..00000000 --- a/include/core/Transform.hpp +++ /dev/null @@ -1,121 +0,0 @@ -/*************************************************************************/ -/* Transform.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef TRANSFORM_H -#define TRANSFORM_H - -#include "Basis.hpp" - -#include "AABB.hpp" -#include "Plane.hpp" - -namespace godot { - -class Transform { -public: - static const Transform IDENTITY; - static const Transform FLIP_X; - static const Transform FLIP_Y; - static const Transform FLIP_Z; - - Basis basis; - Vector3 origin; - - void invert(); - Transform inverse() const; - - void affine_invert(); - Transform affine_inverse() const; - - Transform rotated(const Vector3 &p_axis, real_t p_phi) const; - - void rotate(const Vector3 &p_axis, real_t p_phi); - void rotate_basis(const Vector3 &p_axis, real_t p_phi); - - void set_look_at(const Vector3 &p_eye, const Vector3 &p_target, const Vector3 &p_up); - Transform looking_at(const Vector3 &p_target, const Vector3 &p_up) const; - - void scale(const Vector3 &p_scale); - Transform scaled(const Vector3 &p_scale) const; - void scale_basis(const Vector3 &p_scale); - void translate(real_t p_tx, real_t p_ty, real_t p_tz); - void translate(const Vector3 &p_translation); - Transform translated(const Vector3 &p_translation) const; - - inline const Basis &get_basis() const { return basis; } - inline void set_basis(const Basis &p_basis) { basis = p_basis; } - - inline const Vector3 &get_origin() const { return origin; } - inline void set_origin(const Vector3 &p_origin) { origin = p_origin; } - - void orthonormalize(); - Transform orthonormalized() const; - - bool operator==(const Transform &p_transform) const; - bool operator!=(const Transform &p_transform) const; - - Vector3 xform(const Vector3 &p_vector) const; - Vector3 xform_inv(const Vector3 &p_vector) const; - - Plane xform(const Plane &p_plane) const; - Plane xform_inv(const Plane &p_plane) const; - - AABB xform(const AABB &p_aabb) const; - AABB xform_inv(const AABB &p_aabb) const; - - void operator*=(const Transform &p_transform); - Transform operator*(const Transform &p_transform) const; - - inline Vector3 operator*(const Vector3 &p_vector) const { - return Vector3( - basis.elements[0].dot(p_vector) + origin.x, - basis.elements[1].dot(p_vector) + origin.y, - basis.elements[2].dot(p_vector) + origin.z); - } - - Transform interpolate_with(const Transform &p_transform, real_t p_c) const; - - Transform inverse_xform(const Transform &t) const; - - void set(real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz, real_t tx, real_t ty, real_t tz); - - operator String() const; - - inline Transform(real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz, real_t tx, real_t ty, real_t tz) { - set(xx, xy, xz, yx, yy, yz, zx, zy, zz, tx, ty, tz); - } - - Transform(const Basis &p_basis, const Vector3 &p_origin = Vector3()); - inline Transform() {} -}; - -} // namespace godot - -#endif // TRANSFORM_H diff --git a/include/core/Transform2D.hpp b/include/core/Transform2D.hpp deleted file mode 100644 index 659ac1a0..00000000 --- a/include/core/Transform2D.hpp +++ /dev/null @@ -1,136 +0,0 @@ -/*************************************************************************/ -/* Transform2D.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef TRANSFORM2D_H -#define TRANSFORM2D_H - -#include "Vector2.hpp" - -namespace godot { - -typedef Vector2 Size2; - -struct Rect2; - -struct Transform2D { - static const Transform2D IDENTITY; - static const Transform2D FLIP_X; - static const Transform2D FLIP_Y; - - // Warning #1: basis of Transform2D is stored differently from Basis. In terms of elements array, the basis matrix looks like "on paper": - // M = (elements[0][0] elements[1][0]) - // (elements[0][1] elements[1][1]) - // This is such that the columns, which can be interpreted as basis vectors of the coordinate system "painted" on the object, can be accessed as elements[i]. - // Note that this is the opposite of the indices in mathematical texts, meaning: $M_{12}$ in a math book corresponds to elements[1][0] here. - // This requires additional care when working with explicit indices. - // See https://en.wikipedia.org/wiki/Row-_and_column-major_order for further reading. - - // Warning #2: 2D be aware that unlike 3D code, 2D code uses a left-handed coordinate system: Y-axis points down, - // and angle is measure from +X to +Y in a clockwise-fashion. - - Vector2 elements[3]; - - inline real_t tdotx(const Vector2 &v) const { return elements[0][0] * v.x + elements[1][0] * v.y; } - inline real_t tdoty(const Vector2 &v) const { return elements[0][1] * v.x + elements[1][1] * v.y; } - - inline const Vector2 &operator[](int p_idx) const { return elements[p_idx]; } - inline Vector2 &operator[](int p_idx) { return elements[p_idx]; } - - inline Vector2 get_axis(int p_axis) const { - ERR_FAIL_INDEX_V(p_axis, 3, Vector2()); - return elements[p_axis]; - } - inline void set_axis(int p_axis, const Vector2 &p_vec) { - ERR_FAIL_INDEX(p_axis, 3); - elements[p_axis] = p_vec; - } - - void invert(); - Transform2D inverse() const; - - void affine_invert(); - Transform2D affine_inverse() const; - - void set_rotation(real_t p_phi); - real_t get_rotation() const; - void set_rotation_and_scale(real_t p_phi, const Size2 &p_scale); - void rotate(real_t p_phi); - - void scale(const Size2 &p_scale); - void scale_basis(const Size2 &p_scale); - void translate(real_t p_tx, real_t p_ty); - void translate(const Vector2 &p_translation); - - real_t basis_determinant() const; - - Size2 get_scale() const; - - inline const Vector2 &get_origin() const { return elements[2]; } - inline void set_origin(const Vector2 &p_origin) { elements[2] = p_origin; } - - Transform2D scaled(const Size2 &p_scale) const; - Transform2D basis_scaled(const Size2 &p_scale) const; - Transform2D translated(const Vector2 &p_offset) const; - Transform2D rotated(real_t p_phi) const; - - Transform2D untranslated() const; - - void orthonormalize(); - Transform2D orthonormalized() const; - - bool operator==(const Transform2D &p_transform) const; - bool operator!=(const Transform2D &p_transform) const; - - void operator*=(const Transform2D &p_transform); - Transform2D operator*(const Transform2D &p_transform) const; - - Transform2D interpolate_with(const Transform2D &p_transform, real_t p_c) const; - - Vector2 basis_xform(const Vector2 &p_vec) const; - Vector2 basis_xform_inv(const Vector2 &p_vec) const; - Vector2 xform(const Vector2 &p_vec) const; - Vector2 xform_inv(const Vector2 &p_vec) const; - Rect2 xform(const Rect2 &p_vec) const; - Rect2 xform_inv(const Rect2 &p_vec) const; - - operator String() const; - - Transform2D(real_t xx, real_t xy, real_t yx, real_t yy, real_t ox, real_t oy); - - Transform2D(real_t p_rot, const Vector2 &p_pos); - inline Transform2D() { - elements[0][0] = 1.0; - elements[1][1] = 1.0; - } -}; - -} // namespace godot - -#endif // TRANSFORM2D_H diff --git a/include/core/Variant.hpp b/include/core/Variant.hpp deleted file mode 100644 index 7f388d39..00000000 --- a/include/core/Variant.hpp +++ /dev/null @@ -1,304 +0,0 @@ -/*************************************************************************/ -/* Variant.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef VARIANT_H -#define VARIANT_H - -#include - -#include "Defs.hpp" - -#include "AABB.hpp" -#include "Basis.hpp" -#include "Color.hpp" -#include "NodePath.hpp" -#include "Plane.hpp" -#include "PoolArrays.hpp" -#include "Quat.hpp" -#include "RID.hpp" -#include "Rect2.hpp" -#include "String.hpp" -#include "Transform.hpp" -#include "Transform2D.hpp" -#include "Vector2.hpp" -#include "Vector3.hpp" - -namespace godot { - -class Dictionary; - -class Array; - -class Variant { - godot_variant _godot_variant; - - friend class Array; - inline explicit Variant(godot_variant v) { - _godot_variant = v; - } - -public: - enum Type { - - NIL, - - // atomic types - BOOL, - INT, - REAL, - STRING, - - // math types - - VECTOR2, // 5 - RECT2, - VECTOR3, - TRANSFORM2D, - PLANE, - QUAT, // 10 - RECT3, //sorry naming convention fail :( not like it's used often - BASIS, - TRANSFORM, - - // misc types - COLOR, - NODE_PATH, // 15 - _RID, - OBJECT, - DICTIONARY, - ARRAY, - - // arrays - POOL_BYTE_ARRAY, // 20 - POOL_INT_ARRAY, - POOL_REAL_ARRAY, - POOL_STRING_ARRAY, - POOL_VECTOR2_ARRAY, - POOL_VECTOR3_ARRAY, // 25 - POOL_COLOR_ARRAY, - - VARIANT_MAX - - }; - - enum Operator { - - //comparation - OP_EQUAL, - OP_NOT_EQUAL, - OP_LESS, - OP_LESS_EQUAL, - OP_GREATER, - OP_GREATER_EQUAL, - - //mathematic - OP_ADD, - OP_SUBSTRACT, - OP_MULTIPLY, - OP_DIVIDE, - OP_NEGATE, - OP_POSITIVE, - OP_MODULE, - OP_STRING_CONCAT, - - //bitwise - OP_SHIFT_LEFT, - OP_SHIFT_RIGHT, - OP_BIT_AND, - OP_BIT_OR, - OP_BIT_XOR, - OP_BIT_NEGATE, - - //logic - OP_AND, - OP_OR, - OP_XOR, - OP_NOT, - - //containment - OP_IN, - OP_MAX - - }; - - Variant(); - - Variant(const Variant &v); - - Variant(bool p_bool); - - Variant(signed int p_int); - - Variant(unsigned int p_int); - - Variant(signed short p_short); - - inline Variant(unsigned short p_short) : - Variant((unsigned int)p_short) {} - - inline Variant(signed char p_char) : - Variant((signed int)p_char) {} - - inline Variant(unsigned char p_char) : - Variant((unsigned int)p_char) {} - Variant(int64_t p_char); - - Variant(uint64_t p_char); - - Variant(float p_float); - - Variant(double p_double); - - Variant(const String &p_string); - - Variant(const char *const p_cstring); - - Variant(const wchar_t *p_wstring); - - Variant(const Vector2 &p_vector2); - - Variant(const Rect2 &p_rect2); - - Variant(const Vector3 &p_vector3); - - Variant(const Plane &p_plane); - - Variant(const AABB &p_aabb); - - Variant(const Quat &p_quat); - - Variant(const Basis &p_transform); - - Variant(const Transform2D &p_transform); - - Variant(const Transform &p_transform); - - Variant(const Color &p_color); - - Variant(const NodePath &p_path); - - Variant(const RID &p_rid); - - Variant(const Object *p_object); - - Variant(const Dictionary &p_dictionary); - - Variant(const Array &p_array); - - Variant(const PoolByteArray &p_raw_array); - - Variant(const PoolIntArray &p_int_array); - - Variant(const PoolRealArray &p_real_array); - - Variant(const PoolStringArray &p_string_array); - - Variant(const PoolVector2Array &p_vector2_array); - - Variant(const PoolVector3Array &p_vector3_array); - - Variant(const PoolColorArray &p_color_array); - - Variant &operator=(const Variant &v); - - operator bool() const; - operator signed int() const; - operator unsigned int() const; - operator signed short() const; - operator unsigned short() const; - operator signed char() const; - operator unsigned char() const; - operator int64_t() const; - operator uint64_t() const; - - operator wchar_t() const; - - operator float() const; - - operator double() const; - operator String() const; - operator Vector2() const; - operator Rect2() const; - operator Vector3() const; - operator Plane() const; - operator AABB() const; - operator Quat() const; - operator Basis() const; - operator Transform() const; - operator Transform2D() const; - - operator Color() const; - - operator NodePath() const; - operator RID() const; - operator godot_object *() const; - - template - operator T *() const { return static_cast(T::___get_from_variant(*this)); } - - operator Dictionary() const; - operator Array() const; - - operator PoolByteArray() const; - operator PoolIntArray() const; - operator PoolRealArray() const; - operator PoolStringArray() const; - operator PoolVector2Array() const; - operator PoolVector3Array() const; - operator PoolColorArray() const; - - Type get_type() const; - - Variant call(const String &method, const Variant **args, const int arg_count); - - bool has_method(const String &method); - - bool operator==(const Variant &b) const; - - bool operator!=(const Variant &b) const; - - bool operator<(const Variant &b) const; - - bool operator<=(const Variant &b) const; - - bool operator>(const Variant &b) const; - - bool operator>=(const Variant &b) const; - - bool hash_compare(const Variant &b) const; - - bool booleanize() const; - - ~Variant(); -}; - -} // namespace godot - -#endif // VARIANT_H diff --git a/include/core/Vector2.hpp b/include/core/Vector2.hpp deleted file mode 100644 index a3a8897a..00000000 --- a/include/core/Vector2.hpp +++ /dev/null @@ -1,306 +0,0 @@ -/*************************************************************************/ -/* Vector2.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef VECTOR2_H -#define VECTOR2_H - -#include - -#include "Defs.hpp" - -#include - -namespace godot { - -class String; - -struct Vector2 { - enum Axis { - AXIS_X = 0, - AXIS_Y, - AXIS_COUNT - }; - - static const Vector2 ZERO; - static const Vector2 ONE; - static const Vector2 INF; - - // Coordinate system of the 2D engine - static const Vector2 LEFT; - static const Vector2 RIGHT; - static const Vector2 UP; - static const Vector2 DOWN; - - union { - real_t x; - real_t width; - }; - union { - real_t y; - real_t height; - }; - - inline Vector2(real_t p_x, real_t p_y) { - x = p_x; - y = p_y; - } - - inline Vector2() { - x = 0; - y = 0; - } - - inline real_t &operator[](int p_idx) { - return p_idx ? y : x; - } - - inline const real_t &operator[](int p_idx) const { - return p_idx ? y : x; - } - - inline Vector2 operator+(const Vector2 &p_v) const { - return Vector2(x + p_v.x, y + p_v.y); - } - - inline void operator+=(const Vector2 &p_v) { - x += p_v.x; - y += p_v.y; - } - - inline Vector2 operator-(const Vector2 &p_v) const { - return Vector2(x - p_v.x, y - p_v.y); - } - - inline void operator-=(const Vector2 &p_v) { - x -= p_v.x; - y -= p_v.y; - } - - inline Vector2 operator*(const Vector2 &p_v1) const { - return Vector2(x * p_v1.x, y * p_v1.y); - } - - inline Vector2 operator*(const real_t &rvalue) const { - return Vector2(x * rvalue, y * rvalue); - } - - inline void operator*=(const real_t &rvalue) { - x *= rvalue; - y *= rvalue; - } - - inline void operator*=(const Vector2 &rvalue) { - *this = *this * rvalue; - } - - inline Vector2 operator/(const Vector2 &p_v1) const { - return Vector2(x / p_v1.x, y / p_v1.y); - } - - inline Vector2 operator/(const real_t &rvalue) const { - return Vector2(x / rvalue, y / rvalue); - } - - inline void operator/=(const real_t &rvalue) { - x /= rvalue; - y /= rvalue; - } - - inline Vector2 operator-() const { - return Vector2(-x, -y); - } - - bool operator==(const Vector2 &p_vec2) const; - - bool operator!=(const Vector2 &p_vec2) const; - - inline bool operator<(const Vector2 &p_vec2) const { return (x == p_vec2.x) ? (y < p_vec2.y) : (x < p_vec2.x); } - inline bool operator<=(const Vector2 &p_vec2) const { return (x == p_vec2.x) ? (y <= p_vec2.y) : (x <= p_vec2.x); } - - inline void normalize() { - real_t l = x * x + y * y; - if (l != 0) { - l = sqrt(l); - x /= l; - y /= l; - } - } - - inline Vector2 normalized() const { - Vector2 v = *this; - v.normalize(); - return v; - } - - inline real_t length() const { - return sqrt(x * x + y * y); - } - - inline real_t length_squared() const { - return x * x + y * y; - } - - inline real_t distance_to(const Vector2 &p_vector2) const { - return sqrt((x - p_vector2.x) * (x - p_vector2.x) + (y - p_vector2.y) * (y - p_vector2.y)); - } - - inline real_t distance_squared_to(const Vector2 &p_vector2) const { - return (x - p_vector2.x) * (x - p_vector2.x) + (y - p_vector2.y) * (y - p_vector2.y); - } - - inline real_t angle_to(const Vector2 &p_vector2) const { - return atan2(cross(p_vector2), dot(p_vector2)); - } - - inline real_t angle_to_point(const Vector2 &p_vector2) const { - return atan2(y - p_vector2.y, x - p_vector2.x); - } - - inline Vector2 direction_to(const Vector2 &p_b) const { - Vector2 ret(p_b.x - x, p_b.y - y); - ret.normalize(); - return ret; - } - - inline real_t dot(const Vector2 &p_other) const { - return x * p_other.x + y * p_other.y; - } - - inline real_t cross(const Vector2 &p_other) const { - return x * p_other.y - y * p_other.x; - } - - inline Vector2 cross(real_t p_other) const { - return Vector2(p_other * y, -p_other * x); - } - - Vector2 project(const Vector2 &p_vec) const; - - Vector2 plane_project(real_t p_d, const Vector2 &p_vec) const; - - Vector2 clamped(real_t p_len) const; - - static inline Vector2 linear_interpolate(const Vector2 &p_a, const Vector2 &p_b, real_t p_t) { - Vector2 res = p_a; - res.x += (p_t * (p_b.x - p_a.x)); - res.y += (p_t * (p_b.y - p_a.y)); - return res; - } - - inline Vector2 linear_interpolate(const Vector2 &p_b, real_t p_t) const { - Vector2 res = *this; - res.x += (p_t * (p_b.x - x)); - res.y += (p_t * (p_b.y - y)); - return res; - } - - Vector2 cubic_interpolate(const Vector2 &p_b, const Vector2 &p_pre_a, const Vector2 &p_post_b, real_t p_t) const; - - Vector2 move_toward(const Vector2 &p_to, const real_t p_delta) const { - Vector2 v = *this; - Vector2 vd = p_to - v; - real_t len = vd.length(); - return len <= p_delta || len < CMP_EPSILON ? p_to : v + vd / len * p_delta; - } - - inline Vector2 slide(const Vector2 &p_vec) const { - return p_vec - *this * this->dot(p_vec); - } - - inline Vector2 bounce(const Vector2 &p_normal) const { - return -reflect(p_normal); - } - - inline Vector2 reflect(const Vector2 &p_normal) const { - return -(*this - p_normal * this->dot(p_normal) * 2.0); - } - - inline real_t angle() const { - return atan2(y, x); - } - - inline void set_rotation(real_t p_radians) { - x = cosf(p_radians); - y = sinf(p_radians); - } - - inline Vector2 abs() const { - return Vector2(fabs(x), fabs(y)); - } - - inline Vector2 rotated(real_t p_by) const { - Vector2 v; - v.set_rotation(angle() + p_by); - v *= length(); - return v; - } - - inline Vector2 tangent() const { - return Vector2(y, -x); - } - - inline Vector2 floor() const { - return Vector2(Math::floor(x), Math::floor(y)); - } - - inline Vector2 snapped(const Vector2 &p_by) const { - return Vector2( - Math::stepify(x, p_by.x), - Math::stepify(y, p_by.y)); - } - - inline real_t aspect() const { return width / height; } - - operator String() const; -}; - -inline Vector2 operator*(real_t p_scalar, const Vector2 &p_vec) { - return p_vec * p_scalar; -} - -namespace Math { - -// Convenience, since they exist in GDScript - -inline Vector2 cartesian2polar(Vector2 v) { - return Vector2(Math::sqrt(v.x * v.x + v.y * v.y), Math::atan2(v.y, v.x)); -} - -inline Vector2 polar2cartesian(Vector2 v) { - // x == radius - // y == angle - return Vector2(v.x * Math::cos(v.y), v.x * Math::sin(v.y)); -} - -} // namespace Math - -} // namespace godot - -#endif // VECTOR2_H diff --git a/include/core/Vector3.hpp b/include/core/Vector3.hpp deleted file mode 100644 index aa28c615..00000000 --- a/include/core/Vector3.hpp +++ /dev/null @@ -1,342 +0,0 @@ -/*************************************************************************/ -/* Vector3.hpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#ifndef VECTOR3_H -#define VECTOR3_H - -#include - -#include "Defs.hpp" - -#include "String.hpp" - -#include - -namespace godot { - -class Basis; - -struct Vector3 { - enum Axis { - AXIS_X, - AXIS_Y, - AXIS_Z, - AXIS_COUNT - }; - - static const Vector3 ZERO; - static const Vector3 ONE; - static const Vector3 INF; - - // Coordinate system of the 3D engine - static const Vector3 LEFT; - static const Vector3 RIGHT; - static const Vector3 UP; - static const Vector3 DOWN; - static const Vector3 FORWARD; - static const Vector3 BACK; - - union { - struct { - real_t x; - real_t y; - real_t z; - }; - - real_t coord[3]; // Not for direct access, use [] operator instead - }; - - inline Vector3(real_t x, real_t y, real_t z) { - this->x = x; - this->y = y; - this->z = z; - } - - inline Vector3() { - this->x = 0; - this->y = 0; - this->z = 0; - } - - inline const real_t &operator[](int p_axis) const { - return coord[p_axis]; - } - - inline real_t &operator[](int p_axis) { - return coord[p_axis]; - } - - inline Vector3 &operator+=(const Vector3 &p_v) { - x += p_v.x; - y += p_v.y; - z += p_v.z; - return *this; - } - - inline Vector3 operator+(const Vector3 &p_v) const { - Vector3 v = *this; - v += p_v; - return v; - } - - inline Vector3 &operator-=(const Vector3 &p_v) { - x -= p_v.x; - y -= p_v.y; - z -= p_v.z; - return *this; - } - - inline Vector3 operator-(const Vector3 &p_v) const { - Vector3 v = *this; - v -= p_v; - return v; - } - - inline Vector3 &operator*=(const Vector3 &p_v) { - x *= p_v.x; - y *= p_v.y; - z *= p_v.z; - return *this; - } - - inline Vector3 operator*(const Vector3 &p_v) const { - Vector3 v = *this; - v *= p_v; - return v; - } - - inline Vector3 &operator/=(const Vector3 &p_v) { - x /= p_v.x; - y /= p_v.y; - z /= p_v.z; - return *this; - } - - inline Vector3 operator/(const Vector3 &p_v) const { - Vector3 v = *this; - v /= p_v; - return v; - } - - inline Vector3 &operator*=(real_t p_scalar) { - *this *= Vector3(p_scalar, p_scalar, p_scalar); - return *this; - } - - inline Vector3 operator*(real_t p_scalar) const { - Vector3 v = *this; - v *= p_scalar; - return v; - } - - inline Vector3 &operator/=(real_t p_scalar) { - *this /= Vector3(p_scalar, p_scalar, p_scalar); - return *this; - } - - inline Vector3 operator/(real_t p_scalar) const { - Vector3 v = *this; - v /= p_scalar; - return v; - } - - inline Vector3 operator-() const { - return Vector3(-x, -y, -z); - } - - inline bool operator==(const Vector3 &p_v) const { - return (x == p_v.x && y == p_v.y && z == p_v.z); - } - - inline bool operator!=(const Vector3 &p_v) const { - return (x != p_v.x || y != p_v.y || z != p_v.z); - } - - bool operator<(const Vector3 &p_v) const; - - bool operator<=(const Vector3 &p_v) const; - - inline Vector3 abs() const { - return Vector3(::fabs(x), ::fabs(y), ::fabs(z)); - } - - inline Vector3 ceil() const { - return Vector3(::ceil(x), ::ceil(y), ::ceil(z)); - } - - inline Vector3 cross(const Vector3 &b) const { - Vector3 ret( - (y * b.z) - (z * b.y), - (z * b.x) - (x * b.z), - (x * b.y) - (y * b.x)); - - return ret; - } - - inline Vector3 linear_interpolate(const Vector3 &p_b, real_t p_t) const { - return Vector3( - x + (p_t * (p_b.x - x)), - y + (p_t * (p_b.y - y)), - z + (p_t * (p_b.z - z))); - } - - inline Vector3 slerp(const Vector3 &p_b, real_t p_t) const { - real_t theta = angle_to(p_b); - return rotated(cross(p_b).normalized(), theta * p_t); - } - - Vector3 cubic_interpolate(const Vector3 &b, const Vector3 &pre_a, const Vector3 &post_b, const real_t t) const; - - Vector3 move_toward(const Vector3 &p_to, const real_t p_delta) const { - Vector3 v = *this; - Vector3 vd = p_to - v; - real_t len = vd.length(); - return len <= p_delta || len < CMP_EPSILON ? p_to : v + vd / len * p_delta; - } - - Vector3 bounce(const Vector3 &p_normal) const { - return -reflect(p_normal); - } - - inline real_t length() const { - real_t x2 = x * x; - real_t y2 = y * y; - real_t z2 = z * z; - - return ::sqrt(x2 + y2 + z2); - } - - inline real_t length_squared() const { - real_t x2 = x * x; - real_t y2 = y * y; - real_t z2 = z * z; - - return x2 + y2 + z2; - } - - inline real_t distance_squared_to(const Vector3 &b) const { - return (b - *this).length_squared(); - } - - inline real_t distance_to(const Vector3 &b) const { - return (b - *this).length(); - } - - inline real_t dot(const Vector3 &b) const { - return x * b.x + y * b.y + z * b.z; - } - - inline Vector3 project(const Vector3 &p_b) const { - return p_b * (dot(p_b) / p_b.length_squared()); - } - - inline real_t angle_to(const Vector3 &b) const { - return std::atan2(cross(b).length(), dot(b)); - } - - inline Vector3 direction_to(const Vector3 &p_b) const { - Vector3 ret(p_b.x - x, p_b.y - y, p_b.z - z); - ret.normalize(); - return ret; - } - - inline Vector3 floor() const { - return Vector3(::floor(x), ::floor(y), ::floor(z)); - } - - inline Vector3 inverse() const { - return Vector3(1.f / x, 1.f / y, 1.f / z); - } - - inline bool is_normalized() const { - return std::abs(length_squared() - 1.f) < 0.00001f; - } - - Basis outer(const Vector3 &b) const; - - int max_axis() const; - - int min_axis() const; - - inline void normalize() { - real_t l = length(); - if (l == 0) { - x = y = z = 0; - } else { - x /= l; - y /= l; - z /= l; - } - } - - inline Vector3 normalized() const { - Vector3 v = *this; - v.normalize(); - return v; - } - - inline Vector3 reflect(const Vector3 &p_normal) const { - return -(*this - p_normal * this->dot(p_normal) * 2.0); - } - - inline Vector3 rotated(const Vector3 &axis, const real_t phi) const { - Vector3 v = *this; - v.rotate(axis, phi); - return v; - } - - void rotate(const Vector3 &p_axis, real_t p_phi); - - inline Vector3 slide(const Vector3 &by) const { - return *this - by * this->dot(by); - } - - void snap(real_t p_val); - - inline Vector3 snapped(const float by) { - Vector3 v = *this; - v.snap(by); - return v; - } - - operator String() const; -}; - -inline Vector3 operator*(real_t p_scalar, const Vector3 &p_vec) { - return p_vec * p_scalar; -} - -inline Vector3 vec3_cross(const Vector3 &p_a, const Vector3 &p_b) { - return p_a.cross(p_b); -} - -} // namespace godot - -#endif // VECTOR3_H diff --git a/include/gen/.gitignore b/include/gen/.gitignore deleted file mode 100644 index d6b7ef32..00000000 --- a/include/gen/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/include/core/Ref.hpp b/include/godot_cpp/classes/ref.hpp similarity index 59% rename from include/core/Ref.hpp rename to include/godot_cpp/classes/ref.hpp index 77a0aa48..2140ef35 100644 --- a/include/core/Ref.hpp +++ b/include/godot_cpp/classes/ref.hpp @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Ref.hpp */ +/* ref.hpp */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -28,82 +28,90 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef REF_H -#define REF_H +#ifndef GODOT_CPP_REF_HPP +#define GODOT_CPP_REF_HPP -#include "GodotGlobal.hpp" -#include "Reference.hpp" -#include "Variant.hpp" +#include + +#include +#include +#include +#include namespace godot { -// Replicates Godot's Ref behavior -// Rewritten from f5234e70be7dec4930c2d5a0e829ff480d044b1d. +// Helper class for RefCounted objects, same as Godot one. + +class RefCounted; + template class Ref { - // TODO For this nice check to work, each class must actually #include Reference classes mentionned in its methods, - // which might be annoying for coders who prefer to forward-declare to reduce compile times - // static_assert(std::is_base_of::value, - // "Ref can only be used with classes deriving from Reference"); - T *reference = nullptr; void ref(const Ref &p_from) { - if (p_from.reference == reference) + if (p_from.reference == reference) { return; + } unref(); reference = p_from.reference; - if (reference) + if (reference) { reference->reference(); + } } void ref_pointer(T *p_ref) { - ERR_FAIL_COND(p_ref == nullptr); + ERR_FAIL_COND(!p_ref); - if (p_ref->init_ref()) + if (p_ref->init_ref()) { reference = p_ref; + } } public: - inline bool operator<(const Ref &p_r) const { + _FORCE_INLINE_ bool operator==(const T *p_ptr) const { + return reference == p_ptr; + } + _FORCE_INLINE_ bool operator!=(const T *p_ptr) const { + return reference != p_ptr; + } + + _FORCE_INLINE_ bool operator<(const Ref &p_r) const { return reference < p_r.reference; } - inline bool operator==(const Ref &p_r) const { + _FORCE_INLINE_ bool operator==(const Ref &p_r) const { return reference == p_r.reference; } - inline bool operator!=(const Ref &p_r) const { + _FORCE_INLINE_ bool operator!=(const Ref &p_r) const { return reference != p_r.reference; } - inline T *operator->() { + _FORCE_INLINE_ T *operator->() { return reference; } - inline T *operator*() { + _FORCE_INLINE_ T *operator*() { return reference; } - inline const T *operator->() const { + _FORCE_INLINE_ const T *operator->() const { return reference; } - inline const T *ptr() const { + _FORCE_INLINE_ const T *ptr() const { return reference; } - inline T *ptr() { + _FORCE_INLINE_ T *ptr() { return reference; } - inline const T *operator*() const { + _FORCE_INLINE_ const T *operator*() const { return reference; } operator Variant() const { - // Note: the C API handles the cases where the object is a Reference, - // so the Variant will be correctly constructed with a RefPtr engine-side - return Variant((Object *)reference); + return Variant(reference); } void operator=(const Ref &p_from) { @@ -112,8 +120,8 @@ public: template void operator=(const Ref &p_from) { - Reference *refb = const_cast(static_cast(p_from.ptr())); - if (refb == nullptr) { + RefCounted *refb = const_cast(static_cast(p_from.ptr())); + if (!refb) { unref(); return; } @@ -124,79 +132,77 @@ public: } void operator=(const Variant &p_variant) { - Object *refb = T::___get_from_variant(p_variant); - if (refb == nullptr) { - unref(); - return; - } - Ref r; - r.reference = Object::cast_to(refb); - ref(r); - r.reference = nullptr; - } + // FIXME + // Object *object = p_variant.get_validated_object(); - Ref(const Ref &p_from) { - reference = nullptr; - ref(p_from); + // if (object == reference) { + // return; + // } + + // unref(); + + // if (!object) { + // return; + // } + + // T *r = Object::cast_to(object); + // if (r && r->reference()) { + // reference = r; + // } } template - Ref(const Ref &p_from) { - reference = nullptr; - Reference *refb = const_cast(static_cast(p_from.ptr())); - if (refb == nullptr) { - unref(); + void reference_ptr(T_Other *p_ptr) { + if (reference == p_ptr) { return; } - Ref r; - r.reference = Object::cast_to(refb); - ref(r); - r.reference = nullptr; + unref(); + + T *r = Object::cast_to(p_ptr); + if (r) { + ref_pointer(r); + } + } + + Ref(const Ref &p_from) { + ref(p_from); } Ref(T *p_reference) { - if (p_reference) + if (p_reference) { ref_pointer(p_reference); - else - reference = nullptr; + } } Ref(const Variant &p_variant) { - reference = nullptr; - Object *refb = T::___get_from_variant(p_variant); - if (refb == nullptr) { - unref(); - return; - } - Ref r; - r.reference = Object::cast_to(refb); - ref(r); - r.reference = nullptr; + // FIXME + // Object *object = p_variant.get_validated_object(); + + // if (!object) { + // return; + // } + + // T *r = Object::cast_to(object); + // if (r && r->reference()) { + // reference = r; + // } } inline bool is_valid() const { return reference != nullptr; } inline bool is_null() const { return reference == nullptr; } void unref() { - //TODO this should be moved to mutexes, since this engine does not really - // do a lot of referencing on references and stuff - // mutexes will avoid more crashes? - if (reference && reference->unreference()) { - //memdelete(reference); - reference->free(); + memdelete(reference); } reference = nullptr; } - void instance() { - //ref(memnew(T)); - ref(T::_new()); + void instantiate() { + ref(memnew(T)); } - Ref() { - reference = nullptr; - } + Ref() {} ~Ref() { unref(); @@ -204,7 +210,7 @@ public: // Used exclusively in the bindings to recreate the Ref Godot encapsulates in return values, // without adding to the refcount. - inline static Ref __internal_constructor(Object *obj) { + inline static Ref ___internal_constructor(Object *obj) { Ref r; r.reference = (T *)obj; return r; @@ -213,4 +219,4 @@ public: } // namespace godot -#endif +#endif // ! GODOT_CPP_REF_HPP diff --git a/include/godot_cpp/classes/wrapped.hpp b/include/godot_cpp/classes/wrapped.hpp new file mode 100644 index 00000000..770224a2 --- /dev/null +++ b/include/godot_cpp/classes/wrapped.hpp @@ -0,0 +1,167 @@ +/*************************************************************************/ +/* wrapped.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef GODOT_CPP_WRAPPED_HPP +#define GODOT_CPP_WRAPPED_HPP + +#include + +namespace godot { +namespace internal { +struct empty_constructor {}; +} // namespace internal + +typedef void GodotObject; + +// Base for all engine classes, to contain the pointer to the engine instance. +class Wrapped { + friend class GDExtensionBinding; + + // Private constructor, this should not be created directly by users. + Wrapped(GodotObject *p_owner) : + _owner(p_owner) {} + +protected: + Wrapped() = default; + Wrapped(internal::empty_constructor empty) {} + +public: + // Must be public but you should not touch this. + GodotObject *_owner = nullptr; +}; + +} // namespace godot + +#define GDCLASS(m_class, m_inherits) \ +private: \ + friend class ClassDB; \ + \ + using SelfType = m_class; \ + \ +protected: \ + static void (*_get_bind_methods())() { \ + return &m_class::_bind_methods; \ + } \ + \ + m_class(godot::GodotObject *owner) : m_inherits(godot::internal::empty_constructor()) { \ + _owner = owner; \ + } \ + \ + m_class(godot::internal::empty_constructor empty) : m_inherits(empty) {} \ + \ +public: \ + static void initialize_class() { \ + static bool initialized = false; \ + if (initialized) { \ + return; \ + } \ + m_inherits::initialize_class(); \ + if (m_class::_get_bind_methods() != m_inherits::_get_bind_methods()) { \ + _bind_methods(); \ + } \ + initialized = true; \ + } \ + \ + static const char *get_class_static() { \ + return #m_class; \ + } \ + \ + static const char *get_parent_class_static() { \ + return #m_inherits; \ + } \ + \ + static GDExtensionClassInstancePtr create(void *data) { \ + return (GDExtensionClassInstancePtr)godot::Memory::alloc_static(sizeof(m_class)); \ + } \ + \ + static void free(void *data, GDExtensionClassInstancePtr ptr) { \ + godot::memdelete(reinterpret_cast(ptr)); \ + } \ + \ + static void set_object_instance(GDExtensionClassInstancePtr p_instance, GDNativeObjectPtr p_object_instance) { \ + memnew_placement((void *)p_instance, m_class((godot::GodotObject *)p_object_instance)); \ + } \ + \ + static void *___binding_create_callback(void *p_token, void *p_instance) { \ + return memnew(m_class((godot::GodotObject *)p_instance)); \ + } \ + static void ___binding_free_callback(void *p_token, void *p_instance, void *p_binding) { \ + memdelete((m_class *)p_binding); \ + } \ + static GDNativeBool ___binding_reference_callback(void *p_token, void *p_instance, GDNativeBool p_reference) { \ + return true; \ + } \ + static constexpr GDNativeInstanceBindingCallbacks ___binding_callbacks = { \ + ___binding_create_callback, \ + ___binding_free_callback, \ + ___binding_reference_callback, \ + }; \ + \ +private: + +// Don't use this for your classes, use GDCLASS() instead. +#define GDNATIVE_CLASS(m_class, m_inherits) \ +protected: \ + static void (*_get_bind_methods())() { \ + return nullptr; \ + } \ + m_class(godot::internal::empty_constructor empty) : m_inherits(empty) {} \ + \ +public: \ + static void initialize_class() {} \ + \ + static const char *get_class_static() { \ + return #m_class; \ + } \ + \ + static const char *get_parent_class_static() { \ + return #m_inherits; \ + } \ + \ + static void *___binding_create_callback(void *p_token, void *p_instance) { \ + m_class *obj = memnew(m_class(godot::internal::empty_constructor())); \ + obj->_owner = (godot::GodotObject *)p_instance; \ + return obj; \ + } \ + static void ___binding_free_callback(void *p_token, void *p_instance, void *p_binding) { \ + memdelete((m_class *)p_binding); \ + } \ + static GDNativeBool ___binding_reference_callback(void *p_token, void *p_instance, GDNativeBool p_reference) { \ + return true; \ + } \ + static constexpr GDNativeInstanceBindingCallbacks ___binding_callbacks = { \ + ___binding_create_callback, \ + ___binding_free_callback, \ + ___binding_reference_callback, \ + }; \ + \ +private: + +#endif // ! GODOT_CPP_WRAPPED_HPP diff --git a/include/godot_cpp/core/binder_common.hpp b/include/godot_cpp/core/binder_common.hpp new file mode 100644 index 00000000..c1827fa2 --- /dev/null +++ b/include/godot_cpp/core/binder_common.hpp @@ -0,0 +1,449 @@ +/*************************************************************************/ +/* binder_common.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef GODOT_CPP_BINDER_COMMON_HPP +#define GODOT_CPP_BINDER_COMMON_HPP + +#include + +#include +#include + +#include +#include + +namespace godot { + +#define VARIANT_ENUM_CAST(m_class, m_enum) \ + namespace godot { \ + MAKE_ENUM_TYPE_INFO(m_class, m_enum) \ + template <> \ + struct VariantCaster { \ + static _FORCE_INLINE_ m_class::m_enum cast(const Variant &p_variant) { \ + return (m_class::m_enum)p_variant.operator int64_t(); \ + } \ + }; \ + template <> \ + struct PtrToArg { \ + _FORCE_INLINE_ static m_class::m_enum convert(const void *p_ptr) { \ + return m_class::m_enum(*reinterpret_cast(p_ptr)); \ + } \ + typedef int64_t EncodeT; \ + _FORCE_INLINE_ static void encode(m_class::m_enum p_val, const void *p_ptr) { \ + *(int64_t *)p_ptr = p_val; \ + } \ + }; \ + } + +template +struct VariantCaster { + static _FORCE_INLINE_ T cast(const Variant &p_variant) { + return p_variant; + } +}; + +template +struct VariantCaster { + static _FORCE_INLINE_ T cast(const Variant &p_variant) { + return p_variant; + } +}; + +template +struct VariantCaster { + static _FORCE_INLINE_ T cast(const Variant &p_variant) { + return p_variant; + } +}; + +template +struct VariantObjectClassChecker { + static _FORCE_INLINE_ bool check(const Variant &p_variant) { + return true; + } +}; + +template +class Ref; + +template +struct VariantObjectClassChecker &> { + static _FORCE_INLINE_ bool check(const Variant &p_variant) { + Object *obj = p_variant; + const Ref node = p_variant; + return node.ptr() || !obj; + } +}; + +template +struct VariantCasterAndValidate { + static _FORCE_INLINE_ T cast(const Variant **p_args, uint32_t p_arg_idx, GDNativeCallError &r_error) { + GDNativeVariantType argtype = GetTypeInfo::VARIANT_TYPE; + if (!internal::interface->variant_can_convert_strict(static_cast(p_args[p_arg_idx]->get_type()), argtype) || + !VariantObjectClassChecker::check(p_args[p_arg_idx])) { + r_error.error = GDNATIVE_CALL_ERROR_INVALID_ARGUMENT; + r_error.argument = p_arg_idx; + r_error.expected = argtype; + } + + return VariantCaster::cast(*p_args[p_arg_idx]); + } +}; + +template +struct VariantCasterAndValidate { + static _FORCE_INLINE_ T cast(const Variant **p_args, uint32_t p_arg_idx, GDNativeCallError &r_error) { + GDNativeVariantType argtype = GetTypeInfo::VARIANT_TYPE; + if (!internal::interface->variant_can_convert_strict(static_cast(p_args[p_arg_idx]->get_type()), argtype) || + !VariantObjectClassChecker::check(p_args[p_arg_idx])) { + r_error.error = GDNATIVE_CALL_ERROR_INVALID_ARGUMENT; + r_error.argument = p_arg_idx; + r_error.expected = argtype; + } + + return VariantCaster::cast(*p_args[p_arg_idx]); + } +}; + +template +struct VariantCasterAndValidate { + static _FORCE_INLINE_ T cast(const Variant **p_args, uint32_t p_arg_idx, GDNativeCallError &r_error) { + GDNativeVariantType argtype = GetTypeInfo::VARIANT_TYPE; + if (!internal::interface->variant_can_convert_strict(static_cast(p_args[p_arg_idx]->get_type()), argtype) || + !VariantObjectClassChecker::check(p_args[p_arg_idx])) { + r_error.error = GDNATIVE_CALL_ERROR_INVALID_ARGUMENT; + r_error.argument = p_arg_idx; + r_error.expected = argtype; + } + + return VariantCaster::cast(*p_args[p_arg_idx]); + } +}; + +template +void call_with_ptr_args_helper(T *p_instance, void (T::*p_method)(P...), const GDNativeTypePtr *p_args, IndexSequence) { + (p_instance->*p_method)(PtrToArg

::convert(p_args[Is])...); +} + +template +void call_with_ptr_argsc_helper(T *p_instance, void (T::*p_method)(P...) const, const GDNativeTypePtr *p_args, IndexSequence) { + (p_instance->*p_method)(PtrToArg

::convert(p_args[Is])...); +} + +template +void call_with_ptr_args_ret_helper(T *p_instance, R (T::*p_method)(P...), const GDNativeTypePtr *p_args, void *r_ret, IndexSequence) { + PtrToArg::encode((p_instance->*p_method)(PtrToArg

::convert(p_args[Is])...), r_ret); +} + +template +void call_with_ptr_args_retc_helper(T *p_instance, R (T::*p_method)(P...) const, const GDNativeTypePtr *p_args, void *r_ret, IndexSequence) { + PtrToArg::encode((p_instance->*p_method)(PtrToArg

::convert(p_args[Is])...), r_ret); +} + +template +void call_with_ptr_args(T *p_instance, void (T::*p_method)(P...), const GDNativeTypePtr *p_args) { + call_with_ptr_args_helper(p_instance, p_method, p_args, BuildIndexSequence{}); +} + +template +void call_with_ptr_args(T *p_instance, void (T::*p_method)(P...) const, const GDNativeTypePtr *p_args) { + call_with_ptr_argsc_helper(p_instance, p_method, p_args, BuildIndexSequence{}); +} + +template +void call_with_ptr_args(T *p_instance, R (T::*p_method)(P...), const GDNativeTypePtr *p_args, void *r_ret) { + call_with_ptr_args_ret_helper(p_instance, p_method, p_args, r_ret, BuildIndexSequence{}); +} + +template +void call_with_ptr_args(T *p_instance, R (T::*p_method)(P...) const, const GDNativeTypePtr *p_args, void *r_ret) { + call_with_ptr_args_retc_helper(p_instance, p_method, p_args, r_ret, BuildIndexSequence{}); +} + +template +void call_with_variant_args_helper(T *p_instance, void (T::*p_method)(P...), const Variant **p_args, GDNativeCallError &r_error, IndexSequence) { + r_error.error = GDNATIVE_CALL_OK; + +#ifdef DEBUG_METHODS_ENABLED + (p_instance->*p_method)(VariantCasterAndValidate

::cast(p_args, Is, r_error)...); +#else + (p_instance->*p_method)(VariantCaster

::cast(*p_args[Is])...); +#endif + (void)(p_args); // Avoid warning. +} + +template +void call_with_variant_argsc_helper(T *p_instance, void (T::*p_method)(P...) const, const Variant **p_args, GDNativeCallError &r_error, IndexSequence) { + r_error.error = GDNATIVE_CALL_OK; + +#ifdef DEBUG_METHODS_ENABLED + (p_instance->*p_method)(VariantCasterAndValidate

::cast(p_args, Is, r_error)...); +#else + (p_instance->*p_method)(VariantCaster

::cast(*p_args[Is])...); +#endif + (void)(p_args); // Avoid warning. +} + +template +void call_with_variant_args_ret_helper(T *p_instance, R (T::*p_method)(P...), const Variant **p_args, Variant &r_ret, GDNativeCallError &r_error, IndexSequence) { + r_error.error = GDNATIVE_CALL_OK; + +#ifdef DEBUG_METHODS_ENABLED + r_ret = (p_instance->*p_method)(VariantCasterAndValidate

::cast(p_args, Is, r_error)...); +#else + r_ret = (p_instance->*p_method)(VariantCaster

::cast(*p_args[Is])...); +#endif +} + +template +void call_with_variant_args_retc_helper(T *p_instance, R (T::*p_method)(P...) const, const Variant **p_args, Variant &r_ret, GDNativeCallError &r_error, IndexSequence) { + r_error.error = GDNATIVE_CALL_OK; + +#ifdef DEBUG_METHODS_ENABLED + r_ret = (p_instance->*p_method)(VariantCasterAndValidate

::cast(p_args, Is, r_error)...); +#else + r_ret = (p_instance->*p_method)(VariantCaster

::cast(*p_args[Is])...); +#endif + (void)p_args; +} + +template +void call_with_variant_args_dv(T *p_instance, void (T::*p_method)(P...), const GDNativeVariantPtr *p_args, int p_argcount, GDNativeCallError &r_error, const std::vector &default_values) { +#ifdef DEBUG_ENABLED + if ((size_t)p_argcount > sizeof...(P)) { + r_error.error = GDNATIVE_CALL_ERROR_TOO_MANY_ARGUMENTS; + r_error.argument = sizeof...(P); + return; + } +#endif + + int32_t missing = (int32_t)sizeof...(P) - (int32_t)p_argcount; + + int32_t dvs = default_values.size(); +#ifdef DEBUG_ENABLED + if (missing > dvs) { + r_error.error = GDNATIVE_CALL_ERROR_TOO_FEW_ARGUMENTS; + r_error.argument = sizeof...(P); + return; + } +#endif + + Variant args[sizeof...(P) == 0 ? 1 : sizeof...(P)]; // Avoid zero sized array. + std::array argsp; + for (int32_t i = 0; i < (int32_t)sizeof...(P); i++) { + if (i < p_argcount) { + args[i] = p_args[i]; + } else { + args[i] = default_values[i - p_argcount + (dvs - missing)]; + } + argsp[i] = &args[i]; + } + + call_with_variant_args_helper(p_instance, p_method, argsp.data(), r_error, BuildIndexSequence{}); +} + +template +void call_with_variant_argsc_dv(T *p_instance, void (T::*p_method)(P...) const, const GDNativeVariantPtr *p_args, int p_argcount, GDNativeCallError &r_error, const std::vector &default_values) { +#ifdef DEBUG_ENABLED + if ((size_t)p_argcount > sizeof...(P)) { + r_error.error = GDNATIVE_CALL_ERROR_TOO_MANY_ARGUMENTS; + r_error.argument = sizeof...(P); + return; + } +#endif + + int32_t missing = (int32_t)sizeof...(P) - (int32_t)p_argcount; + + int32_t dvs = default_values.size(); +#ifdef DEBUG_ENABLED + if (missing > dvs) { + r_error.error = GDNATIVE_CALL_ERROR_TOO_FEW_ARGUMENTS; + r_error.argument = sizeof...(P); + return; + } +#endif + + Variant args[sizeof...(P) == 0 ? 1 : sizeof...(P)]; // Avoid zero sized array. + std::array argsp; + for (int32_t i = 0; i < (int32_t)sizeof...(P); i++) { + if (i < p_argcount) { + args[i] = p_args[i]; + } else { + args[i] = default_values[i - p_argcount + (dvs - missing)]; + } + argsp[i] = &args[i]; + } + + call_with_variant_argsc_helper(p_instance, p_method, argsp.data(), r_error, BuildIndexSequence{}); +} + +template +void call_with_variant_args_ret_dv(T *p_instance, R (T::*p_method)(P...), const GDNativeVariantPtr *p_args, int p_argcount, Variant &r_ret, GDNativeCallError &r_error, const std::vector &default_values) { +#ifdef DEBUG_ENABLED + if ((size_t)p_argcount > sizeof...(P)) { + r_error.error = GDNATIVE_CALL_ERROR_TOO_MANY_ARGUMENTS; + r_error.argument = sizeof...(P); + return; + } +#endif + + int32_t missing = (int32_t)sizeof...(P) - (int32_t)p_argcount; + + int32_t dvs = default_values.size(); +#ifdef DEBUG_ENABLED + if (missing > dvs) { + r_error.error = GDNATIVE_CALL_ERROR_TOO_FEW_ARGUMENTS; + r_error.argument = sizeof...(P); + return; + } +#endif + + Variant args[sizeof...(P) == 0 ? 1 : sizeof...(P)]; // Avoid zero sized array. + std::array argsp; + for (int32_t i = 0; i < (int32_t)sizeof...(P); i++) { + if (i < p_argcount) { + args[i] = p_args[i]; + } else { + args[i] = default_values[i - p_argcount + (dvs - missing)]; + } + argsp[i] = &args[i]; + } + + call_with_variant_args_ret_helper(p_instance, p_method, argsp.data(), r_ret, r_error, BuildIndexSequence{}); +} + +template +void call_with_variant_args_retc_dv(T *p_instance, R (T::*p_method)(P...) const, const GDNativeVariantPtr *p_args, int p_argcount, Variant &r_ret, GDNativeCallError &r_error, const std::vector &default_values) { +#ifdef DEBUG_ENABLED + if ((size_t)p_argcount > sizeof...(P)) { + r_error.error = GDNATIVE_CALL_ERROR_TOO_MANY_ARGUMENTS; + r_error.argument = sizeof...(P); + return; + } +#endif + + int32_t missing = (int32_t)sizeof...(P) - (int32_t)p_argcount; + + int32_t dvs = default_values.size(); +#ifdef DEBUG_ENABLED + if (missing > dvs) { + r_error.error = GDNATIVE_CALL_ERROR_TOO_FEW_ARGUMENTS; + r_error.argument = sizeof...(P); + return; + } +#endif + + Variant args[sizeof...(P) == 0 ? 1 : sizeof...(P)]; // Avoid zero sized array. + std::array argsp; + for (int32_t i = 0; i < (int32_t)sizeof...(P); i++) { + if (i < p_argcount) { + args[i] = p_args[i]; + } else { + args[i] = default_values[i - p_argcount + (dvs - missing)]; + } + argsp[i] = &args[i]; + } + + call_with_variant_args_retc_helper(p_instance, p_method, argsp.data(), r_ret, r_error, BuildIndexSequence{}); +} + +// GCC raises "parameter 'p_args' set but not used" when P = {}, +// it's not clever enough to treat other P values as making this branch valid. +#if defined(DEBUG_METHODS_ENABLED) && defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-but-set-parameter" +#endif + +template +void call_get_argument_type_helper(int p_arg, int &index, GDNativeVariantType &type) { + if (p_arg == index) { + type = GetTypeInfo::VARIANT_TYPE; + } + index++; +} + +template +GDNativeVariantType call_get_argument_type(int p_arg) { + GDNativeVariantType type = GDNATIVE_VARIANT_TYPE_NIL; + int index = 0; + // I think rocket science is simpler than modern C++. + using expand_type = int[]; + expand_type a{ 0, (call_get_argument_type_helper

(p_arg, index, type), 0)... }; + (void)a; // Suppress (valid, but unavoidable) -Wunused-variable warning. + (void)index; // Suppress GCC warning. + return type; +} + +template +void call_get_argument_type_info_helper(int p_arg, int &index, GDNativePropertyInfo &info) { + if (p_arg == index) { + info = GetTypeInfo::get_class_info(); + } + index++; +} + +template +void call_get_argument_type_info(int p_arg, GDNativePropertyInfo &info) { + int index = 0; + // I think rocket science is simpler than modern C++. + using expand_type = int[]; + expand_type a{ 0, (call_get_argument_type_info_helper

(p_arg, index, info), 0)... }; + (void)a; // Suppress (valid, but unavoidable) -Wunused-variable warning. + (void)index; // Suppress GCC warning. +} + +template +void call_get_argument_metadata_helper(int p_arg, int &index, GDNativeExtensionClassMethodArgumentMetadata &md) { + if (p_arg == index) { + md = GetTypeInfo::METADATA; + } + index++; +} + +template +GDNativeExtensionClassMethodArgumentMetadata call_get_argument_metadata(int p_arg) { + GDNativeExtensionClassMethodArgumentMetadata md = GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_NONE; + + int index = 0; + // I think rocket science is simpler than modern C++. + using expand_type = int[]; + expand_type a{ 0, (call_get_argument_metadata_helper

(p_arg, index, md), 0)... }; + (void)a; // Suppress (valid, but unavoidable) -Wunused-variable warning. + (void)index; + return md; +} + +#if defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic pop +#endif + +} // namespace godot + +#endif // ! GODOT_CPP_BINDER_COMMON_HPP diff --git a/src/core/RID.cpp b/include/godot_cpp/core/builtin_ptrcall.hpp similarity index 59% rename from src/core/RID.cpp rename to include/godot_cpp/core/builtin_ptrcall.hpp index fbd4e5cc..961769ff 100644 --- a/src/core/RID.cpp +++ b/include/godot_cpp/core/builtin_ptrcall.hpp @@ -1,5 +1,5 @@ /*************************************************************************/ -/* RID.cpp */ +/* builtin_ptrcall.hpp */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -28,52 +28,53 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "RID.hpp" +#ifndef GODOT_CPP_BUILTIN_PTRCALL_HPP +#define GODOT_CPP_BUILTIN_PTRCALL_HPP -#include +#include -#include "GodotGlobal.hpp" +#include namespace godot { -RID::RID() { - godot::api->godot_rid_new(&_godot_rid); +namespace internal { + +template +void _call_builtin_constructor(const GDNativePtrConstructor constructor, GDNativeTypePtr base, Args... args) { + std::array call_args = { { (const GDNativeTypePtr)args... } }; + constructor(base, call_args.data()); } -RID::RID(Object *p) { - godot::api->godot_rid_new_with_resource(&_godot_rid, (const godot_object *)p); +template +T _call_builtin_method_ptr_ret(const GDNativePtrBuiltInMethod method, GDNativeTypePtr base, Args... args) { + T ret; + std::array call_args = { { (const GDNativeTypePtr)args... } }; + method(base, call_args.data(), &ret, sizeof...(Args)); + return ret; } -godot_rid RID::_get_godot_rid() const { - return _godot_rid; +template +void _call_builtin_method_ptr_no_ret(const GDNativePtrBuiltInMethod method, GDNativeTypePtr base, Args... args) { + std::array call_args = { { (const GDNativeTypePtr)args... } }; + method(base, call_args.data(), nullptr, sizeof...(Args)); } -int32_t RID::get_id() const { - return godot::api->godot_rid_get_id(&_godot_rid); +template +T _call_builtin_operator_ptr(const GDNativePtrOperatorEvaluator op, const GDNativeTypePtr left, const GDNativeTypePtr right) { + T ret; + op(left, right, &ret); + return ret; } -bool RID::operator==(const RID &p_other) const { - return godot::api->godot_rid_operator_equal(&_godot_rid, &p_other._godot_rid); +template +T _call_builtin_ptr_getter(const GDNativePtrGetter getter, const GDNativeTypePtr base) { + T ret; + getter(base, &ret); + return ret; } -bool RID::operator!=(const RID &p_other) const { - return !(*this == p_other); -} - -bool RID::operator<(const RID &p_other) const { - return godot::api->godot_rid_operator_less(&_godot_rid, &p_other._godot_rid); -} - -bool RID::operator>(const RID &p_other) const { - return !(*this < p_other) && *this != p_other; -} - -bool RID::operator<=(const RID &p_other) const { - return (*this < p_other) || *this == p_other; -} - -bool RID::operator>=(const RID &p_other) const { - return !(*this < p_other); -} +} // namespace internal } // namespace godot + +#endif // ! GODOT_CPP_BUILTIN_PTRCALL_HPP diff --git a/include/godot_cpp/core/class_db.hpp b/include/godot_cpp/core/class_db.hpp new file mode 100644 index 00000000..ed169710 --- /dev/null +++ b/include/godot_cpp/core/class_db.hpp @@ -0,0 +1,187 @@ +/*************************************************************************/ +/* class_db.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef CLASS_DB_HPP +#define CLASS_DB_HPP + +#include + +#include +#include +#include +#include + +#include +#include +#include +#include + +namespace godot { + +struct MethodDefinition { + const char *name = nullptr; + std::list args; + MethodDefinition() {} + MethodDefinition(const char *p_name) : + name(p_name) {} +}; + +MethodDefinition D_METHOD(const char *p_name); +MethodDefinition D_METHOD(const char *p_name, const char *p_arg1); +template +MethodDefinition D_METHOD(const char *p_name, const char *p_arg1, Args... args) { + MethodDefinition md = D_METHOD(p_name, args...); + md.args.push_front(p_arg1); + return md; +} + +class ClassDB { +public: + struct PropertySetGet { + int index; + const char *setter; + const char *getter; + MethodBind *_setptr; + MethodBind *_getptr; + Variant::Type type; + }; + + struct ClassInfo { + const char *name = nullptr; + const char *parent_name = nullptr; + GDNativeInitializationLevel level = GDNATIVE_INITIALIZATION_SCENE; + std::unordered_map method_map; + std::unordered_map signal_map; + std::list method_order; + GDExtensionClassInstancePtr (*constructor)(void *data); + std::unordered_map virtual_methods; + void (*destructor)(void *data, GDExtensionClassInstancePtr ptr); + void (*object_instance)(GDExtensionClassInstancePtr p_instance, GDNativeObjectPtr p_object_instance); + std::unordered_map property_setget; + std::list property_list; + std::unordered_map> constant_map; // String in pair is enum name. + std::list constant_order; + ClassInfo *parent_ptr = nullptr; + }; + +private: + static std::unordered_map classes; + + static MethodBind *bind_methodfi(uint32_t p_flags, MethodBind *p_bind, const MethodDefinition &method_name, const void **p_defs, int p_defcount); + +public: + template + static void register_class(GDNativeInitializationLevel p_level = GDNATIVE_INITIALIZATION_SCENE); + + template + static MethodBind *bind_method(N p_method_name, M p_method); + template + static MethodBind *bind_vararg_method(uint32_t p_flags, const char *p_name, M p_method, const MethodInfo &p_info = MethodInfo(), const std::vector &p_default_args = std::vector{}, bool p_return_nil_is_variant = true); + static void add_property(const char *p_class, const PropertyInfo &p_pinfo, const char *p_setter, const char *p_getter, int p_index = -1); + static void add_signal(const char *p_class, const MethodInfo &p_signal); + static void bind_integer_constant(const char *p_class, const char *p_enum, const char *p_name, GDNativeInt p_constant); + static void bind_virtual_method(const char *p_class, const char *p_method, GDNativeExtensionClassCallVirtual p_call); + + static MethodBind *get_method(const char *p_class, const char *p_method); + + static GDNativeExtensionClassCallVirtual get_virtual_func(void *p_userdata, const char *p_name); + + static void initialize(GDNativeInitializationLevel p_level); + static void deinitialize(GDNativeInitializationLevel p_level); +}; + +#define BIND_CONSTANT(m_constant) \ + ClassDB::bind_integer_constant(get_class_static(), "", #m_constant, m_constant); + +#define BIND_ENUM_CONSTANT(m_constant) \ + ClassDB::bind_integer_constant(get_class_static(), __constant_get_enum_name(m_constant, #m_constant), #m_constant, m_constant); + +#define BIND_VIRTUAL_METHOD(m_method) \ + { \ + auto ___call##m_method = [](GDNativeObjectPtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr p_ret) -> void { \ + call_with_ptr_args(reinterpret_cast(p_instance), &SelfType::m_method, p_args, p_ret); \ + }; \ + ClassDB::bind_virtual_method(get_class_static(), #m_method, ___call##m_method); \ + } + +template +void ClassDB::register_class(GDNativeInitializationLevel p_level) { + ClassInfo cl; + cl.name = T::get_class_static(); + cl.parent_name = T::get_parent_class_static(); + cl.level = p_level; + cl.constructor = T::create; + cl.destructor = T::free; + cl.object_instance = T::set_object_instance; + classes[cl.name] = cl; + if (classes.find(cl.parent_name) != classes.end()) { + cl.parent_ptr = &classes[cl.parent_name]; + } + T::initialize_class(); +} + +template +MethodBind *ClassDB::bind_method(N p_method_name, M p_method) { + MethodBind *bind = create_method_bind(p_method); + + return bind_methodfi(0, bind, p_method_name, nullptr, 0); +} + +template +MethodBind *ClassDB::bind_vararg_method(uint32_t p_flags, const char *p_name, M p_method, const MethodInfo &p_info, const std::vector &p_default_args, bool p_return_nil_is_variant) { + MethodBind *bind = create_vararg_method_bind(p_method, p_info, p_return_nil_is_variant); + ERR_FAIL_COND_V(!bind, nullptr); + + bind->set_name(p_name); + bind->set_default_arguments(p_default_args); + + const char *instance_type = bind->get_instance_class(); + + std::unordered_map::iterator type_it = classes.find(instance_type); + if (type_it == classes.end()) { + memdelete(bind); + ERR_FAIL_V_MSG(nullptr, "Class doesn't exist."); + } + + ClassInfo &type = type_it->second; + + if (type.method_map.find(p_name) != type.method_map.end()) { + memdelete(bind); + ERR_FAIL_V_MSG(nullptr, "Binding duplicate method."); + } + + type.method_map[p_name] = bind; + type.method_order.push_back(bind); + + return bind; +} +} // namespace godot + +#endif // ! CLASS_DB_HPP diff --git a/include/godot_cpp/core/defs.hpp b/include/godot_cpp/core/defs.hpp new file mode 100644 index 00000000..a103985f --- /dev/null +++ b/include/godot_cpp/core/defs.hpp @@ -0,0 +1,106 @@ +/*************************************************************************/ +/* defs.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef DEFS_H +#define DEFS_H + +#include +#include + +#ifdef __GNUC__ +#define GDN_EXPORT __attribute__((visibility("default"))) +#elif defined(_WIN32) +#define GDN_EXPORT __declspec(dllexport) +#else +#define GDN_EXPORT +#endif + +// Turn argument to string constant: +// https://gcc.gnu.org/onlinedocs/cpp/Stringizing.html#Stringizing +#ifndef _STR +#define _STR(m_x) #m_x +#define _MKSTR(m_x) _STR(m_x) +#endif + +// Should always inline no matter what. +#ifndef _ALWAYS_INLINE_ +#if defined(__GNUC__) +#define _ALWAYS_INLINE_ __attribute__((always_inline)) inline +#elif defined(_MSC_VER) +#define _ALWAYS_INLINE_ __forceinline +#else +#define _ALWAYS_INLINE_ inline +#endif +#endif + +// Should always inline, except in debug builds because it makes debugging harder. +#ifndef _FORCE_INLINE_ +#ifdef DISABLE_FORCED_INLINE +#define _FORCE_INLINE_ inline +#else +#define _FORCE_INLINE_ _ALWAYS_INLINE_ +#endif +#endif + +// Windows badly defines a lot of stuff we'll never use. Undefine it. +#ifdef _WIN32 +#undef min // override standard definition +#undef max // override standard definition +#undef ERROR // override (really stupid) wingdi.h standard definition +#undef DELETE // override (another really stupid) winnt.h standard definition +#undef MessageBox // override winuser.h standard definition +#undef MIN // override standard definition +#undef MAX // override standard definition +#undef CLAMP // override standard definition +#undef Error +#undef OK +#undef CONNECT_DEFERRED // override from Windows SDK, clashes with Object enum +#endif + +#if defined(__GNUC__) +#define likely(x) __builtin_expect(!!(x), 1) +#define unlikely(x) __builtin_expect(!!(x), 0) +#else +#define likely(x) x +#define unlikely(x) x +#endif + +// Home-made index sequence trick, so it can be used everywhere without the costly include of std::tuple. +// https://stackoverflow.com/questions/15014096/c-index-of-type-during-variadic-template-expansion +template +struct IndexSequence {}; + +template +struct BuildIndexSequence : BuildIndexSequence {}; + +template +struct BuildIndexSequence<0, Is...> : IndexSequence {}; + +#endif // ! DEFS_H diff --git a/include/godot_cpp/core/engine_ptrcall.hpp b/include/godot_cpp/core/engine_ptrcall.hpp new file mode 100644 index 00000000..636a0c24 --- /dev/null +++ b/include/godot_cpp/core/engine_ptrcall.hpp @@ -0,0 +1,94 @@ +/*************************************************************************/ +/* engine_ptrcall.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef GODOT_CPP_ENGINE_PTRCALL_HPP +#define GODOT_CPP_ENGINE_PTRCALL_HPP + +#include + +#include +#include +#include + +#include + +namespace godot { + +namespace internal { + +template +Object *_call_native_mb_ret_obj(const GDNativeMethodBindPtr mb, void *instance, const Args &...args) { + GodotObject *ret = nullptr; + std::array mb_args = { { (const GDNativeTypePtr)args... } }; + internal::interface->object_method_bind_ptrcall(mb, instance, mb_args.data(), &ret); + return (Object *)internal::interface->object_get_instance_binding(ret, internal::token, &O::___binding_callbacks); +} + +template +R _call_native_mb_ret(const GDNativeMethodBindPtr mb, void *instance, const Args &...args) { + R ret; + std::array mb_args = { { (const GDNativeTypePtr)args... } }; + internal::interface->object_method_bind_ptrcall(mb, instance, mb_args.data(), &ret); + return ret; +} + +template +void _call_native_mb_no_ret(const GDNativeMethodBindPtr mb, void *instance, const Args &...args) { + std::array mb_args = { { (const GDNativeTypePtr)args... } }; + internal::interface->object_method_bind_ptrcall(mb, instance, mb_args.data(), nullptr); +} + +template +R _call_utility_ret(GDNativePtrUtilityFunction func, const Args &...args) { + R ret; + std::array mb_args = { { (const GDNativeTypePtr)args... } }; + func(&ret, mb_args.data(), mb_args.size()); + return ret; +} + +template +Object *_call_utility_ret_obj(const GDNativePtrUtilityFunction func, void *instance, const Args &...args) { + GodotObject *ret = nullptr; + std::array mb_args = { { (const GDNativeTypePtr)args... } }; + func(&ret, mb_args.data(), mb_args.size()); + return (Object *)internal::interface->object_get_instance_binding(ret, internal::token, &Object::___binding_callbacks); +} + +template +void _call_utility_no_ret(const GDNativePtrUtilityFunction func, const Args &...args) { + std::array mb_args = { { (const GDNativeTypePtr)args... } }; + func(nullptr, mb_args.data(), mb_args.size()); +} + +} // namespace internal + +} // namespace godot + +#endif // ! GODOT_CPP_ENGINE_PTRCALL_HPP diff --git a/include/godot_cpp/core/error_macros.hpp b/include/godot_cpp/core/error_macros.hpp new file mode 100644 index 00000000..5a7f4e96 --- /dev/null +++ b/include/godot_cpp/core/error_macros.hpp @@ -0,0 +1,596 @@ +/*************************************************************************/ +/* error_macros.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef GODOT_CPP_ERROR_MACROS_HPP +#define GODOT_CPP_ERROR_MACROS_HPP + +#include + +#include + +namespace godot { + +void _err_print_error(const char *p_function, const char *p_file, int p_line, const char *p_error, bool p_is_warning = false); +void _err_print_error(const char *p_function, const char *p_file, int p_line, const char *p_error, const char *p_message, bool p_is_warning = false); +void _err_print_index_error(const char *p_function, const char *p_file, int p_line, int64_t p_index, int64_t p_size, const char *p_index_str, const char *p_size_str, const char *p_message = "", bool fatal = false); + +// Used to strip debug messages in release mode +#ifdef DEBUG_ENABLED +#define DEBUG_STR(m_msg) m_msg +#else +#define DEBUG_STR(m_msg) "" +#endif + +#ifdef __GNUC__ +//#define FUNCTION_STR __PRETTY_FUNCTION__ - too annoying +#define FUNCTION_STR __FUNCTION__ +#else +#define FUNCTION_STR __FUNCTION__ +#endif + +#ifdef _MSC_VER +/** + * Don't use GENERATE_TRAP() directly, should only be used be the macros below. + */ +#define GENERATE_TRAP() __debugbreak() +#else +/** + * Don't use GENERATE_TRAP() directly, should only be used be the macros below. + */ +#define GENERATE_TRAP() __builtin_trap() +#endif + +#define ERR_FAIL_INDEX(m_index, m_size) \ + if (unlikely((m_index) < 0 || (m_index) >= (m_size))) { \ + _err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size)); \ + return; \ + } else \ + ((void)0) + +/** + * Ensures an integer index `m_index` is less than `m_size` and greater than or equal to 0. + * If not, prints `m_msg` and the current function returns. + */ +#define ERR_FAIL_INDEX_MSG(m_index, m_size, m_msg) \ + if (unlikely((m_index) < 0 || (m_index) >= (m_size))) { \ + _err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), DEBUG_STR(m_msg)); \ + return; \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_INDEX_V_MSG`. + * Only use this macro if there is no sensible error message. + * + * Ensures an integer index `m_index` is less than `m_size` and greater than or equal to 0. + * If not, the current function returns `m_retval`. + */ +#define ERR_FAIL_INDEX_V(m_index, m_size, m_retval) \ + if (unlikely((m_index) < 0 || (m_index) >= (m_size))) { \ + _err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size)); \ + return m_retval; \ + } else \ + ((void)0) + +/** + * Ensures an integer index `m_index` is less than `m_size` and greater than or equal to 0. + * If not, prints `m_msg` and the current function returns `m_retval`. + */ +#define ERR_FAIL_INDEX_V_MSG(m_index, m_size, m_retval, m_msg) \ + if (unlikely((m_index) < 0 || (m_index) >= (m_size))) { \ + _err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), DEBUG_STR(m_msg)); \ + return m_retval; \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_INDEX_MSG` or `ERR_FAIL_INDEX_V_MSG`. + * Only use this macro if there is no sensible fallback i.e. the error is unrecoverable, and + * there is no sensible error message. + * + * Ensures an integer index `m_index` is less than `m_size` and greater than or equal to 0. + * If not, the application crashes. + */ +#define CRASH_BAD_INDEX(m_index, m_size) \ + if (unlikely((m_index) < 0 || (m_index) >= (m_size))) { \ + _err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), "", true); \ + GENERATE_TRAP(); \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_INDEX_MSG` or `ERR_FAIL_INDEX_V_MSG`. + * Only use this macro if there is no sensible fallback i.e. the error is unrecoverable. + * + * Ensures an integer index `m_index` is less than `m_size` and greater than or equal to 0. + * If not, prints `m_msg` and the application crashes. + */ +#define CRASH_BAD_INDEX_MSG(m_index, m_size, m_msg) \ + if (unlikely((m_index) < 0 || (m_index) >= (m_size))) { \ + _err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), DEBUG_STR(m_msg), true); \ + GENERATE_TRAP(); \ + } else \ + ((void)0) + +// Unsigned integer index out of bounds error macros. + +/** + * Try using `ERR_FAIL_UNSIGNED_INDEX_MSG`. + * Only use this macro if there is no sensible error message. + * + * Ensures an unsigned integer index `m_index` is less than `m_size`. + * If not, the current function returns. + */ +#define ERR_FAIL_UNSIGNED_INDEX(m_index, m_size) \ + if (unlikely((m_index) >= (m_size))) { \ + _err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size)); \ + return; \ + } else \ + ((void)0) + +/** + * Ensures an unsigned integer index `m_index` is less than `m_size`. + * If not, prints `m_msg` and the current function returns. + */ +#define ERR_FAIL_UNSIGNED_INDEX_MSG(m_index, m_size, m_msg) \ + if (unlikely((m_index) >= (m_size))) { \ + _err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), DEBUG_STR(m_msg)); \ + return; \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_UNSIGNED_INDEX_V_MSG`. + * Only use this macro if there is no sensible error message. + * + * Ensures an unsigned integer index `m_index` is less than `m_size`. + * If not, the current function returns `m_retval`. + */ +#define ERR_FAIL_UNSIGNED_INDEX_V(m_index, m_size, m_retval) \ + if (unlikely((m_index) >= (m_size))) { \ + _err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size)); \ + return m_retval; \ + } else \ + ((void)0) + +/** + * Ensures an unsigned integer index `m_index` is less than `m_size`. + * If not, prints `m_msg` and the current function returns `m_retval`. + */ +#define ERR_FAIL_UNSIGNED_INDEX_V_MSG(m_index, m_size, m_retval, m_msg) \ + if (unlikely((m_index) >= (m_size))) { \ + _err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), DEBUG_STR(m_msg)); \ + return m_retval; \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_UNSIGNED_INDEX_MSG` or `ERR_FAIL_UNSIGNED_INDEX_V_MSG`. + * Only use this macro if there is no sensible fallback i.e. the error is unrecoverable, and + * there is no sensible error message. + * + * Ensures an unsigned integer index `m_index` is less than `m_size`. + * If not, the application crashes. + */ +#define CRASH_BAD_UNSIGNED_INDEX(m_index, m_size) \ + if (unlikely((m_index) >= (m_size))) { \ + _err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), "", true); \ + GENERATE_TRAP(); \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_UNSIGNED_INDEX_MSG` or `ERR_FAIL_UNSIGNED_INDEX_V_MSG`. + * Only use this macro if there is no sensible fallback i.e. the error is unrecoverable. + * + * Ensures an unsigned integer index `m_index` is less than `m_size`. + * If not, prints `m_msg` and the application crashes. + */ +#define CRASH_BAD_UNSIGNED_INDEX_MSG(m_index, m_size, m_msg) \ + if (unlikely((m_index) >= (m_size))) { \ + _err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), DEBUG_STR(m_msg), true); \ + GENERATE_TRAP(); \ + } else \ + ((void)0) + +// Null reference error macros. + +/** + * Try using `ERR_FAIL_NULL_MSG`. + * Only use this macro if there is no sensible error message. + * + * Ensures a pointer `m_param` is not null. + * If it is null, the current function returns. + */ +#define ERR_FAIL_NULL(m_param) \ + if (unlikely(m_param == nullptr)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Parameter \"" _STR(m_param) "\" is null."); \ + return; \ + } else \ + ((void)0) + +/** + * Ensures a pointer `m_param` is not null. + * If it is null, prints `m_msg` and the current function returns. + */ +#define ERR_FAIL_NULL_MSG(m_param, m_msg) \ + if (unlikely(m_param == nullptr)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Parameter \"" _STR(m_param) "\" is null.", DEBUG_STR(m_msg)); \ + return; \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_NULL_V_MSG`. + * Only use this macro if there is no sensible error message. + * + * Ensures a pointer `m_param` is not null. + * If it is null, the current function returns `m_retval`. + */ +#define ERR_FAIL_NULL_V(m_param, m_retval) \ + if (unlikely(m_param == nullptr)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Parameter \"" _STR(m_param) "\" is null."); \ + return m_retval; \ + } else \ + ((void)0) + +/** + * Ensures a pointer `m_param` is not null. + * If it is null, prints `m_msg` and the current function returns `m_retval`. + */ +#define ERR_FAIL_NULL_V_MSG(m_param, m_retval, m_msg) \ + if (unlikely(m_param == nullptr)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Parameter \"" _STR(m_param) "\" is null.", DEBUG_STR(m_msg)); \ + return m_retval; \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_COND_MSG`. + * Only use this macro if there is no sensible error message. + * If checking for null use ERR_FAIL_NULL_MSG instead. + * If checking index bounds use ERR_FAIL_INDEX_MSG instead. + * + * Ensures `m_cond` is false. + * If `m_cond` is true, the current function returns. + */ +#define ERR_FAIL_COND(m_cond) \ + if (unlikely(m_cond)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true."); \ + return; \ + } else \ + ((void)0) + +/** + * Ensures `m_cond` is false. + * If `m_cond` is true, prints `m_msg` and the current function returns. + * + * If checking for null use ERR_FAIL_NULL_MSG instead. + * If checking index bounds use ERR_FAIL_INDEX_MSG instead. + */ +#define ERR_FAIL_COND_MSG(m_cond, m_msg) \ + if (unlikely(m_cond)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true.", DEBUG_STR(m_msg)); \ + return; \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_COND_V_MSG`. + * Only use this macro if there is no sensible error message. + * If checking for null use ERR_FAIL_NULL_V_MSG instead. + * If checking index bounds use ERR_FAIL_INDEX_V_MSG instead. + * + * Ensures `m_cond` is false. + * If `m_cond` is true, the current function returns `m_retval`. + */ +#define ERR_FAIL_COND_V(m_cond, m_retval) \ + if (unlikely(m_cond)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true. Returning: " _STR(m_retval)); \ + return m_retval; \ + } else \ + ((void)0) + +/** + * Ensures `m_cond` is false. + * If `m_cond` is true, prints `m_msg` and the current function returns `m_retval`. + * + * If checking for null use ERR_FAIL_NULL_V_MSG instead. + * If checking index bounds use ERR_FAIL_INDEX_V_MSG instead. + */ +#define ERR_FAIL_COND_V_MSG(m_cond, m_retval, m_msg) \ + if (unlikely(m_cond)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true. Returning: " _STR(m_retval), DEBUG_STR(m_msg)); \ + return m_retval; \ + } else \ + ((void)0) + +/** + * Try using `ERR_CONTINUE_MSG`. + * Only use this macro if there is no sensible error message. + * + * Ensures `m_cond` is false. + * If `m_cond` is true, the current loop continues. + */ +#define ERR_CONTINUE(m_cond) \ + if (unlikely(m_cond)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true. Continuing."); \ + continue; \ + } else \ + ((void)0) + +/** + * Ensures `m_cond` is false. + * If `m_cond` is true, prints `m_msg` and the current loop continues. + */ +#define ERR_CONTINUE_MSG(m_cond, m_msg) \ + if (unlikely(m_cond)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true. Continuing.", DEBUG_STR(m_msg)); \ + continue; \ + } else \ + ((void)0) + +/** + * Try using `ERR_BREAK_MSG`. + * Only use this macro if there is no sensible error message. + * + * Ensures `m_cond` is false. + * If `m_cond` is true, the current loop breaks. + */ +#define ERR_BREAK(m_cond) \ + if (unlikely(m_cond)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true. Breaking."); \ + break; \ + } else \ + ((void)0) + +/** + * Ensures `m_cond` is false. + * If `m_cond` is true, prints `m_msg` and the current loop breaks. + */ +#define ERR_BREAK_MSG(m_cond, m_msg) \ + if (unlikely(m_cond)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true. Breaking.", DEBUG_STR(m_msg)); \ + break; \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_COND_MSG` or `ERR_FAIL_COND_V_MSG`. + * Only use this macro if there is no sensible fallback i.e. the error is unrecoverable, and + * there is no sensible error message. + * + * Ensures `m_cond` is false. + * If `m_cond` is true, the application crashes. + */ +#define CRASH_COND(m_cond) \ + if (unlikely(m_cond)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "FATAL: Condition \"" _STR(m_cond) "\" is true."); \ + GENERATE_TRAP(); \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_COND_MSG` or `ERR_FAIL_COND_V_MSG`. + * Only use this macro if there is no sensible fallback i.e. the error is unrecoverable. + * + * Ensures `m_cond` is false. + * If `m_cond` is true, prints `m_msg` and the application crashes. + */ +#define CRASH_COND_MSG(m_cond, m_msg) \ + if (unlikely(m_cond)) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "FATAL: Condition \"" _STR(m_cond) "\" is true.", DEBUG_STR(m_msg)); \ + GENERATE_TRAP(); \ + } else \ + ((void)0) + +// Generic error macros. + +/** + * Try using `ERR_FAIL_COND_MSG` or `ERR_FAIL_MSG`. + * Only use this macro if more complex error detection or recovery is required, and + * there is no sensible error message. + * + * The current function returns. + */ +#define ERR_FAIL() \ + if (true) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Method/function failed."); \ + return; \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_COND_MSG`. + * Only use this macro if more complex error detection or recovery is required. + * + * Prints `m_msg`, and the current function returns. + */ +#define ERR_FAIL_MSG(m_msg) \ + if (true) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Method/function failed.", DEBUG_STR(m_msg)); \ + return; \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_COND_V_MSG` or `ERR_FAIL_V_MSG`. + * Only use this macro if more complex error detection or recovery is required, and + * there is no sensible error message. + * + * The current function returns `m_retval`. + */ +#define ERR_FAIL_V(m_retval) \ + if (true) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Method/function failed. Returning: " _STR(m_retval)); \ + return m_retval; \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_COND_V_MSG`. + * Only use this macro if more complex error detection or recovery is required. + * + * Prints `m_msg`, and the current function returns `m_retval`. + */ +#define ERR_FAIL_V_MSG(m_retval, m_msg) \ + if (true) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Method/function failed. Returning: " _STR(m_retval), DEBUG_STR(m_msg)); \ + return m_retval; \ + } else \ + ((void)0) + +/** + * Try using `ERR_FAIL_COND_MSG`, `ERR_FAIL_COND_V_MSG`, `ERR_CONTINUE_MSG` or ERR_BREAK_MSG. + * Only use this macro at the start of a function that has not been implemented yet, or + * if more complex error detection or recovery is required. + * + * Prints `m_msg`. + */ +#define ERR_PRINT(m_msg) \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, m_msg) + +/** + * Prints `m_msg` once during the application lifetime. + */ +#define ERR_PRINT_ONCE(m_msg) \ + if (true) { \ + static bool first_print = true; \ + if (first_print) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, m_msg); \ + first_print = false; \ + } \ + } else \ + ((void)0) + +// Print warning message macros. + +/** + * Prints `m_msg`. + * + * If warning about deprecated usage, use `WARN_DEPRECATED` or `WARN_DEPRECATED_MSG` instead. + */ +#define WARN_PRINT(m_msg) \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, m_msg, true) + +/** + * Prints `m_msg` once during the application lifetime. + * + * If warning about deprecated usage, use `WARN_DEPRECATED` or `WARN_DEPRECATED_MSG` instead. + */ +#define WARN_PRINT_ONCE(m_msg) \ + if (true) { \ + static bool first_print = true; \ + if (first_print) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, m_msg, true); \ + first_print = false; \ + } \ + } else \ + ((void)0) + +// Print deprecated warning message macros. + +/** + * Warns that the current function is deprecated. + */ +#define WARN_DEPRECATED \ + if (true) { \ + static SafeFlag warning_shown; \ + if (!warning_shown.is_set()) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "This method has been deprecated and will be removed in the future.", true); \ + warning_shown.set(); \ + } \ + } else \ + ((void)0) + +/** + * Warns that the current function is deprecated and prints `m_msg`. + */ +#define WARN_DEPRECATED_MSG(m_msg) \ + if (true) { \ + static SafeFlag warning_shown; \ + if (!warning_shown.is_set()) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "This method has been deprecated and will be removed in the future.", DEBUG_STR(m_msg), true); \ + warning_shown.set(); \ + } \ + } else \ + ((void)0) + +/** + * Do not use. + * If the application should never reach this point use CRASH_NOW_MSG(m_msg) to explain why. + * + * The application crashes. + */ +#define CRASH_NOW() \ + if (true) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "FATAL: Method/function failed."); \ + GENERATE_TRAP(); \ + } else \ + ((void)0) + +/** + * Only use if the application should never reach this point. + * + * Prints `m_msg`, and then the application crashes. + */ +#define CRASH_NOW_MSG(m_msg) \ + if (true) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "FATAL: Method/function failed.", DEBUG_STR(m_msg)); \ + GENERATE_TRAP(); \ + } else \ + ((void)0) + +} // namespace godot + +/** + * Gives an error message when a method bind is invalid (likely the hash changed). + * Avoids crashing the application in this case. It's not free, so it's debug only. + */ +#ifdef DEBUG_ENABLED +#define CHECK_METHOD_BIND_RET(m_mb, m_ret) \ + if (unlikely(!m_mb)) { \ + ERR_PRINT_ONCE("Method bind was not found. Likely the engine method changed to an incompatible version."); \ + return m_ret; \ + } else \ + ((void)0) + +#define CHECK_METHOD_BIND(m_mb) \ + if (unlikely(!m_mb)) { \ + ERR_PRINT_ONCE("Method bind was not found. Likely the engine method changed to an incompatible version."); \ + return; \ + } else \ + ((void)0) +#else +#define CHECK_METHOD_BIND_RET(m_mb, m_ret) +#define CHECK_METHOD_BIND(m_mb) +#endif + +#endif // ! GODOT_CPP_ERROR_MACROS_HPP diff --git a/include/godot_cpp/core/memory.hpp b/include/godot_cpp/core/memory.hpp new file mode 100644 index 00000000..34d90798 --- /dev/null +++ b/include/godot_cpp/core/memory.hpp @@ -0,0 +1,115 @@ +/*************************************************************************/ +/* memory.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef GODOT_CPP_MEMORY_HPP +#define GODOT_CPP_MEMORY_HPP + +#include +#include + +#include +#include + +void *operator new(size_t p_size, const char *p_description); ///< operator new that takes a description and uses MemoryStaticPool +void *operator new(size_t p_size, void *p_pointer, size_t check, const char *p_description); ///< operator new that takes a description and uses a pointer to the preallocated memory + +_ALWAYS_INLINE_ void *operator new(size_t p_size, void *p_pointer, size_t check, const char *p_description) { + return p_pointer; +} + +namespace godot { + +class Memory { + Memory(); + +public: + static void *alloc_static(size_t p_bytes); + static void *realloc_static(void *p_memory, size_t p_bytes); + static void free_static(void *p_ptr); +}; + +#define memnew(m_v) (new ("") m_v) +#define memnew_placement(m_placement, m_class) (new (m_placement, sizeof(m_class), "") m_class) + +template +void memdelete(T *p_class) { + if (!__has_trivial_destructor(T)) { + p_class->~T(); + } + + Memory::free_static(p_class); +} + +#define memnew_arr(m_class, m_count) memnew_arr_template(m_count) + +template +T *memnew_arr_template(size_t p_elements, const char *p_descr = "") { + if (p_elements == 0) { + return nullptr; + } + /** overloading operator new[] cannot be done , because it may not return the real allocated address (it may pad the 'element count' before the actual array). Because of that, it must be done by hand. This is the + same strategy used by std::vector, and the Vector class, so it should be safe.*/ + + size_t len = sizeof(T) * p_elements; + uint64_t *mem = (uint64_t *)Memory::alloc_static(len); + T *failptr = nullptr; // Get rid of a warning. + ERR_FAIL_COND_V(!mem, failptr); + *(mem - 1) = p_elements; + + if (!__has_trivial_constructor(T)) { + T *elems = (T *)mem; + + /* call operator new */ + for (size_t i = 0; i < p_elements; i++) { + new (&elems[i], sizeof(T), p_descr) T; + } + } + + return (T *)mem; +} + +template +void memdelete_arr(T *p_class) { + uint64_t *ptr = (uint64_t *)p_class; + + if (!__has_trivial_destructor(T)) { + uint64_t elem_count = *(ptr - 1); + + for (uint64_t i = 0; i < elem_count; i++) { + p_class[i].~T(); + } + } + + Memory::free_static(ptr); +} + +} // namespace godot + +#endif // ! GODOT_CPP_MEMORY_HPP diff --git a/include/godot_cpp/core/method_bind.hpp b/include/godot_cpp/core/method_bind.hpp new file mode 100644 index 00000000..6caaf4d6 --- /dev/null +++ b/include/godot_cpp/core/method_bind.hpp @@ -0,0 +1,539 @@ +/*************************************************************************/ +/* method_bind.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef GODOT_CPP_METHOD_BIND_HPP +#define GODOT_CPP_METHOD_BIND_HPP + +#include +#include + +#include + +#include + +#include + +#include +#include + +#include + +namespace godot { + +class MethodBind { + const char *name = nullptr; + const char *instance_class = nullptr; + int argument_count = 0; + uint32_t hint_flags = METHOD_FLAGS_DEFAULT; + + bool _is_const = false; + bool _has_return = false; + + std::vector argument_names; + GDNativeVariantType *argument_types = nullptr; + std::vector default_arguments; + +protected: + virtual GDNativeVariantType gen_argument_type(int p_arg) const = 0; + virtual GDNativePropertyInfo gen_argument_type_info(int p_arg) const = 0; + void generate_argument_types(int p_count); + void set_const(bool p_const); + void set_return(bool p_return); + void set_argument_count(int p_count); + +public: + const char *get_name() const; + void set_name(const char *p_name); + _FORCE_INLINE_ int get_default_argument_count() const { return default_arguments.size(); } + _FORCE_INLINE_ const std::vector &get_default_arguments() const { return default_arguments; } + _FORCE_INLINE_ Variant has_default_argument(int p_arg) const { + int idx = p_arg - (argument_count - default_arguments.size()); + + if (idx < 0 || idx >= default_arguments.size()) { + return false; + } else { + return true; + } + } + _FORCE_INLINE_ Variant get_default_argument(int p_arg) const { + int idx = p_arg - (argument_count - default_arguments.size()); + + if (idx < 0 || idx >= default_arguments.size()) { + return Variant(); + } else { + return default_arguments[idx]; + } + } + _FORCE_INLINE_ const char *get_instance_class() const { return instance_class; } + _FORCE_INLINE_ void set_instance_class(const char *p_class) { instance_class = p_class; } + + _FORCE_INLINE_ int get_argument_count() const { return argument_count; }; + _FORCE_INLINE_ bool is_const() const { return _is_const; } + _FORCE_INLINE_ bool has_return() const { return _has_return; } + _FORCE_INLINE_ uint32_t get_hint_flags() const { return hint_flags; } + _FORCE_INLINE_ void set_hint_flags(uint32_t p_hint_flags) { hint_flags = p_hint_flags; } + void set_argument_names(const std::vector &p_names); + std::vector get_argument_names() const; + void set_default_arguments(const std::vector &p_default_arguments) { default_arguments = p_default_arguments; } + + _FORCE_INLINE_ GDNativeVariantType get_argument_type(int p_argument) const { + ERR_FAIL_COND_V(p_argument < -1 || p_argument > argument_count, GDNATIVE_VARIANT_TYPE_NIL); + return argument_types[p_argument + 1]; + } + + GDNativePropertyInfo get_argument_info(int p_argument) const; + virtual GDNativeExtensionClassMethodArgumentMetadata get_argument_metadata(int p_argument) const = 0; + + virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDNativeVariantPtr *p_args, const GDNativeInt p_argument_count, GDNativeCallError &r_error) const = 0; + virtual void ptrcall(GDExtensionClassInstancePtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr r_return) const = 0; + + // Extension info. + static GDNativeVariantType bind_get_argument_type(void *p_method_userdata, int32_t p_argument); + static void bind_get_argument_info(void *p_method_userdata, int32_t p_argument, GDNativePropertyInfo *r_info); + static GDNativeExtensionClassMethodArgumentMetadata bind_get_argument_metadata(void *p_method_userdata, int32_t p_argument); + + static void bind_call(void *p_method_userdata, GDExtensionClassInstancePtr p_instance, const GDNativeVariantPtr *p_args, const GDNativeInt p_argument_count, GDNativeVariantPtr r_return, GDNativeCallError *r_error); + static void bind_ptrcall(void *p_method_userdata, GDExtensionClassInstancePtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr r_return); + + virtual ~MethodBind(); +}; + +template +class MethodBindVarArg : public MethodBind { +public: + typedef Variant (T::*NativeCall)(const Variant **, GDNativeInt, GDNativeCallError &); + +protected: + NativeCall call_method = nullptr; + MethodInfo arguments; + +public: + virtual GDNativePropertyInfo gen_argument_type_info(int p_arg) const { + if (p_arg < 0) { + return arguments.return_val; + } else if (p_arg < arguments.arguments.size()) { + return arguments.arguments[p_arg]; + } else { + return PropertyInfo(Variant::NIL, "vararg", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_NIL_IS_VARIANT); + } + } + + virtual GDNativeVariantType gen_argument_type(int p_arg) const { + return static_cast(gen_argument_type_info(p_arg).type); + } + + virtual GDNativeExtensionClassMethodArgumentMetadata get_argument_metadata(int) const { + return GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_NONE; + } + + virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDNativeVariantPtr *p_args, const GDNativeInt p_argument_count, GDNativeCallError &r_error) const { + T *instance = static_cast(p_instance); + return (instance->*call_method)((const Variant **)p_args, p_argument_count, r_error); + } + + void set_method_info(const MethodInfo &p_info, bool p_return_nil_is_variant) { + set_argument_count(p_info.arguments.size()); + if (p_info.arguments.size()) { + std::vector names; + names.reserve(p_info.arguments.size()); + for (int i = 0; i < p_info.arguments.size(); i++) { + names.push_back(p_info.arguments[i].name); + } + + set_argument_names(names); + } + + arguments = p_info; + + if (p_return_nil_is_variant) { + arguments.return_val.usage |= PROPERTY_USAGE_NIL_IS_VARIANT; + } + generate_argument_types(p_info.arguments.size()); + } + + virtual void ptrcall(GDExtensionClassInstancePtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr r_return) const { + ERR_FAIL(); // Can't call. + } + + void set_method(NativeCall p_method) { call_method = p_method; } + virtual bool is_const() const { return false; } + + virtual bool is_vararg() const { return true; } + + MethodBindVarArg() { + set_return(true); + } +}; + +template +MethodBind *create_vararg_method_bind(Variant (T::*p_method)(const Variant **, GDNativeInt, GDNativeCallError &), const MethodInfo &p_info, bool p_return_nil_is_variant) { + MethodBindVarArg *a = memnew((MethodBindVarArg)); + a->set_method(p_method); + a->set_method_info(p_info, p_return_nil_is_variant); + a->set_instance_class(T::get_class_static()); + return a; +} + +#ifndef TYPED_METHOD_BIND +class ___UnexistingClass; +#define MB_T ___UnexistingClass +#else +#define MB_T T +#endif + +// No return, not const. + +#ifdef TYPED_METHOD_BIND +template +#else +template +#endif // TYPED_METHOD_BIND +class MethodBindT : public MethodBind { + void (MB_T::*method)(P...); + +protected: +// GCC raises warnings in the case P = {} as the comparison is always false... +#if defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wlogical-op" +#endif + virtual GDNativeVariantType gen_argument_type(int p_arg) const { + if (p_arg >= 0 && p_arg < (int)sizeof...(P)) { + return call_get_argument_type(p_arg); + } else { + return GDNATIVE_VARIANT_TYPE_NIL; + } + } + + virtual GDNativePropertyInfo gen_argument_type_info(int p_arg) const { + GDNativePropertyInfo pi; + if (p_arg >= 0 && p_arg < (int)sizeof...(P)) { + call_get_argument_type_info(p_arg, pi); + } else { + pi = PropertyInfo(); + } + return pi; + } +#if defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic pop +#endif + +public: + virtual GDNativeExtensionClassMethodArgumentMetadata get_argument_metadata(int p_argument) const { + return call_get_argument_metadata(p_argument); + } + + virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDNativeVariantPtr *p_args, const GDNativeInt p_argument_count, GDNativeCallError &r_error) const { +#ifdef TYPED_METHOD_BIND + call_with_variant_args_dv(static_cast(p_instance), method, p_args, p_argument_count, r_error, get_default_arguments()); +#else + call_with_variant_args_dv(reinterpret_cast(p_instance), method, p_args, p_argument_count, r_error, get_default_arguments()); +#endif + return Variant(); + } + virtual void ptrcall(GDExtensionClassInstancePtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr r_ret) const { +#ifdef TYPED_METHOD_BIND + call_with_ptr_args(static_cast(p_instance), method, p_args); +#else + call_with_ptr_args(reinterpret_cast(p_instance), method, p_args); +#endif // TYPED_METHOD_BIND + } + + MethodBindT(void (MB_T::*p_method)(P...)) { + method = p_method; +#ifdef DEBUG_METHODS_ENABLED + generate_argument_types(sizeof...(P)); +#endif // DEBUG_METHODS_ENABLED + set_argument_count(sizeof...(P)); + } +}; + +template +MethodBind *create_method_bind(void (T::*p_method)(P...)) { +#ifdef TYPED_METHOD_BIND + MethodBind *a = memnew((MethodBindT)(p_method)); +#else + MethodBind *a = memnew((MethodBindT)(reinterpret_cast(p_method))); +#endif // TYPED_METHOD_BIND + a->set_instance_class(T::get_class_static()); + return a; +} + +// No return, const. + +#ifdef TYPED_METHOD_BIND +template +#else +template +#endif // TYPED_METHOD_BIND +class MethodBindTC : public MethodBind { + void (MB_T::*method)(P...) const; + +protected: +// GCC raises warnings in the case P = {} as the comparison is always false... +#if defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wlogical-op" +#endif + virtual GDNativeVariantType gen_argument_type(int p_arg) const { + if (p_arg >= 0 && p_arg < (int)sizeof...(P)) { + return call_get_argument_type(p_arg); + } else { + return GDNATIVE_VARIANT_TYPE_NIL; + } + } + + virtual GDNativePropertyInfo gen_argument_type_info(int p_arg) const { + GDNativePropertyInfo pi; + if (p_arg >= 0 && p_arg < (int)sizeof...(P)) { + call_get_argument_type_info(p_arg, pi); + } else { + pi = PropertyInfo(); + } + return pi; + } +#if defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic pop +#endif + +public: + virtual GDNativeExtensionClassMethodArgumentMetadata get_argument_metadata(int p_argument) const { + return call_get_argument_metadata(p_argument); + } + + virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDNativeVariantPtr *p_args, const GDNativeInt p_argument_count, GDNativeCallError &r_error) const { +#ifdef TYPED_METHOD_BIND + call_with_variant_argsc_dv(static_cast(p_instance), method, p_args, p_argument_count, r_error, get_default_arguments()); +#else + call_with_variant_argsc_dv(reinterpret_cast(p_instance), method, p_args, p_argument_count, r_error, get_default_arguments()); +#endif + return Variant(); + } + virtual void ptrcall(GDExtensionClassInstancePtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr r_ret) const { +#ifdef TYPED_METHOD_BIND + call_with_ptr_args(static_cast(p_instance), method, p_args); +#else + call_with_ptr_args(reinterpret_cast(p_instance), method, p_args); +#endif // TYPED_METHOD_BIND + } + + MethodBindTC(void (MB_T::*p_method)(P...) const) { + method = p_method; +#ifdef DEBUG_METHODS_ENABLED + generate_argument_types(sizeof...(P)); +#endif // DEBUG_METHODS_ENABLED + set_argument_count(sizeof...(P)); + } +}; + +template +MethodBind *create_method_bind(void (T::*p_method)(P...) const) { +#ifdef TYPED_METHOD_BIND + MethodBind *a = memnew((MethodBindTC)(p_method)); +#else + MethodBind *a = memnew((MethodBindTC)(reinterpret_cast(p_method))); +#endif // TYPED_METHOD_BIND + a->set_instance_class(T::get_class_static()); + return a; +} + +// Return, not const. + +#ifdef TYPED_METHOD_BIND +template +#else +template +#endif // TYPED_METHOD_BIND +class MethodBindTR : public MethodBind { + R(MB_T::*method) + (P...); + +protected: +// GCC raises warnings in the case P = {} as the comparison is always false... +#if defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wlogical-op" +#endif + virtual GDNativeVariantType gen_argument_type(int p_arg) const { + if (p_arg >= 0 && p_arg < (int)sizeof...(P)) { + return call_get_argument_type(p_arg); + } else { + return GetTypeInfo::VARIANT_TYPE; + } + } + + virtual GDNativePropertyInfo gen_argument_type_info(int p_arg) const { + if (p_arg >= 0 && p_arg < (int)sizeof...(P)) { + GDNativePropertyInfo pi; + call_get_argument_type_info(p_arg, pi); + return pi; + } else { + return GetTypeInfo::get_class_info(); + } + } +#if defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic pop +#endif + +public: + virtual GDNativeExtensionClassMethodArgumentMetadata get_argument_metadata(int p_argument) const { + if (p_argument >= 0) { + return call_get_argument_metadata(p_argument); + } else { + return GetTypeInfo::METADATA; + } + } + + virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDNativeVariantPtr *p_args, const GDNativeInt p_argument_count, GDNativeCallError &r_error) const { + Variant ret; +#ifdef TYPED_METHOD_BIND + call_with_variant_args_ret_dv(static_cast(p_instance), method, p_args, p_argument_count, ret, r_error, get_default_arguments()); +#else + call_with_variant_args_ret_dv((MB_T *)p_instance, method, p_args, p_argument_count, ret, r_error, get_default_arguments()); +#endif + return ret; + } + virtual void ptrcall(GDExtensionClassInstancePtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr r_ret) const { +#ifdef TYPED_METHOD_BIND + call_with_ptr_args(static_cast(p_instance), method, p_args, r_ret); +#else + call_with_ptr_args(reinterpret_cast(p_instance), method, p_args, r_ret); +#endif // TYPED_METHOD_BIND + } + + MethodBindTR(R (MB_T::*p_method)(P...)) { + method = p_method; +#ifdef DEBUG_METHODS_ENABLED + generate_argument_types(sizeof...(P)); +#endif // DEBUG_METHODS_ENABLED + set_argument_count(sizeof...(P)); + set_return(true); + } +}; + +template +MethodBind *create_method_bind(R (T::*p_method)(P...)) { +#ifdef TYPED_METHOD_BIND + MethodBind *a = memnew((MethodBindTR)(p_method)); +#else + MethodBind *a = memnew((MethodBindTR)(reinterpret_cast(p_method))); +#endif // TYPED_METHOD_BIND + a->set_instance_class(T::get_class_static()); + return a; +} + +// Return, const. + +#ifdef TYPED_METHOD_BIND +template +#else +template +#endif // TYPED_METHOD_BIND +class MethodBindTRC : public MethodBind { + R(MB_T::*method) + (P...) const; + +protected: +// GCC raises warnings in the case P = {} as the comparison is always false... +#if defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wlogical-op" +#endif + virtual GDNativeVariantType gen_argument_type(int p_arg) const { + if (p_arg >= 0 && p_arg < (int)sizeof...(P)) { + return call_get_argument_type(p_arg); + } else { + return GetTypeInfo::VARIANT_TYPE; + } + } + + virtual GDNativePropertyInfo gen_argument_type_info(int p_arg) const { + if (p_arg >= 0 && p_arg < (int)sizeof...(P)) { + GDNativePropertyInfo pi; + call_get_argument_type_info(p_arg, pi); + return pi; + } else { + return GetTypeInfo::get_class_info(); + } + } +#if defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic pop +#endif + +public: + virtual GDNativeExtensionClassMethodArgumentMetadata get_argument_metadata(int p_argument) const { + if (p_argument >= 0) { + return call_get_argument_metadata(p_argument); + } else { + return GetTypeInfo::METADATA; + } + } + + virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDNativeVariantPtr *p_args, const GDNativeInt p_argument_count, GDNativeCallError &r_error) const { + Variant ret; +#ifdef TYPED_METHOD_BIND + call_with_variant_args_retc_dv(static_cast(p_instance), method, p_args, p_argument_count, ret, r_error, get_default_arguments()); +#else + call_with_variant_args_retc_dv((MB_T *)p_instance, method, p_args, p_argument_count, ret, r_error, get_default_arguments()); +#endif + return ret; + } + virtual void ptrcall(GDExtensionClassInstancePtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr r_ret) const { +#ifdef TYPED_METHOD_BIND + call_with_ptr_args(static_cast(p_instance), method, p_args, r_ret); +#else + call_with_ptr_args(reinterpret_cast(p_instance), method, p_args, r_ret); +#endif // TYPED_METHOD_BIND + } + + MethodBindTRC(R (MB_T::*p_method)(P...) const) { + method = p_method; +#ifdef DEBUG_METHODS_ENABLED + generate_argument_types(sizeof...(P)); +#endif // DEBUG_METHODS_ENABLED + set_argument_count(sizeof...(P)); + set_return(true); + } +}; + +template +MethodBind *create_method_bind(R (T::*p_method)(P...) const) { +#ifdef TYPED_METHOD_BIND + MethodBind *a = memnew((MethodBindTRC)(p_method)); +#else + MethodBind *a = memnew((MethodBindTRC)(reinterpret_cast(p_method))); +#endif // TYPED_METHOD_BIND + a->set_instance_class(T::get_class_static()); + return a; +} + +} // namespace godot + +#endif // ! GODOT_CPP_METHOD_BIND_HPP diff --git a/include/godot_cpp/core/method_ptrcall.hpp b/include/godot_cpp/core/method_ptrcall.hpp new file mode 100644 index 00000000..b0b98748 --- /dev/null +++ b/include/godot_cpp/core/method_ptrcall.hpp @@ -0,0 +1,189 @@ +/*************************************************************************/ +/* method_ptrcall.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef GODOT_CPP_METHOD_PTRCALL_HPP +#define GODOT_CPP_METHOD_PTRCALL_HPP + +#include + +#include +#include + +namespace godot { + +template +struct PtrToArg {}; + +#define MAKE_PTRARG(m_type) \ + template <> \ + struct PtrToArg { \ + _FORCE_INLINE_ static m_type convert(const void *p_ptr) { \ + return *reinterpret_cast(p_ptr); \ + } \ + typedef m_type EncodeT; \ + _FORCE_INLINE_ static void encode(m_type p_val, void *p_ptr) { \ + *((m_type *)p_ptr) = p_val; \ + } \ + }; \ + template <> \ + struct PtrToArg { \ + _FORCE_INLINE_ static m_type convert(const void *p_ptr) { \ + return *reinterpret_cast(p_ptr); \ + } \ + typedef m_type EncodeT; \ + _FORCE_INLINE_ static void encode(m_type p_val, void *p_ptr) { \ + *((m_type *)p_ptr) = p_val; \ + } \ + } + +#define MAKE_PTRARGCONV(m_type, m_conv) \ + template <> \ + struct PtrToArg { \ + _FORCE_INLINE_ static m_type convert(const void *p_ptr) { \ + return static_cast(*reinterpret_cast(p_ptr)); \ + } \ + typedef m_conv EncodeT; \ + _FORCE_INLINE_ static void encode(m_type p_val, void *p_ptr) { \ + *((m_conv *)p_ptr) = static_cast(p_val); \ + } \ + _FORCE_INLINE_ static m_conv encode_arg(m_type p_val) { \ + return static_cast(p_val); \ + } \ + }; \ + template <> \ + struct PtrToArg { \ + _FORCE_INLINE_ static m_type convert(const void *p_ptr) { \ + return static_cast(*reinterpret_cast(p_ptr)); \ + } \ + typedef m_conv EncodeT; \ + _FORCE_INLINE_ static void encode(m_type p_val, void *p_ptr) { \ + *((m_conv *)p_ptr) = static_cast(p_val); \ + } \ + _FORCE_INLINE_ static m_conv encode_arg(m_type p_val) { \ + return static_cast(p_val); \ + } \ + } + +#define MAKE_PTRARG_BY_REFERENCE(m_type) \ + template <> \ + struct PtrToArg { \ + _FORCE_INLINE_ static m_type convert(const void *p_ptr) { \ + return *reinterpret_cast(p_ptr); \ + } \ + typedef m_type EncodeT; \ + _FORCE_INLINE_ static void encode(const m_type &p_val, void *p_ptr) { \ + *((m_type *)p_ptr) = p_val; \ + } \ + }; \ + template <> \ + struct PtrToArg { \ + _FORCE_INLINE_ static m_type convert(const void *p_ptr) { \ + return *reinterpret_cast(p_ptr); \ + } \ + typedef m_type EncodeT; \ + _FORCE_INLINE_ static void encode(const m_type &p_val, void *p_ptr) { \ + *((m_type *)p_ptr) = p_val; \ + } \ + } + +MAKE_PTRARGCONV(bool, uint8_t); +// Integer types. +MAKE_PTRARGCONV(uint8_t, int64_t); +MAKE_PTRARGCONV(int8_t, int64_t); +MAKE_PTRARGCONV(uint16_t, int64_t); +MAKE_PTRARGCONV(int16_t, int64_t); +MAKE_PTRARGCONV(uint32_t, int64_t); +MAKE_PTRARGCONV(int32_t, int64_t); +MAKE_PTRARG(int64_t); +MAKE_PTRARG(uint64_t); +// Float types +MAKE_PTRARGCONV(float, double); +MAKE_PTRARG(double); + +MAKE_PTRARG(String); +MAKE_PTRARG(Vector2); +MAKE_PTRARG(Vector2i); +MAKE_PTRARG(Rect2); +MAKE_PTRARG(Rect2i); +MAKE_PTRARG_BY_REFERENCE(Vector3); +MAKE_PTRARG_BY_REFERENCE(Vector3i); +MAKE_PTRARG(Transform2D); +MAKE_PTRARG_BY_REFERENCE(Plane); +MAKE_PTRARG(Quaternion); +MAKE_PTRARG_BY_REFERENCE(AABB); +MAKE_PTRARG_BY_REFERENCE(Basis); +MAKE_PTRARG_BY_REFERENCE(Transform3D); +MAKE_PTRARG_BY_REFERENCE(Color); +MAKE_PTRARG(StringName); +MAKE_PTRARG(NodePath); +MAKE_PTRARG(RID); +// Object doesn't need this. +MAKE_PTRARG(Callable); +MAKE_PTRARG(Signal); +MAKE_PTRARG(Dictionary); +MAKE_PTRARG(Array); +MAKE_PTRARG(PackedByteArray); +MAKE_PTRARG(PackedInt32Array); +MAKE_PTRARG(PackedInt64Array); +MAKE_PTRARG(PackedFloat32Array); +MAKE_PTRARG(PackedFloat64Array); +MAKE_PTRARG(PackedStringArray); +MAKE_PTRARG(PackedVector2Array); +MAKE_PTRARG(PackedVector3Array); +MAKE_PTRARG(PackedColorArray); +MAKE_PTRARG_BY_REFERENCE(Variant); + +// This is for Object. + +template +struct PtrToArg { + _FORCE_INLINE_ static T *convert(const void *p_ptr) { + return reinterpret_cast(godot::internal::interface->object_get_instance_binding(p_ptr, godot::internal::token, T::___binding_callbacks)); + } + typedef Object *EncodeT; + _FORCE_INLINE_ static void encode(T *p_var, void *p_ptr) { + p_ptr = p_var->_owner; + } +}; + +template +struct PtrToArg { + _FORCE_INLINE_ static const T *convert(const void *p_ptr) { + return reinterpret_cast(godot::internal::interface->object_get_instance_binding(p_ptr, godot::internal::token, T::___binding_callbacks)); + } + typedef const Object *EncodeT; + _FORCE_INLINE_ static void encode(T *p_var, void *p_ptr) { + p_ptr = p_var->_owner; + } +}; + +} // namespace godot + +#endif // ! GODOT_CPP_METHOD_PTRCALL_HPP diff --git a/include/godot_cpp/core/object.hpp b/include/godot_cpp/core/object.hpp new file mode 100644 index 00000000..61cedcb6 --- /dev/null +++ b/include/godot_cpp/core/object.hpp @@ -0,0 +1,146 @@ +/*************************************************************************/ +/* object.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef GODOT_OBJECT_HPP +#define GODOT_OBJECT_HPP + +#include +#include + +#include + +#include + +#include + +#include + +#define ADD_SIGNAL(m_signal) ClassDB::add_signal(get_class_static(), m_signal) +#define ADD_PROPERTY(m_property, m_setter, m_getter) ClassDB::add_property(get_class_static(), m_property, m_setter, m_getter) + +namespace godot { + +struct PropertyInfo { + Variant::Type type = Variant::NIL; + const char *name = nullptr; + const char *class_name = nullptr; + uint32_t hint = 0; + const char *hint_string = nullptr; + uint32_t usage = 7; + + operator GDNativePropertyInfo() const { + GDNativePropertyInfo info; + info.type = type; + info.name = name; + info.hint = hint; + info.hint_string = hint_string; + info.class_name = class_name; + info.usage = usage; + return info; + } + + PropertyInfo() = default; + + PropertyInfo(Variant::Type p_type, const char *p_name, PropertyHint p_hint = PROPERTY_HINT_NONE, const char *p_hint_string = "", uint32_t p_usage = PROPERTY_USAGE_DEFAULT, const char *p_class_name = "") : + type(p_type), + name(p_name), + hint(p_hint), + hint_string(p_hint_string), + usage(p_usage) { + if (hint == PROPERTY_HINT_RESOURCE_TYPE) { + class_name = hint_string; + } else { + class_name = p_class_name; + } + } + + PropertyInfo(GDNativeVariantType p_type, const char *p_name, PropertyHint p_hint = PROPERTY_HINT_NONE, const char *p_hint_string = "", uint32_t p_usage = PROPERTY_USAGE_DEFAULT, const char *p_class_name = "") : + PropertyInfo((Variant::Type)p_type, p_name, p_hint, p_hint_string, p_usage, p_class_name) {} +}; + +struct MethodInfo { + const char *name; + PropertyInfo return_val; + uint32_t flags; + int id = 0; + std::vector arguments; + std::vector default_arguments; + + inline bool operator==(const MethodInfo &p_method) const { return id == p_method.id; } + inline bool operator<(const MethodInfo &p_method) const { return id == p_method.id ? (name < p_method.name) : (id < p_method.id); } + + operator Dictionary() const; + + static MethodInfo from_dict(const Dictionary &p_dict); + + MethodInfo(); + MethodInfo(const char *p_name); + template + MethodInfo(const char *p_name, const Args &...args); + MethodInfo(Variant::Type ret); + MethodInfo(Variant::Type ret, const char *p_name); + template + MethodInfo(Variant::Type ret, const char *p_name, const Args &...args); + MethodInfo(const PropertyInfo &p_ret, const char *p_name); + template + MethodInfo(const PropertyInfo &p_ret, const char *p_name, const Args &...); +}; + +template +MethodInfo::MethodInfo(const char *p_name, const Args &...args) : + name(p_name), flags(METHOD_FLAG_NORMAL) { + arguments = { args... }; +} + +template +MethodInfo::MethodInfo(Variant::Type ret, const char *p_name, const Args &...args) : + name(p_name), flags(METHOD_FLAG_NORMAL) { + return_val.type = ret; + arguments = { args... }; +} + +template +MethodInfo::MethodInfo(const PropertyInfo &p_ret, const char *p_name, const Args &...args) : + name(p_name), return_val(p_ret), flags(METHOD_FLAG_NORMAL) { + arguments = { args... }; +} + +template +T *Object::cast_to(Object *p_object) { + GDNativeObjectPtr casted = internal::interface->object_cast_to(p_object->_owner, internal::interface->classdb_get_class_tag(T::get_class_static())); + if (casted == nullptr) { + return nullptr; + } + return reinterpret_cast(internal::interface->object_get_instance_binding(casted, internal::token, &T::___binding_callbacks)); +} + +} // namespace godot + +#endif // ! GODOT_OBJECT_HPP diff --git a/include/godot_cpp/core/type_info.hpp b/include/godot_cpp/core/type_info.hpp new file mode 100644 index 00000000..d7a7473e --- /dev/null +++ b/include/godot_cpp/core/type_info.hpp @@ -0,0 +1,178 @@ +/*************************************************************************/ +/* type_info.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef GODOT_TYPE_INFO_HPP +#define GODOT_TYPE_INFO_HPP + +#include +#include + +#include + +namespace godot { + +// If the compiler fails because it's trying to instantiate the primary 'GetTypeInfo' template +// instead of one of the specializations, it's most likely because the type 'T' is not supported. +// If 'T' is a class that inherits 'Object', make sure it can see the actual class declaration +// instead of a forward declaration. You can always forward declare 'T' in a header file, and then +// include the actual declaration of 'T' in the source file where 'GetTypeInfo' is instantiated. + +template +struct GetTypeInfo; + +#define MAKE_TYPE_INFO(m_type, m_var_type) \ + template <> \ + struct GetTypeInfo { \ + static constexpr GDNativeVariantType VARIANT_TYPE = m_var_type; \ + static constexpr GDNativeExtensionClassMethodArgumentMetadata METADATA = GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_NONE; \ + static inline GDNativePropertyInfo get_class_info() { \ + return PropertyInfo(VARIANT_TYPE, ""); \ + } \ + }; \ + template <> \ + struct GetTypeInfo { \ + static constexpr GDNativeVariantType VARIANT_TYPE = m_var_type; \ + static constexpr GDNativeExtensionClassMethodArgumentMetadata METADATA = GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_NONE; \ + static inline GDNativePropertyInfo get_class_info() { \ + return PropertyInfo(VARIANT_TYPE, ""); \ + } \ + }; + +#define MAKE_TYPE_INFO_WITH_META(m_type, m_var_type, m_metadata) \ + template <> \ + struct GetTypeInfo { \ + static constexpr GDNativeVariantType VARIANT_TYPE = m_var_type; \ + static constexpr GDNativeExtensionClassMethodArgumentMetadata METADATA = m_metadata; \ + static inline GDNativePropertyInfo get_class_info() { \ + return PropertyInfo(VARIANT_TYPE, ""); \ + } \ + }; \ + template <> \ + struct GetTypeInfo { \ + static constexpr GDNativeVariantType VARIANT_TYPE = m_var_type; \ + static constexpr GDNativeExtensionClassMethodArgumentMetadata METADATA = m_metadata; \ + static inline GDNativePropertyInfo get_class_info() { \ + return PropertyInfo(VARIANT_TYPE, ""); \ + } \ + }; + +MAKE_TYPE_INFO(bool, GDNATIVE_VARIANT_TYPE_BOOL) +MAKE_TYPE_INFO_WITH_META(uint8_t, GDNATIVE_VARIANT_TYPE_INT, GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT8) +MAKE_TYPE_INFO_WITH_META(int8_t, GDNATIVE_VARIANT_TYPE_INT, GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT8) +MAKE_TYPE_INFO_WITH_META(uint16_t, GDNATIVE_VARIANT_TYPE_INT, GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT16) +MAKE_TYPE_INFO_WITH_META(int16_t, GDNATIVE_VARIANT_TYPE_INT, GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT16) +MAKE_TYPE_INFO_WITH_META(uint32_t, GDNATIVE_VARIANT_TYPE_INT, GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT32) +MAKE_TYPE_INFO_WITH_META(int32_t, GDNATIVE_VARIANT_TYPE_INT, GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT32) +MAKE_TYPE_INFO_WITH_META(uint64_t, GDNATIVE_VARIANT_TYPE_INT, GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT64) +MAKE_TYPE_INFO_WITH_META(int64_t, GDNATIVE_VARIANT_TYPE_INT, GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT64) +MAKE_TYPE_INFO(char16_t, GDNATIVE_VARIANT_TYPE_INT) +MAKE_TYPE_INFO(char32_t, GDNATIVE_VARIANT_TYPE_INT) +MAKE_TYPE_INFO_WITH_META(float, GDNATIVE_VARIANT_TYPE_FLOAT, GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_REAL_IS_FLOAT) +MAKE_TYPE_INFO_WITH_META(double, GDNATIVE_VARIANT_TYPE_FLOAT, GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_REAL_IS_DOUBLE) + +MAKE_TYPE_INFO(String, GDNATIVE_VARIANT_TYPE_STRING) +MAKE_TYPE_INFO(Vector2, GDNATIVE_VARIANT_TYPE_VECTOR2) +MAKE_TYPE_INFO(Vector2i, GDNATIVE_VARIANT_TYPE_VECTOR2I) +MAKE_TYPE_INFO(Rect2, GDNATIVE_VARIANT_TYPE_RECT2) +MAKE_TYPE_INFO(Rect2i, GDNATIVE_VARIANT_TYPE_RECT2I) +MAKE_TYPE_INFO(Vector3, GDNATIVE_VARIANT_TYPE_VECTOR3) +MAKE_TYPE_INFO(Vector3i, GDNATIVE_VARIANT_TYPE_VECTOR3I) +MAKE_TYPE_INFO(Transform2D, GDNATIVE_VARIANT_TYPE_TRANSFORM2D) +MAKE_TYPE_INFO(Plane, GDNATIVE_VARIANT_TYPE_PLANE) +MAKE_TYPE_INFO(Quaternion, GDNATIVE_VARIANT_TYPE_QUATERNION) +MAKE_TYPE_INFO(AABB, GDNATIVE_VARIANT_TYPE_AABB) +MAKE_TYPE_INFO(Basis, GDNATIVE_VARIANT_TYPE_BASIS) +MAKE_TYPE_INFO(Transform3D, GDNATIVE_VARIANT_TYPE_TRANSFORM3D) +MAKE_TYPE_INFO(Color, GDNATIVE_VARIANT_TYPE_COLOR) +MAKE_TYPE_INFO(StringName, GDNATIVE_VARIANT_TYPE_STRING_NAME) +MAKE_TYPE_INFO(NodePath, GDNATIVE_VARIANT_TYPE_NODE_PATH) +MAKE_TYPE_INFO(RID, GDNATIVE_VARIANT_TYPE_RID) +MAKE_TYPE_INFO(Callable, GDNATIVE_VARIANT_TYPE_CALLABLE) +MAKE_TYPE_INFO(Signal, GDNATIVE_VARIANT_TYPE_SIGNAL) +MAKE_TYPE_INFO(Dictionary, GDNATIVE_VARIANT_TYPE_DICTIONARY) +MAKE_TYPE_INFO(Array, GDNATIVE_VARIANT_TYPE_ARRAY) +MAKE_TYPE_INFO(PackedByteArray, GDNATIVE_VARIANT_TYPE_PACKED_BYTE_ARRAY) +MAKE_TYPE_INFO(PackedInt32Array, GDNATIVE_VARIANT_TYPE_PACKED_INT32_ARRAY) +MAKE_TYPE_INFO(PackedInt64Array, GDNATIVE_VARIANT_TYPE_PACKED_INT64_ARRAY) +MAKE_TYPE_INFO(PackedFloat32Array, GDNATIVE_VARIANT_TYPE_PACKED_FLOAT32_ARRAY) +MAKE_TYPE_INFO(PackedFloat64Array, GDNATIVE_VARIANT_TYPE_PACKED_FLOAT64_ARRAY) +MAKE_TYPE_INFO(PackedStringArray, GDNATIVE_VARIANT_TYPE_PACKED_STRING_ARRAY) +MAKE_TYPE_INFO(PackedVector2Array, GDNATIVE_VARIANT_TYPE_PACKED_VECTOR2_ARRAY) +MAKE_TYPE_INFO(PackedVector3Array, GDNATIVE_VARIANT_TYPE_PACKED_VECTOR3_ARRAY) +MAKE_TYPE_INFO(PackedColorArray, GDNATIVE_VARIANT_TYPE_PACKED_COLOR_ARRAY) + +// For variant. +template <> +struct GetTypeInfo { + static constexpr GDNativeVariantType VARIANT_TYPE = GDNATIVE_VARIANT_TYPE_NIL; + static constexpr GDNativeExtensionClassMethodArgumentMetadata METADATA = GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_NONE; + static inline GDNativePropertyInfo get_class_info() { + return PropertyInfo(GDNATIVE_VARIANT_TYPE_NIL, "", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_NIL_IS_VARIANT); + } +}; + +template <> +struct GetTypeInfo { + static constexpr GDNativeVariantType VARIANT_TYPE = GDNATIVE_VARIANT_TYPE_NIL; + static constexpr GDNativeExtensionClassMethodArgumentMetadata METADATA = GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_NONE; + static inline GDNativePropertyInfo get_class_info() { + return PropertyInfo(GDNATIVE_VARIANT_TYPE_NIL, "", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_NIL_IS_VARIANT); + } +}; + +#define TEMPL_MAKE_ENUM_TYPE_INFO(m_class, m_enum, m_impl) \ + template <> \ + struct GetTypeInfo { \ + static const Variant::Type VARIANT_TYPE = Variant::INT; \ + static const GDNativeExtensionClassMethodArgumentMetadata METADATA = GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_NONE; \ + static inline GDNativePropertyInfo get_class_info() { \ + return PropertyInfo(GDNATIVE_VARIANT_TYPE_INT, "", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_CLASS_IS_ENUM, #m_class "." #m_enum); \ + } \ + }; + +#define MAKE_ENUM_TYPE_INFO(m_class, m_enum) \ + TEMPL_MAKE_ENUM_TYPE_INFO(m_class, m_enum, m_class::m_enum) \ + TEMPL_MAKE_ENUM_TYPE_INFO(m_class, m_enum, m_class::m_enum const) \ + TEMPL_MAKE_ENUM_TYPE_INFO(m_class, m_enum, m_class::m_enum &) \ + TEMPL_MAKE_ENUM_TYPE_INFO(m_class, m_enum, const m_class::m_enum &) + +template +inline const char *__constant_get_enum_name(T param, const char *p_constant) { + if (GetTypeInfo::VARIANT_TYPE == Variant::NIL) { + ERR_PRINT(("Missing VARIANT_ENUM_CAST for constant's enum: " + String(p_constant)).utf8().get_data()); + } + return GetTypeInfo::get_class_info().class_name; +} + +#define CLASS_INFO(m_type) (GetTypeInfo::get_class_info()) + +} // namespace godot + +#endif // ! GODOT_TYPE_INFO_HPP diff --git a/include/core/RID.hpp b/include/godot_cpp/godot.hpp similarity index 72% rename from include/core/RID.hpp rename to include/godot_cpp/godot.hpp index e36e1c34..f2bdf735 100644 --- a/include/core/RID.hpp +++ b/include/godot_cpp/godot.hpp @@ -1,5 +1,5 @@ /*************************************************************************/ -/* RID.hpp */ +/* godot.hpp */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -28,40 +28,31 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef RID_H -#define RID_H +#ifndef GODOT_HPP +#define GODOT_HPP -#include +#include namespace godot { -class Object; +namespace internal { -class RID { - godot_rid _godot_rid; +extern "C" const GDNativeInterface *interface; +extern "C" GDNativeExtensionClassLibraryPtr library; +extern "C" void *token; +} // namespace internal + +class GDExtensionBinding { public: - RID(); + static GDNativeBool init(const GDNativeInterface *p_interface, const GDNativeExtensionClassLibraryPtr p_library, GDNativeInitialization *r_initialization); + static void initialize_level(void *userdata, GDNativeInitializationLevel p_level); + static void deinitialize_level(void *userdata, GDNativeInitializationLevel p_level); - RID(Object *p); - - godot_rid _get_godot_rid() const; - - int32_t get_id() const; - - inline bool is_valid() const { - // is_valid() is not available in the C API... - return *this != RID(); - } - - bool operator==(const RID &p_other) const; - bool operator!=(const RID &p_other) const; - bool operator<(const RID &p_other) const; - bool operator>(const RID &p_other) const; - bool operator<=(const RID &p_other) const; - bool operator>=(const RID &p_other) const; + static void *create_instance_callback(void *p_token, void *p_instance); + static void free_instance_callback(void *p_token, void *p_instance, void *p_binding); }; } // namespace godot -#endif // RID_H +#endif // ! GODOT_HPP diff --git a/include/core/Dictionary.hpp b/include/godot_cpp/variant/char_string.hpp similarity index 66% rename from include/core/Dictionary.hpp rename to include/godot_cpp/variant/char_string.hpp index 9f01c522..3ba89486 100644 --- a/include/core/Dictionary.hpp +++ b/include/godot_cpp/variant/char_string.hpp @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Dictionary.hpp */ +/* char_string.hpp */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -28,62 +28,74 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef DICTIONARY_H -#define DICTIONARY_H +#ifndef GODOT_CPP_CHAR_STRING_HPP +#define GODOT_CPP_CHAR_STRING_HPP -#include "Variant.hpp" - -#include "Array.hpp" - -#include +#include +#include namespace godot { -class Dictionary { - godot_dictionary _godot_dictionary; +class CharString { + friend class String; - friend Variant::operator Dictionary() const; - inline explicit Dictionary(const godot_dictionary &other) { - _godot_dictionary = other; - } + const char *_data = nullptr; + int _length = 0; + + CharString(const char *str, int length); public: - Dictionary(); - Dictionary(const Dictionary &other); - Dictionary &operator=(const Dictionary &other); + int length() const; + const char *get_data() const; - template - static Dictionary make(Args... args) { - return helpers::add_all(Dictionary(), args...); - } + ~CharString(); +}; - void clear(); +class Char16String { + friend class String; - bool empty() const; + const char16_t *_data = nullptr; + int _length = 0; - void erase(const Variant &key); + Char16String(const char16_t *str, int length); - bool has(const Variant &key) const; +public: + int length() const; + const char16_t *get_data() const; - bool has_all(const Array &keys) const; + ~Char16String(); +}; - uint32_t hash() const; +class Char32String { + friend class String; - Array keys() const; + const char32_t *_data = nullptr; + int _length = 0; - Variant &operator[](const Variant &key); + Char32String(const char32_t *str, int length); - const Variant &operator[](const Variant &key) const; +public: + int length() const; + const char32_t *get_data() const; - int size() const; + ~Char32String(); +}; - String to_json() const; +class CharWideString { + friend class String; - Array values() const; + const wchar_t *_data = nullptr; + int _length = 0; - ~Dictionary(); + CharWideString(const wchar_t *str, int length); + +public: + int length() const; + const wchar_t *get_data() const; + + ~CharWideString(); }; } // namespace godot -#endif // DICTIONARY_H +#endif // ! GODOT_CPP_CHAR_STRING_HPP diff --git a/include/godot_cpp/variant/variant.hpp b/include/godot_cpp/variant/variant.hpp new file mode 100644 index 00000000..f94f9076 --- /dev/null +++ b/include/godot_cpp/variant/variant.hpp @@ -0,0 +1,308 @@ +/*************************************************************************/ +/* variant.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef GODOT_CPP_VARIANT_HPP +#define GODOT_CPP_VARIANT_HPP + +#include + +#include +#include + +#include + +#include + +namespace godot { + +class Variant { + uint8_t opaque[GODOT_CPP_VARIANT_SIZE]{ 0 }; + GDNativeVariantPtr ptr = const_cast(&opaque); + + friend class GDExtensionBinding; + friend class MethodBind; + + static void init_bindings(); + +public: + enum Type { + NIL, + + // atomic types + BOOL, + INT, + FLOAT, + STRING, + + // math types + VECTOR2, + VECTOR2I, + RECT2, + RECT2I, + VECTOR3, + VECTOR3I, + TRANSFORM2D, + PLANE, + QUATERNION, + AABB, + BASIS, + TRANSFORM3D, + + // misc types + COLOR, + STRING_NAME, + NODE_PATH, + RID, + OBJECT, + CALLABLE, + SIGNAL, + DICTIONARY, + ARRAY, + + // typed arrays + PACKED_BYTE_ARRAY, + PACKED_INT32_ARRAY, + PACKED_INT64_ARRAY, + PACKED_FLOAT32_ARRAY, + PACKED_FLOAT64_ARRAY, + PACKED_STRING_ARRAY, + PACKED_VECTOR2_ARRAY, + PACKED_VECTOR3_ARRAY, + PACKED_COLOR_ARRAY, + + VARIANT_MAX + }; + + enum Operator { + //comparison + OP_EQUAL, + OP_NOT_EQUAL, + OP_LESS, + OP_LESS_EQUAL, + OP_GREATER, + OP_GREATER_EQUAL, + //mathematic + OP_ADD, + OP_SUBTRACT, + OP_MULTIPLY, + OP_DIVIDE, + OP_NEGATE, + OP_POSITIVE, + OP_MODULE, + //bitwise + OP_SHIFT_LEFT, + OP_SHIFT_RIGHT, + OP_BIT_AND, + OP_BIT_OR, + OP_BIT_XOR, + OP_BIT_NEGATE, + //logic + OP_AND, + OP_OR, + OP_XOR, + OP_NOT, + //containment + OP_IN, + OP_MAX + }; + +private: + static GDNativeVariantFromTypeConstructorFunc from_type_constructor[VARIANT_MAX]; + static GDNativeTypeFromVariantConstructorFunc to_type_constructor[VARIANT_MAX]; + +public: + Variant(); + Variant(std::nullptr_t n) : + Variant() {} + Variant(const GDNativeVariantPtr native_ptr); + Variant(const Variant &other); + Variant(Variant &&other); + Variant(bool v); + Variant(int64_t v); + Variant(int32_t v) : + Variant(static_cast(v)) {} + Variant(uint32_t v) : + Variant(static_cast(v)) {} + Variant(uint64_t v) : + Variant(static_cast(v)) {} + Variant(double v); + Variant(float v) : + Variant((double)v) {} + Variant(const String &v); + Variant(const char *v) : + Variant(String(v)) {} + Variant(const char16_t *v) : + Variant(String(v)) {} + Variant(const char32_t *v) : + Variant(String(v)) {} + Variant(const wchar_t *v) : + Variant(String(v)) {} + Variant(const Vector2 &v); + Variant(const Vector2i &v); + Variant(const Rect2 &v); + Variant(const Rect2i &v); + Variant(const Vector3 &v); + Variant(const Vector3i &v); + Variant(const Transform2D &v); + Variant(const Plane &v); + Variant(const Quaternion &v); + Variant(const godot::AABB &v); + Variant(const Basis &v); + Variant(const Transform3D &v); + Variant(const Color &v); + Variant(const StringName &v); + Variant(const NodePath &v); + Variant(const godot::RID &v); + Variant(const Object *v); + Variant(const Callable &v); + Variant(const Signal &v); + Variant(const Dictionary &v); + Variant(const Array &v); + Variant(const PackedByteArray &v); + Variant(const PackedInt32Array &v); + Variant(const PackedInt64Array &v); + Variant(const PackedFloat32Array &v); + Variant(const PackedFloat64Array &v); + Variant(const PackedStringArray &v); + Variant(const PackedVector2Array &v); + Variant(const PackedVector3Array &v); + Variant(const PackedColorArray &v); + ~Variant(); + + operator bool() const; + operator int64_t() const; + operator int32_t() const; + operator uint64_t() const; + operator uint32_t() const; + operator double() const; + operator float() const; + operator String() const; + operator Vector2() const; + operator Vector2i() const; + operator Rect2() const; + operator Rect2i() const; + operator Vector3() const; + operator Vector3i() const; + operator Transform2D() const; + operator Plane() const; + operator Quaternion() const; + operator godot::AABB() const; + operator Basis() const; + operator Transform3D() const; + operator Color() const; + operator StringName() const; + operator NodePath() const; + operator godot::RID() const; + operator Object *() const; + operator Callable() const; + operator Signal() const; + operator Dictionary() const; + operator Array() const; + operator PackedByteArray() const; + operator PackedInt32Array() const; + operator PackedInt64Array() const; + operator PackedFloat32Array() const; + operator PackedFloat64Array() const; + operator PackedStringArray() const; + operator PackedVector2Array() const; + operator PackedVector3Array() const; + operator PackedColorArray() const; + + operator const GDNativeVariantPtr() const; + operator GDNativeVariantPtr(); + + Variant &operator=(const Variant &other); + Variant &operator=(Variant &&other); + bool operator==(const Variant &other) const; + bool operator!=(const Variant &other) const; + bool operator<(const Variant &other) const; + + void operator=(const GDNativeVariantPtr other_ptr); + + void call(const StringName &method, const Variant **args, int argcount, Variant &r_ret, GDNativeCallError &r_error); + + template + Variant call(const StringName &method, Args... args) { + Variant result; + GDNativeCallError error; + std::array call_args = { Variant(args)... }; + call(method, call_args.data(), call_args.size(), result, error); + return result; + } + + static void call_static(Variant::Type type, const StringName &method, const Variant **args, int argcount, Variant &r_ret, GDNativeCallError &r_error); + + template + static Variant call_static(Variant::Type type, const StringName &method, Args... args) { + Variant result; + GDNativeCallError error; + std::array call_args = { Variant(args)... }; + call_static(type, method, call_args.data(), call_args.size(), result, error); + return result; + } + + static void evaluate(const Operator &op, const Variant &a, const Variant &b, Variant &r_ret, bool &r_valid); + + void set(const Variant &key, const Variant &value, bool *r_valid = nullptr); + void set_named(const StringName &name, const Variant &value, bool &r_valid); + void set_indexed(int64_t index, const Variant &value, bool &r_valid, bool &r_oob); + void set_keyed(const Variant &key, const Variant &value, bool &r_valid); + Variant get(const Variant &key, bool *r_valid = nullptr) const; + Variant get_named(const StringName &name, bool &r_valid) const; + Variant get_indexed(int64_t index, bool &r_valid, bool &r_oob) const; + Variant get_keyed(const Variant &key, bool &r_valid) const; + bool in(const Variant &index, bool *r_valid = nullptr) const; + + bool iter_init(Variant &r_iter, bool &r_valid) const; + bool iter_next(Variant &r_iter, bool &r_valid) const; + Variant iter_get(const Variant &r_iter, bool &r_valid) const; + + Variant::Type get_type() const; + bool has_method(const StringName &method) const; + bool has_key(const Variant &key, bool *r_valid = nullptr) const; + static bool has_member(Variant::Type type, const StringName &member); + + bool hash_compare(const Variant &variant) const; + bool booleanize() const; + String stringify() const; + Variant duplicate(bool deep = false) const; + static void blend(const Variant &a, const Variant &b, float c, Variant &r_dst); + static void interpolate(const Variant &a, const Variant &b, float c, Variant &r_dst); + + static String get_type_name(Variant::Type type); + static bool can_convert(Variant::Type from, Variant::Type to); + static bool can_convert_strict(Variant::Type from, Variant::Type to); + + void clear(); +}; + +} // namespace godot + +#endif // ! GODOT_CPP_VARIANT_HPP diff --git a/misc/hooks/README.md b/misc/hooks/README.md index 6ec90fcc..9015910e 100644 --- a/misc/hooks/README.md +++ b/misc/hooks/README.md @@ -1,18 +1,35 @@ # Git hooks for Godot Engine -This folder contains git hooks meant to be installed locally by Godot Engine +This folder contains Git hooks meant to be installed locally by Godot Engine contributors to make sure they comply with our requirements. ## List of hooks -- Pre-commit hook for clang-format: Applies clang-format to the staged files - before accepting a commit; blocks the commit and generates a patch if the - style is not respected. - Should work on Linux and macOS. You may need to edit the file if your - clang-format binary is not in the $PATH, or if you want to enable colored - output with pygmentize. +- Pre-commit hook for `clang-format`: Applies `clang-format` to the staged + files before accepting a commit; blocks the commit and generates a patch if + the style is not respected. + You may need to edit the file if your `clang-format` binary is not in the + `PATH`, or if you want to enable colored output with `pygmentize`. +- Pre-commit hook for `black`: Applies `black` to the staged Python files + before accepting a commit. ## Installation -Copy all the files from this folder into your .git/hooks folder, and make sure -the hooks and helper scripts are executable. +Copy all the files from this folder into your `.git/hooks` folder, and make +sure the hooks and helper scripts are executable. + +#### Linux/MacOS + +The hooks rely on bash scripts and tools which should be in the system `PATH`, +so they should work out of the box on Linux/macOS. + +#### Windows + +##### clang-format +- Download LLVM for Windows (version 8 or later) from + +- Make sure LLVM is added to the `PATH` during installation + +##### black +- Python installation: make sure Python is added to the `PATH` +- Install `black` - in any console: `pip3 install black` diff --git a/misc/hooks/canonicalize_filename.sh b/misc/hooks/canonicalize_filename.sh old mode 100644 new mode 100755 index 5eecabf5..5fcae6ee --- a/misc/hooks/canonicalize_filename.sh +++ b/misc/hooks/canonicalize_filename.sh @@ -13,7 +13,7 @@ # There should be no need to change anything below this line. # Canonicalize by recursively following every symlink in every component of the -# specified filename. This should reproduce the results of the GNU version of +# specified filename. This should reproduce the results of the GNU version of # readlink with the -f option. # # Reference: http://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnus-readlink-f-on-a-mac diff --git a/misc/hooks/pre-commit b/misc/hooks/pre-commit old mode 100644 new mode 100755 index fc50ed70..1d713702 --- a/misc/hooks/pre-commit +++ b/misc/hooks/pre-commit @@ -14,7 +14,7 @@ # as this script. Hooks should return 0 if successful and nonzero to cancel the # commit. They are executed in the order in which they are listed. #HOOKS="pre-commit-compile pre-commit-uncrustify" -HOOKS="pre-commit-clang-format" +HOOKS="pre-commit-clang-format pre-commit-black" ########################################################### # There should be no need to change anything below this line. diff --git a/misc/hooks/pre-commit-black b/misc/hooks/pre-commit-black new file mode 100755 index 00000000..76d97294 --- /dev/null +++ b/misc/hooks/pre-commit-black @@ -0,0 +1,202 @@ +#!/usr/bin/env bash + +# git pre-commit hook that runs a black stylecheck. +# Based on pre-commit-clang-format. + +################################################################## +# SETTINGS +# Set path to black binary. +BLACK=`which black 2>/dev/null` +BLACK_OPTIONS="-l 120" + +# Remove any older patches from previous commits. Set to true or false. +DELETE_OLD_PATCHES=false + +# File types to parse. +FILE_NAMES="SConstruct SCsub" +FILE_EXTS="py" + +# Use pygmentize instead of cat to parse diff with highlighting. +# Install it with `pip install pygments` (Linux) or `easy_install Pygments` (Mac) +PYGMENTIZE=`which pygmentize 2>/dev/null` +if [ ! -z "$PYGMENTIZE" ]; then + READER="pygmentize -l diff" +else + READER=cat +fi + +# Path to zenity +ZENITY=`which zenity 2>/dev/null` + +# Path to xmessage +XMSG=`which xmessage 2>/dev/null` + +# Path to powershell (Windows only) +PWSH=`which powershell 2>/dev/null` + +################################################################## +# There should be no need to change anything below this line. + +. "$(dirname -- "$0")/canonicalize_filename.sh" + +# exit on error +set -e + +# check whether the given file matches any of the set extensions +matches_name_or_extension() { + local filename=$(basename "$1") + local extension=".${filename##*.}" + + for name in $FILE_NAMES; do [[ "$name" == "$filename" ]] && return 0; done + for ext in $FILE_EXTS; do [[ "$ext" == "$extension" ]] && return 0; done + + return 1 +} + +# necessary check for initial commit +if git rev-parse --verify HEAD >/dev/null 2>&1 ; then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 +fi + +if [ ! -x "$BLACK" ] ; then + if [ ! -t 1 ] ; then + if [ -x "$ZENITY" ] ; then + $ZENITY --error --title="Error" --text="Error: black executable not found." + exit 1 + elif [ -x "$XMSG" ] ; then + $XMSG -center -title "Error" "Error: black executable not found." + exit 1 + elif [ \( \( "$OSTYPE" = "msys" \) -o \( "$OSTYPE" = "win32" \) \) -a \( -x "$PWSH" \) ]; then + winmessage="$(canonicalize_filename "./.git/hooks/winmessage.ps1")" + $PWSH -noprofile -executionpolicy bypass -file "$winmessage" -center -title "Error" --text "Error: black executable not found." + exit 1 + fi + fi + printf "Error: black executable not found.\n" + printf "Set the correct path in $(canonicalize_filename "$0").\n" + exit 1 +fi + +# create a random filename to store our generated patch +prefix="pre-commit-black" +suffix="$(date +%s)" +patch="/tmp/$prefix-$suffix.patch" + +# clean up any older black patches +$DELETE_OLD_PATCHES && rm -f /tmp/$prefix*.patch + +# create one patch containing all changes to the files +git diff-index --cached --diff-filter=ACMR --name-only $against -- | while read file; +do + # ignore thirdparty files + if grep -q "thirdparty" <<< $file; then + continue; + fi + + # ignore file if not one of the names or extensions we handle + if ! matches_name_or_extension "$file"; then + continue; + fi + + # format our file with black, create a patch with diff and append it to our $patch + # The sed call is necessary to transform the patch from + # --- $file timestamp + # +++ $file timestamp + # to both lines working on the same file and having a/ and b/ prefix. + # Else it can not be applied with 'git apply'. + "$BLACK" "$BLACK_OPTIONS" --diff "$file" | \ + sed -e "1s|--- |--- a/|" -e "2s|+++ |+++ b/|" >> "$patch" +done + +# if no patch has been generated all is ok, clean up the file stub and exit +if [ ! -s "$patch" ] ; then + printf "Files in this commit comply with the black formatter rules.\n" + rm -f "$patch" + exit 0 +fi + +# a patch has been created, notify the user and exit +printf "\nThe following differences were found between the code to commit " +printf "and the black formatter rules:\n\n" + +if [ -t 1 ] ; then + $READER "$patch" + printf "\n" + # Allows us to read user input below, assigns stdin to keyboard + exec < /dev/tty + terminal="1" +else + cat "$patch" + printf "\n" + # Allows non zero zenity/powershell output + set +e + terminal="0" +fi + +while true; do + if [ $terminal = "0" ] ; then + if [ -x "$ZENITY" ] ; then + ans=$($ZENITY --text-info --filename="$patch" --width=800 --height=600 --title="Do you want to apply that patch?" --ok-label="Apply" --cancel-label="Do not apply" --extra-button="Apply and stage") + if [ "$?" = "0" ] ; then + yn="Y" + else + if [ "$ans" = "Apply and stage" ] ; then + yn="S" + else + yn="N" + fi + fi + elif [ -x "$XMSG" ] ; then + $XMSG -file "$patch" -buttons "Apply":100,"Apply and stage":200,"Do not apply":0 -center -default "Do not apply" -geometry 800x600 -title "Do you want to apply that patch?" + ans=$? + if [ "$ans" = "100" ] ; then + yn="Y" + elif [ "$ans" = "200" ] ; then + yn="S" + else + yn="N" + fi + elif [ \( \( "$OSTYPE" = "msys" \) -o \( "$OSTYPE" = "win32" \) \) -a \( -x "$PWSH" \) ]; then + winmessage="$(canonicalize_filename "./.git/hooks/winmessage.ps1")" + $PWSH -noprofile -executionpolicy bypass -file "$winmessage" -file "$patch" -buttons "Apply":100,"Apply and stage":200,"Do not apply":0 -center -default "Do not apply" -geometry 800x600 -title "Do you want to apply that patch?" + ans=$? + if [ "$ans" = "100" ] ; then + yn="Y" + elif [ "$ans" = "200" ] ; then + yn="S" + else + yn="N" + fi + else + printf "Error: zenity, xmessage, or powershell executable not found.\n" + exit 1 + fi + else + read -p "Do you want to apply that patch (Y - Apply, N - Do not apply, S - Apply and stage files)? [Y/N/S] " yn + fi + case $yn in + [Yy] ) git apply $patch; + printf "The patch was applied. You can now stage the changes and commit again.\n\n"; + break + ;; + [Nn] ) printf "\nYou can apply these changes with:\n git apply $patch\n"; + printf "(may need to be called from the root directory of your repository)\n"; + printf "Aborting commit. Apply changes and commit again or skip checking with"; + printf " --no-verify (not recommended).\n\n"; + break + ;; + [Ss] ) git apply $patch; + git diff-index --cached --diff-filter=ACMR --name-only $against -- | while read file; + do git add $file; + done + printf "The patch was applied and the changed files staged. You can now commit.\n\n"; + break + ;; + * ) echo "Please answer yes or no." + ;; + esac +done +exit 1 # we don't commit in any case diff --git a/misc/hooks/pre-commit-clang-format b/misc/hooks/pre-commit-clang-format old mode 100644 new mode 100755 index db241ad1..81bc4129 --- a/misc/hooks/pre-commit-clang-format +++ b/misc/hooks/pre-commit-clang-format @@ -15,28 +15,37 @@ ################################################################## # SETTINGS -# Set path to clang-format binary -# CLANG_FORMAT="/usr/bin/clang-format" -CLANG_FORMAT=`which clang-format` +# Set path to clang-format binary. +CLANG_FORMAT=`which clang-format 2>/dev/null` # Remove any older patches from previous commits. Set to true or false. -# DELETE_OLD_PATCHES=false DELETE_OLD_PATCHES=false # Only parse files with the extensions in FILE_EXTS. Set to true or false. # If false every changed file in the commit will be parsed with clang-format. # If true only files matching one of the extensions are parsed with clang-format. -# PARSE_EXTS=true PARSE_EXTS=true # File types to parse. Only effective when PARSE_EXTS is true. -# FILE_EXTS=".c .h .cpp .hpp" FILE_EXTS=".c .h .cpp .hpp .cc .hh .cxx .m .mm .inc .java .glsl" # Use pygmentize instead of cat to parse diff with highlighting. # Install it with `pip install pygments` (Linux) or `easy_install Pygments` (Mac) -# READER="pygmentize -l diff" -READER=cat +PYGMENTIZE=`which pygmentize 2>/dev/null` +if [ ! -z "$PYGMENTIZE" ]; then + READER="pygmentize -l diff" +else + READER=cat +fi + +# Path to zenity +ZENITY=`which zenity 2>/dev/null` + +# Path to xmessage +XMSG=`which xmessage 2>/dev/null` + +# Path to powershell (Windows only) +PWSH=`which powershell 2>/dev/null` ################################################################## # There should be no need to change anything below this line. @@ -65,12 +74,44 @@ else against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 fi +# To get consistent formatting, we recommend contributors to use the same +# clang-format version as CI. +RECOMMENDED_CLANG_FORMAT_MAJOR_MIN="11" +RECOMMENDED_CLANG_FORMAT_MAJOR_MAX="12" + if [ ! -x "$CLANG_FORMAT" ] ; then - printf "Error: clang-format executable not found.\n" + message="Error: clang-format executable not found. Please install clang-format $RECOMMENDED_CLANG_FORMAT_MAJOR.x.x." + + if [ ! -t 1 ] ; then + if [ -x "$ZENITY" ] ; then + $ZENITY --error --title="Error" --text="$message" + exit 1 + elif [ -x "$XMSG" ] ; then + $XMSG -center -title "Error" "$message" + exit 1 + elif [ \( \( "$OSTYPE" = "msys" \) -o \( "$OSTYPE" = "win32" \) \) -a \( -x "$PWSH" \) ]; then + winmessage="$(canonicalize_filename "./.git/hooks/winmessage.ps1")" + $PWSH -noprofile -executionpolicy bypass -file "$winmessage" -center -title "Error" --text "$message" + exit 1 + fi + fi + printf "$message\n" printf "Set the correct path in $(canonicalize_filename "$0").\n" exit 1 fi +# The returned string can be inconsistent depending on where clang-format comes from. +# Example output strings reported by `clang-format --version`: +# - Ubuntu: "Ubuntu clang-format version 11.0.0-2" +# - Fedora: "clang-format version 11.0.0 (Fedora 11.0.0-2.fc33)" +CLANG_FORMAT_VERSION="$(clang-format --version | sed "s/[^0-9\.]*\([0-9\.]*\).*/\1/")" +CLANG_FORMAT_MAJOR="$(echo "$CLANG_FORMAT_VERSION" | cut -d. -f1)" + +if [[ "$CLANG_FORMAT_MAJOR" -lt "$RECOMMENDED_CLANG_FORMAT_MAJOR_MIN" || "$CLANG_FORMAT_MAJOR" -gt "$RECOMMENDED_CLANG_FORMAT_MAJOR_MAX" ]]; then + echo "Warning: Your clang-format binary is the wrong version ($CLANG_FORMAT_VERSION, expected between $RECOMMENDED_CLANG_FORMAT_MAJOR_MIN.x.x and $RECOMMENDED_CLANG_FORMAT_MAJOR_MAX.x.x)." + echo " Consider upgrading or downgrading clang-format as formatting may not be applied correctly." +fi + # create a random filename to store our generated patch prefix="pre-commit-clang-format" suffix="$(date +%s)" @@ -86,6 +127,12 @@ do if grep -q "thirdparty" <<< $file; then continue; fi + if grep -q "platform/android/java/lib/src/com" <<< $file; then + continue; + fi + if grep -q "\-so_wrap." <<< $file; then + continue; + fi # ignore file if we do check for file extensions and the file # does not match any of the extensions specified in $FILE_EXTS @@ -114,14 +161,62 @@ fi # a patch has been created, notify the user and exit printf "\nThe following differences were found between the code to commit " printf "and the clang-format rules:\n\n" -$READER "$patch" -printf "\n" -# Allows us to read user input below, assigns stdin to keyboard -exec < /dev/tty +if [ -t 1 ] ; then + $READER "$patch" + printf "\n" + # Allows us to read user input below, assigns stdin to keyboard + exec < /dev/tty + terminal="1" +else + cat "$patch" + printf "\n" + # Allows non zero zenity/powershell output + set +e + terminal="0" +fi while true; do - read -p "Do you want to apply that patch (Y - Apply, N - Do not apply, S - Apply and stage files)? [Y/N/S] " yn + if [ $terminal = "0" ] ; then + if [ -x "$ZENITY" ] ; then + ans=$($ZENITY --text-info --filename="$patch" --width=800 --height=600 --title="Do you want to apply that patch?" --ok-label="Apply" --cancel-label="Do not apply" --extra-button="Apply and stage") + if [ "$?" = "0" ] ; then + yn="Y" + else + if [ "$ans" = "Apply and stage" ] ; then + yn="S" + else + yn="N" + fi + fi + elif [ -x "$XMSG" ] ; then + $XMSG -file "$patch" -buttons "Apply":100,"Apply and stage":200,"Do not apply":0 -center -default "Do not apply" -geometry 800x600 -title "Do you want to apply that patch?" + ans=$? + if [ "$ans" = "100" ] ; then + yn="Y" + elif [ "$ans" = "200" ] ; then + yn="S" + else + yn="N" + fi + elif [ \( \( "$OSTYPE" = "msys" \) -o \( "$OSTYPE" = "win32" \) \) -a \( -x "$PWSH" \) ]; then + winmessage="$(canonicalize_filename "./.git/hooks/winmessage.ps1")" + $PWSH -noprofile -executionpolicy bypass -file "$winmessage" -file "$patch" -buttons "Apply":100,"Apply and stage":200,"Do not apply":0 -center -default "Do not apply" -geometry 800x600 -title "Do you want to apply that patch?" + ans=$? + if [ "$ans" = "100" ] ; then + yn="Y" + elif [ "$ans" = "200" ] ; then + yn="S" + else + yn="N" + fi + else + printf "Error: zenity, xmessage, or powershell executable not found.\n" + exit 1 + fi + else + read -p "Do you want to apply that patch (Y - Apply, N - Do not apply, S - Apply and stage files)? [Y/N/S] " yn + fi case $yn in [Yy] ) git apply $patch; printf "The patch was applied. You can now stage the changes and commit again.\n\n"; diff --git a/misc/hooks/winmessage.ps1 b/misc/hooks/winmessage.ps1 new file mode 100644 index 00000000..36725795 --- /dev/null +++ b/misc/hooks/winmessage.ps1 @@ -0,0 +1,103 @@ +Param ( + [string]$file = "", + [string]$text = "", + [string]$buttons = "OK:0", + [string]$default = "", + [switch]$nearmouse = $false, + [switch]$center = $false, + [string]$geometry = "", + [int32]$timeout = 0, + [string]$title = "Message" +) +Add-Type -assembly System.Windows.Forms + +$global:Result = 0 + +$main_form = New-Object System.Windows.Forms.Form +$main_form.Text = $title + +$geometry_data = $geometry.Split("+") +if ($geometry_data.Length -ge 1) { + $size_data = $geometry_data[0].Split("x") + if ($size_data.Length -eq 2) { + $main_form.Width = $size_data[0] + $main_form.Height = $size_data[1] + } +} +if ($geometry_data.Length -eq 3) { + $main_form.StartPosition = [System.Windows.Forms.FormStartPosition]::Manual + $main_form.Location = New-Object System.Drawing.Point($geometry_data[1], $geometry_data[2]) +} +if ($nearmouse) { + $main_form.StartPosition = [System.Windows.Forms.FormStartPosition]::Manual + $main_form.Location = System.Windows.Forms.Cursor.Position +} +if ($center) { + $main_form.StartPosition = [System.Windows.Forms.FormStartPosition]::CenterScreen +} + +$main_form.SuspendLayout() + +$button_panel = New-Object System.Windows.Forms.FlowLayoutPanel +$button_panel.SuspendLayout() +$button_panel.FlowDirection = [System.Windows.Forms.FlowDirection]::RightToLeft +$button_panel.Dock = [System.Windows.Forms.DockStyle]::Bottom +$button_panel.Autosize = $true + +if ($file -ne "") { + $text = [IO.File]::ReadAllText($file).replace("`n", "`r`n") +} + +if ($text -ne "") { + $text_box = New-Object System.Windows.Forms.TextBox + $text_box.Multiline = $true + $text_box.ReadOnly = $true + $text_box.Autosize = $true + $text_box.Text = $text + $text_box.Select(0,0) + $text_box.Dock = [System.Windows.Forms.DockStyle]::Fill + $main_form.Controls.Add($text_box) +} + +$buttons_array = $buttons.Split(",") +foreach ($button in $buttons_array) { + $button_data = $button.Split(":") + $button_ctl = New-Object System.Windows.Forms.Button + if ($button_data.Length -eq 2) { + $button_ctl.Tag = $button_data[1] + } else { + $button_ctl.Tag = 100 + $buttons_array.IndexOf($button) + } + if ($default -eq $button_data[0]) { + $main_form.AcceptButton = $button_ctl + } + $button_ctl.Autosize = $true + $button_ctl.Text = $button_data[0] + $button_ctl.Add_Click( + { + Param($sender) + $global:Result = $sender.Tag + $main_form.Close() + } + ) + $button_panel.Controls.Add($button_ctl) +} +$main_form.Controls.Add($button_panel) + +$button_panel.ResumeLayout($false) +$main_form.ResumeLayout($false) + +if ($timeout -gt 0) { + $timer = New-Object System.Windows.Forms.Timer + $timer.Add_Tick( + { + $global:Result = 0 + $main_form.Close() + } + ) + $timer.Interval = $timeout + $timer.Start() +} +$dlg_res = $main_form.ShowDialog() + +[Environment]::Exit($global:Result) diff --git a/misc/scripts/black_format.sh b/misc/scripts/black_format.sh new file mode 100755 index 00000000..f93e8cbc --- /dev/null +++ b/misc/scripts/black_format.sh @@ -0,0 +1,33 @@ +#!/usr/bin/env bash + +# This script runs black on all Python files in the repo. + +set -uo pipefail + +# Apply black. +echo -e "Formatting Python files..." +PY_FILES=$(find \( -path "./.git" \ + -o -path "./thirdparty" \ + \) -prune \ + -o \( -name "SConstruct" \ + -o -name "SCsub" \ + -o -name "*.py" \ + \) -print) +black -l 120 $PY_FILES + +git diff > patch.patch + +# If no patch has been generated all is OK, clean up, and exit. +if [ ! -s patch.patch ] ; then + printf "Files in this commit comply with the black style rules.\n" + rm -f patch.patch + exit 0 +fi + +# A patch has been created, notify the user, clean up, and exit. +printf "\n*** The following differences were found between the code " +printf "and the formatting rules:\n\n" +cat patch.patch +printf "\n*** Aborting, please fix your commit(s) with 'git commit --amend' or 'git rebase -i '\n" +rm -f patch.patch +exit 1 diff --git a/misc/scripts/check_ci_log.py b/misc/scripts/check_ci_log.py new file mode 100755 index 00000000..2c75b83b --- /dev/null +++ b/misc/scripts/check_ci_log.py @@ -0,0 +1,65 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +import sys + +if len(sys.argv) < 2: + print("ERROR: You must run program with file name as argument.") + sys.exit(50) + +fname = sys.argv[1] + +fileread = open(fname.strip(), "r") +file_contents = fileread.read() + +# If find "ERROR: AddressSanitizer:", then happens invalid read or write +# This is critical bug, so we need to fix this as fast as possible + +if file_contents.find("ERROR: AddressSanitizer:") != -1: + print("FATAL ERROR: An incorrectly used memory was found.") + sys.exit(51) + +# There is also possible, that program crashed with or without backtrace. + +if ( + file_contents.find("Program crashed with signal") != -1 + or file_contents.find("Dumping the backtrace") != -1 + or file_contents.find("Segmentation fault (core dumped)") != -1 +): + print("FATAL ERROR: Godot has been crashed.") + sys.exit(52) + +# Finding memory leaks in Godot is quite difficult, because we need to take into +# account leaks also in external libraries. They are usually provided without +# debugging symbols, so the leak report from it usually has only 2/3 lines, +# so searching for 5 element - "#4 0x" - should correctly detect the vast +# majority of memory leaks + +if file_contents.find("ERROR: LeakSanitizer:") != -1: + if file_contents.find("#4 0x") != -1: + print("ERROR: Memory leak was found") + sys.exit(53) + +# It may happen that Godot detects leaking nodes/resources and removes them, so +# this possibility should also be handled as a potential error, even if +# LeakSanitizer doesn't report anything + +if file_contents.find("ObjectDB instances leaked at exit") != -1: + print("ERROR: Memory leak was found") + sys.exit(54) + +# In test project may be put several assert functions which will control if +# project is executed with right parameters etc. which normally will not stop +# execution of project + +if file_contents.find("Assertion failed") != -1: + print("ERROR: Assertion failed in project, check execution log for more info") + sys.exit(55) + +# For now Godot leaks a lot of rendering stuff so for now we just show info +# about it and this needs to be re-enabled after fixing this memory leaks. + +if file_contents.find("were leaked") != -1 or file_contents.find("were never freed") != -1: + print("WARNING: Memory leak was found") + +sys.exit(0) diff --git a/misc/scripts/clang_format.sh b/misc/scripts/clang_format.sh old mode 100644 new mode 100755 index 0d1511eb..955ff681 --- a/misc/scripts/clang_format.sh +++ b/misc/scripts/clang_format.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# This script runs clang-format on all relevant files in the repo. +# This script runs clang-format and fixes copyright headers on all relevant files in the repo. # This is the primary script responsible for fixing style violations. set -uo pipefail @@ -14,12 +14,29 @@ while IFS= read -rd '' f; do # Exclude some files. if [[ "$f" == "thirdparty"* ]]; then continue + # elif [[ "$f" == "gen"* ]]; then + # continue + elif [[ "$f" == "platform/android/java/lib/src/com/google"* ]]; then + continue + elif [[ "$f" == *"-so_wrap."* ]]; then + continue fi for extension in ${CLANG_FORMAT_FILE_EXTS[@]}; do if [[ "$f" == *"$extension" ]]; then # Run clang-format. clang-format -i "$f" + # Fix copyright headers, but not all files get them. + if [[ "$f" == *"inc" ]]; then + continue 2 + elif [[ "$f" == *"glsl" ]]; then + continue 2 + elif [[ "$f" == *"theme_data.h" ]]; then + continue 2 + elif [[ "$f" == "platform/android/java/lib/src/org/godotengine/godot/input/InputManager"* ]]; then + continue 2 + fi + python misc/scripts/copyright_headers.py "$f" continue 2 fi done diff --git a/include/core/Plane.hpp b/misc/scripts/copyright_headers.py old mode 100644 new mode 100755 similarity index 52% rename from include/core/Plane.hpp rename to misc/scripts/copyright_headers.py index be015912..2f3e4a1b --- a/include/core/Plane.hpp +++ b/misc/scripts/copyright_headers.py @@ -1,5 +1,11 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +import sys + +header = """\ /*************************************************************************/ -/* Plane.hpp */ +/* $filename */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -27,72 +33,63 @@ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ +""" -#ifndef PLANE_H -#define PLANE_H +fname = sys.argv[1] -#include "Vector3.hpp" +# Handle replacing $filename with actual filename and keep alignment +fsingle = fname.strip() +if fsingle.find("/") != -1: + fsingle = fsingle[fsingle.rfind("/") + 1 :] +rep_fl = "$filename" +rep_fi = fsingle +len_fl = len(rep_fl) +len_fi = len(rep_fi) +# Pad with spaces to keep alignment +if len_fi < len_fl: + for x in range(len_fl - len_fi): + rep_fi += " " +elif len_fl < len_fi: + for x in range(len_fi - len_fl): + rep_fl += " " +if header.find(rep_fl) != -1: + text = header.replace(rep_fl, rep_fi) +else: + text = header.replace("$filename", fsingle) +text += "\n" -#include +# We now have the proper header, so we want to ignore the one in the original file +# and potentially empty lines and badly formatted lines, while keeping comments that +# come after the header, and then keep everything non-header unchanged. +# To do so, we skip empty lines that may be at the top in a first pass. +# In a second pass, we skip all consecutive comment lines starting with "/*", +# then we can append the rest (step 2). -namespace godot { +fileread = open(fname.strip(), "r") +line = fileread.readline() +header_done = False -enum ClockDirection { +while line.strip() == "": # Skip empty lines at the top + line = fileread.readline() - CLOCKWISE, - COUNTERCLOCKWISE -}; +if line.find("/**********") == -1: # Godot header starts this way + # Maybe starting with a non-Godot comment, abort header magic + header_done = True -class Plane { -public: - Vector3 normal; - real_t d; +while not header_done: # Handle header now + if line.find("/*") != 0: # No more starting with a comment + header_done = True + if line.strip() != "": + text += line + line = fileread.readline() - void set_normal(const Vector3 &p_normal); +while line != "": # Dump everything until EOF + text += line + line = fileread.readline() - inline Vector3 get_normal() const { return normal; } ///Point is coplanar, CMP_EPSILON for precision +fileread.close() - void normalize(); - - Plane normalized() const; - - /* Plane-Point operations */ - - inline Vector3 center() const { return normal * d; } - Vector3 get_any_point() const; - Vector3 get_any_perpendicular_normal() const; - - bool is_point_over(const Vector3 &p_point) const; ///< Point is over plane - real_t distance_to(const Vector3 &p_point) const; - bool has_point(const Vector3 &p_point, real_t _epsilon = CMP_EPSILON) const; - - /* intersections */ - - bool intersect_3(const Plane &p_plane1, const Plane &p_plane2, Vector3 *r_result = 0) const; - bool intersects_ray(Vector3 p_from, Vector3 p_dir, Vector3 *p_intersection) const; - bool intersects_segment(Vector3 p_begin, Vector3 p_end, Vector3 *p_intersection) const; - - Vector3 project(const Vector3 &p_point) const; - - /* misc */ - - inline Plane operator-() const { return Plane(-normal, -d); } - bool is_almost_like(const Plane &p_plane) const; - - bool operator==(const Plane &p_plane) const; - bool operator!=(const Plane &p_plane) const; - operator String() const; - - inline Plane() { d = 0; } - inline Plane(real_t p_a, real_t p_b, real_t p_c, real_t p_d) : - normal(p_a, p_b, p_c), - d(p_d) {} - - Plane(const Vector3 &p_normal, real_t p_d); - Plane(const Vector3 &p_point, const Vector3 &p_normal); - Plane(const Vector3 &p_point1, const Vector3 &p_point2, const Vector3 &p_point3, ClockDirection p_dir = CLOCKWISE); -}; - -} // namespace godot - -#endif // PLANE_H +# Write +filewrite = open(fname.strip(), "w") +filewrite.write(text) +filewrite.close() diff --git a/misc/scripts/file_format.sh b/misc/scripts/file_format.sh new file mode 100755 index 00000000..795431cd --- /dev/null +++ b/misc/scripts/file_format.sh @@ -0,0 +1,60 @@ +#!/usr/bin/env bash + +# This script ensures proper POSIX text file formatting and a few other things. +# This is supplementary to clang_format.sh and black_format.sh, but should be +# run before them. + +# We need dos2unix and recode. +if [ ! -x "$(command -v dos2unix)" -o ! -x "$(command -v recode)" ]; then + printf "Install 'dos2unix' and 'recode' to use this script.\n" +fi + +set -uo pipefail +IFS=$'\n\t' + +# Loops through all text files tracked by Git. +git grep -zIl '' | +while IFS= read -rd '' f; do + # Exclude some types of files. + if [[ "$f" == *"csproj" ]]; then + continue + elif [[ "$f" == *"sln" ]]; then + continue + elif [[ "$f" == *"patch" ]]; then + continue + elif [[ "$f" == *"pot" ]]; then + continue + elif [[ "$f" == *"po" ]]; then + continue + elif [[ "$f" == "thirdparty"* ]]; then + continue + elif [[ "$f" == "platform/android/java/lib/src/com/google"* ]]; then + continue + elif [[ "$f" == *"-so_wrap."* ]]; then + continue + fi + # Ensure that files are UTF-8 formatted. + recode UTF-8 "$f" 2> /dev/null + # Ensure that files have LF line endings and do not contain a BOM. + dos2unix "$f" 2> /dev/null + # Remove trailing space characters and ensures that files end + # with newline characters. -l option handles newlines conveniently. + perl -i -ple 's/\s*$//g' "$f" +done + +git diff > patch.patch + +# If no patch has been generated all is OK, clean up, and exit. +if [ ! -s patch.patch ] ; then + printf "Files in this commit comply with the formatting rules.\n" + rm -f patch.patch + exit 0 +fi + +# A patch has been created, notify the user, clean up, and exit. +printf "\n*** The following differences were found between the code " +printf "and the formatting rules:\n\n" +cat patch.patch +printf "\n*** Aborting, please fix your commit(s) with 'git commit --amend' or 'git rebase -i '\n" +rm -f patch.patch +exit 1 diff --git a/misc/scripts/make_tarball.sh b/misc/scripts/make_tarball.sh new file mode 100755 index 00000000..9e02b80a --- /dev/null +++ b/misc/scripts/make_tarball.sh @@ -0,0 +1,66 @@ +#!/bin/sh + +if [ ! -e "version.py" ]; then + echo "This script should be ran from the root folder of the Godot repository." + exit 1 +fi + +while getopts "h?sv:g:" opt; do + case "$opt" in + h|\?) + echo "Usage: $0 [OPTIONS...]" + echo + echo " -s script friendly file name (godot.tar.gz)" + echo " -v godot version for file name (e.g. 4.0-stable)" + echo " -g git treeish to archive (e.g. master)" + echo + exit 1 + ;; + s) + script_friendly_name=1 + ;; + v) + godot_version=$OPTARG + ;; + g) + git_treeish=$OPTARG + ;; + esac +done + +if [ ! -z "$git_treeish" ]; then + HEAD=$(git rev-parse $git_treeish) +else + HEAD=$(git rev-parse HEAD) +fi + +if [ ! -z "$script_friendly_name" ]; then + NAME=godot +else + if [ ! -z "$godot_version" ]; then + NAME=godot-$godot_version + else + NAME=godot-$HEAD + fi +fi + +CURDIR=$(pwd) +TMPDIR=$(mktemp -d -t godot-XXXXXX) + +echo "Generating tarball for revision $HEAD with folder name '$NAME'." +echo +echo "The tarball will be written to the parent folder:" +echo " $(dirname $CURDIR)/$NAME.tar.gz" + +git archive $HEAD --prefix=$NAME/ -o $TMPDIR/$NAME.tar + +# Adding custom .git/HEAD to tarball so that we can generate VERSION_HASH. +cd $TMPDIR +mkdir -p $NAME/.git +echo $HEAD > $NAME/.git/HEAD +tar -uf $NAME.tar $NAME + +cd $CURDIR +gzip -c $TMPDIR/$NAME.tar > ../$NAME.tar.gz + +rm -rf $TMPDIR diff --git a/src/core/AABB.cpp b/src/core/AABB.cpp deleted file mode 100644 index 81ac1644..00000000 --- a/src/core/AABB.cpp +++ /dev/null @@ -1,604 +0,0 @@ -/*************************************************************************/ -/* AABB.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "AABB.hpp" -#include "Plane.hpp" -#include "Vector3.hpp" - -#include - -namespace godot { - -bool AABB::intersects(const AABB &p_aabb) const { - if (position.x >= (p_aabb.position.x + p_aabb.size.x)) - return false; - if ((position.x + size.x) <= p_aabb.position.x) - return false; - if (position.y >= (p_aabb.position.y + p_aabb.size.y)) - return false; - if ((position.y + size.y) <= p_aabb.position.y) - return false; - if (position.z >= (p_aabb.position.z + p_aabb.size.z)) - return false; - if ((position.z + size.z) <= p_aabb.position.z) - return false; - - return true; -} - -bool AABB::intersects_inclusive(const AABB &p_aabb) const { - if (position.x > (p_aabb.position.x + p_aabb.size.x)) - return false; - if ((position.x + size.x) < p_aabb.position.x) - return false; - if (position.y > (p_aabb.position.y + p_aabb.size.y)) - return false; - if ((position.y + size.y) < p_aabb.position.y) - return false; - if (position.z > (p_aabb.position.z + p_aabb.size.z)) - return false; - if ((position.z + size.z) < p_aabb.position.z) - return false; - - return true; -} - -bool AABB::encloses(const AABB &p_aabb) const { - Vector3 src_min = position; - Vector3 src_max = position + size; - Vector3 dst_min = p_aabb.position; - Vector3 dst_max = p_aabb.position + p_aabb.size; - - return ( - (src_min.x <= dst_min.x) && - (src_max.x > dst_max.x) && - (src_min.y <= dst_min.y) && - (src_max.y > dst_max.y) && - (src_min.z <= dst_min.z) && - (src_max.z > dst_max.z)); -} - -Vector3 AABB::get_support(const Vector3 &p_normal) const { - Vector3 half_extents = size * 0.5; - Vector3 ofs = position + half_extents; - - return Vector3( - (p_normal.x > 0) ? -half_extents.x : half_extents.x, - (p_normal.y > 0) ? -half_extents.y : half_extents.y, - (p_normal.z > 0) ? -half_extents.z : half_extents.z) + - ofs; -} - -Vector3 AABB::get_endpoint(int p_point) const { - switch (p_point) { - case 0: - return Vector3(position.x, position.y, position.z); - case 1: - return Vector3(position.x, position.y, position.z + size.z); - case 2: - return Vector3(position.x, position.y + size.y, position.z); - case 3: - return Vector3(position.x, position.y + size.y, position.z + size.z); - case 4: - return Vector3(position.x + size.x, position.y, position.z); - case 5: - return Vector3(position.x + size.x, position.y, position.z + size.z); - case 6: - return Vector3(position.x + size.x, position.y + size.y, position.z); - case 7: - return Vector3(position.x + size.x, position.y + size.y, position.z + size.z); - }; - - ERR_FAIL_V(Vector3()); -} - -bool AABB::intersects_convex_shape(const Plane *p_planes, int p_plane_count) const { - Vector3 half_extents = size * 0.5; - Vector3 ofs = position + half_extents; - - for (int i = 0; i < p_plane_count; i++) { - const Plane &p = p_planes[i]; - Vector3 point( - (p.normal.x > 0) ? -half_extents.x : half_extents.x, - (p.normal.y > 0) ? -half_extents.y : half_extents.y, - (p.normal.z > 0) ? -half_extents.z : half_extents.z); - point += ofs; - if (p.is_point_over(point)) - return false; - } - - return true; -} - -bool AABB::has_point(const Vector3 &p_point) const { - if (p_point.x < position.x) - return false; - if (p_point.y < position.y) - return false; - if (p_point.z < position.z) - return false; - if (p_point.x > position.x + size.x) - return false; - if (p_point.y > position.y + size.y) - return false; - if (p_point.z > position.z + size.z) - return false; - - return true; -} - -void AABB::expand_to(const Vector3 &p_vector) { - Vector3 begin = position; - Vector3 end = position + size; - - if (p_vector.x < begin.x) - begin.x = p_vector.x; - if (p_vector.y < begin.y) - begin.y = p_vector.y; - if (p_vector.z < begin.z) - begin.z = p_vector.z; - - if (p_vector.x > end.x) - end.x = p_vector.x; - if (p_vector.y > end.y) - end.y = p_vector.y; - if (p_vector.z > end.z) - end.z = p_vector.z; - - position = begin; - size = end - begin; -} - -void AABB::project_range_in_plane(const Plane &p_plane, real_t &r_min, real_t &r_max) const { - Vector3 half_extents(size.x * 0.5, size.y * 0.5, size.z * 0.5); - Vector3 center(position.x + half_extents.x, position.y + half_extents.y, position.z + half_extents.z); - - real_t length = p_plane.normal.abs().dot(half_extents); - real_t distance = p_plane.distance_to(center); - r_min = distance - length; - r_max = distance + length; -} - -real_t AABB::get_longest_axis_size() const { - real_t max_size = size.x; - - if (size.y > max_size) { - max_size = size.y; - } - - if (size.z > max_size) { - max_size = size.z; - } - - return max_size; -} - -real_t AABB::get_shortest_axis_size() const { - real_t max_size = size.x; - - if (size.y < max_size) { - max_size = size.y; - } - - if (size.z < max_size) { - max_size = size.z; - } - - return max_size; -} - -bool AABB::smits_intersect_ray(const Vector3 &from, const Vector3 &dir, real_t t0, real_t t1) const { - real_t divx = 1.0 / dir.x; - real_t divy = 1.0 / dir.y; - real_t divz = 1.0 / dir.z; - - Vector3 upbound = position + size; - real_t tmin, tmax, tymin, tymax, tzmin, tzmax; - if (dir.x >= 0) { - tmin = (position.x - from.x) * divx; - tmax = (upbound.x - from.x) * divx; - } else { - tmin = (upbound.x - from.x) * divx; - tmax = (position.x - from.x) * divx; - } - if (dir.y >= 0) { - tymin = (position.y - from.y) * divy; - tymax = (upbound.y - from.y) * divy; - } else { - tymin = (upbound.y - from.y) * divy; - tymax = (position.y - from.y) * divy; - } - if ((tmin > tymax) || (tymin > tmax)) - return false; - if (tymin > tmin) - tmin = tymin; - if (tymax < tmax) - tmax = tymax; - if (dir.z >= 0) { - tzmin = (position.z - from.z) * divz; - tzmax = (upbound.z - from.z) * divz; - } else { - tzmin = (upbound.z - from.z) * divz; - tzmax = (position.z - from.z) * divz; - } - if ((tmin > tzmax) || (tzmin > tmax)) - return false; - if (tzmin > tmin) - tmin = tzmin; - if (tzmax < tmax) - tmax = tzmax; - return ((tmin < t1) && (tmax > t0)); -} - -void AABB::grow_by(real_t p_amount) { - position.x -= p_amount; - position.y -= p_amount; - position.z -= p_amount; - size.x += 2.0 * p_amount; - size.y += 2.0 * p_amount; - size.z += 2.0 * p_amount; -} - -real_t AABB::get_area() const { - return size.x * size.y * size.z; -} - -bool AABB::operator==(const AABB &p_rval) const { - return ((position == p_rval.position) && (size == p_rval.size)); -} -bool AABB::operator!=(const AABB &p_rval) const { - return ((position != p_rval.position) || (size != p_rval.size)); -} - -void AABB::merge_with(const AABB &p_aabb) { - Vector3 beg_1, beg_2; - Vector3 end_1, end_2; - Vector3 min, max; - - beg_1 = position; - beg_2 = p_aabb.position; - end_1 = Vector3(size.x, size.y, size.z) + beg_1; - end_2 = Vector3(p_aabb.size.x, p_aabb.size.y, p_aabb.size.z) + beg_2; - - min.x = (beg_1.x < beg_2.x) ? beg_1.x : beg_2.x; - min.y = (beg_1.y < beg_2.y) ? beg_1.y : beg_2.y; - min.z = (beg_1.z < beg_2.z) ? beg_1.z : beg_2.z; - - max.x = (end_1.x > end_2.x) ? end_1.x : end_2.x; - max.y = (end_1.y > end_2.y) ? end_1.y : end_2.y; - max.z = (end_1.z > end_2.z) ? end_1.z : end_2.z; - - position = min; - size = max - min; -} - -AABB AABB::intersection(const AABB &p_aabb) const { - Vector3 src_min = position; - Vector3 src_max = position + size; - Vector3 dst_min = p_aabb.position; - Vector3 dst_max = p_aabb.position + p_aabb.size; - - Vector3 min, max; - - if (src_min.x > dst_max.x || src_max.x < dst_min.x) - return AABB(); - else { - min.x = (src_min.x > dst_min.x) ? src_min.x : dst_min.x; - max.x = (src_max.x < dst_max.x) ? src_max.x : dst_max.x; - } - - if (src_min.y > dst_max.y || src_max.y < dst_min.y) - return AABB(); - else { - min.y = (src_min.y > dst_min.y) ? src_min.y : dst_min.y; - max.y = (src_max.y < dst_max.y) ? src_max.y : dst_max.y; - } - - if (src_min.z > dst_max.z || src_max.z < dst_min.z) - return AABB(); - else { - min.z = (src_min.z > dst_min.z) ? src_min.z : dst_min.z; - max.z = (src_max.z < dst_max.z) ? src_max.z : dst_max.z; - } - - return AABB(min, max - min); -} - -bool AABB::intersects_ray(const Vector3 &p_from, const Vector3 &p_dir, Vector3 *r_clip, Vector3 *r_normal) const { - Vector3 c1, c2; - Vector3 end = position + size; - real_t near = -1e20; - real_t far = 1e20; - int axis = 0; - - for (int i = 0; i < 3; i++) { - if (p_dir[i] == 0) { - if ((p_from[i] < position[i]) || (p_from[i] > end[i])) { - return false; - } - } else { // ray not parallel to planes in this direction - c1[i] = (position[i] - p_from[i]) / p_dir[i]; - c2[i] = (end[i] - p_from[i]) / p_dir[i]; - - if (c1[i] > c2[i]) { - std::swap(c1, c2); - } - if (c1[i] > near) { - near = c1[i]; - axis = i; - } - if (c2[i] < far) { - far = c2[i]; - } - if ((near > far) || (far < 0)) { - return false; - } - } - } - - if (r_clip) - *r_clip = c1; - if (r_normal) { - *r_normal = Vector3(); - (*r_normal)[axis] = p_dir[axis] ? -1 : 1; - } - - return true; -} - -bool AABB::intersects_segment(const Vector3 &p_from, const Vector3 &p_to, Vector3 *r_clip, Vector3 *r_normal) const { - real_t min = 0, max = 1; - int axis = 0; - real_t sign = 0; - - for (int i = 0; i < 3; i++) { - real_t seg_from = p_from[i]; - real_t seg_to = p_to[i]; - real_t box_begin = position[i]; - real_t box_end = box_begin + size[i]; - real_t cmin, cmax; - real_t csign; - - if (seg_from < seg_to) { - if (seg_from > box_end || seg_to < box_begin) - return false; - real_t length = seg_to - seg_from; - cmin = (seg_from < box_begin) ? ((box_begin - seg_from) / length) : 0; - cmax = (seg_to > box_end) ? ((box_end - seg_from) / length) : 1; - csign = -1.0; - - } else { - if (seg_to > box_end || seg_from < box_begin) - return false; - real_t length = seg_to - seg_from; - cmin = (seg_from > box_end) ? (box_end - seg_from) / length : 0; - cmax = (seg_to < box_begin) ? (box_begin - seg_from) / length : 1; - csign = 1.0; - } - - if (cmin > min) { - min = cmin; - axis = i; - sign = csign; - } - if (cmax < max) - max = cmax; - if (max < min) - return false; - } - - Vector3 rel = p_to - p_from; - - if (r_normal) { - Vector3 normal; - normal[axis] = sign; - *r_normal = normal; - } - - if (r_clip) - *r_clip = p_from + rel * min; - - return true; -} - -bool AABB::intersects_plane(const Plane &p_plane) const { - Vector3 points[8] = { - Vector3(position.x, position.y, position.z), - Vector3(position.x, position.y, position.z + size.z), - Vector3(position.x, position.y + size.y, position.z), - Vector3(position.x, position.y + size.y, position.z + size.z), - Vector3(position.x + size.x, position.y, position.z), - Vector3(position.x + size.x, position.y, position.z + size.z), - Vector3(position.x + size.x, position.y + size.y, position.z), - Vector3(position.x + size.x, position.y + size.y, position.z + size.z), - }; - - bool over = false; - bool under = false; - - for (int i = 0; i < 8; i++) { - if (p_plane.distance_to(points[i]) > 0) - over = true; - else - under = true; - } - - return under && over; -} - -Vector3 AABB::get_longest_axis() const { - Vector3 axis(1, 0, 0); - real_t max_size = size.x; - - if (size.y > max_size) { - axis = Vector3(0, 1, 0); - max_size = size.y; - } - - if (size.z > max_size) { - axis = Vector3(0, 0, 1); - max_size = size.z; - } - - return axis; -} -int AABB::get_longest_axis_index() const { - int axis = 0; - real_t max_size = size.x; - - if (size.y > max_size) { - axis = 1; - max_size = size.y; - } - - if (size.z > max_size) { - axis = 2; - max_size = size.z; - } - - return axis; -} - -Vector3 AABB::get_shortest_axis() const { - Vector3 axis(1, 0, 0); - real_t max_size = size.x; - - if (size.y < max_size) { - axis = Vector3(0, 1, 0); - max_size = size.y; - } - - if (size.z < max_size) { - axis = Vector3(0, 0, 1); - max_size = size.z; - } - - return axis; -} -int AABB::get_shortest_axis_index() const { - int axis = 0; - real_t max_size = size.x; - - if (size.y < max_size) { - axis = 1; - max_size = size.y; - } - - if (size.z < max_size) { - axis = 2; - max_size = size.z; - } - - return axis; -} - -AABB AABB::merge(const AABB &p_with) const { - AABB aabb = *this; - aabb.merge_with(p_with); - return aabb; -} -AABB AABB::expand(const Vector3 &p_vector) const { - AABB aabb = *this; - aabb.expand_to(p_vector); - return aabb; -} -AABB AABB::grow(real_t p_by) const { - AABB aabb = *this; - aabb.grow_by(p_by); - return aabb; -} - -void AABB::get_edge(int p_edge, Vector3 &r_from, Vector3 &r_to) const { - ERR_FAIL_INDEX(p_edge, 12); - switch (p_edge) { - case 0: { - r_from = Vector3(position.x + size.x, position.y, position.z); - r_to = Vector3(position.x, position.y, position.z); - } break; - case 1: { - r_from = Vector3(position.x + size.x, position.y, position.z + size.z); - r_to = Vector3(position.x + size.x, position.y, position.z); - } break; - case 2: { - r_from = Vector3(position.x, position.y, position.z + size.z); - r_to = Vector3(position.x + size.x, position.y, position.z + size.z); - - } break; - case 3: { - r_from = Vector3(position.x, position.y, position.z); - r_to = Vector3(position.x, position.y, position.z + size.z); - - } break; - case 4: { - r_from = Vector3(position.x, position.y + size.y, position.z); - r_to = Vector3(position.x + size.x, position.y + size.y, position.z); - } break; - case 5: { - r_from = Vector3(position.x + size.x, position.y + size.y, position.z); - r_to = Vector3(position.x + size.x, position.y + size.y, position.z + size.z); - } break; - case 6: { - r_from = Vector3(position.x + size.x, position.y + size.y, position.z + size.z); - r_to = Vector3(position.x, position.y + size.y, position.z + size.z); - - } break; - case 7: { - r_from = Vector3(position.x, position.y + size.y, position.z + size.z); - r_to = Vector3(position.x, position.y + size.y, position.z); - - } break; - case 8: { - r_from = Vector3(position.x, position.y, position.z + size.z); - r_to = Vector3(position.x, position.y + size.y, position.z + size.z); - - } break; - case 9: { - r_from = Vector3(position.x, position.y, position.z); - r_to = Vector3(position.x, position.y + size.y, position.z); - - } break; - case 10: { - r_from = Vector3(position.x + size.x, position.y, position.z); - r_to = Vector3(position.x + size.x, position.y + size.y, position.z); - - } break; - case 11: { - r_from = Vector3(position.x + size.x, position.y, position.z + size.z); - r_to = Vector3(position.x + size.x, position.y + size.y, position.z + size.z); - - } break; - } -} - -AABB::operator String() const { - return String() + position + " - " + size; -} - -} // namespace godot diff --git a/src/core/Array.cpp b/src/core/Array.cpp deleted file mode 100644 index 97683870..00000000 --- a/src/core/Array.cpp +++ /dev/null @@ -1,226 +0,0 @@ -/*************************************************************************/ -/* Array.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "Array.hpp" -#include "GodotGlobal.hpp" -#include "Variant.hpp" - -#include - -namespace godot { - -class Object; - -Array::Array() { - godot::api->godot_array_new(&_godot_array); -} - -Array::Array(const Array &other) { - godot::api->godot_array_new_copy(&_godot_array, &other._godot_array); -} - -Array &Array::operator=(const Array &other) { - godot::api->godot_array_destroy(&_godot_array); - godot::api->godot_array_new_copy(&_godot_array, &other._godot_array); - return *this; -} - -Array::Array(const PoolByteArray &a) { - godot::api->godot_array_new_pool_byte_array(&_godot_array, (godot_pool_byte_array *)&a); -} - -Array::Array(const PoolIntArray &a) { - godot::api->godot_array_new_pool_int_array(&_godot_array, (godot_pool_int_array *)&a); -} - -Array::Array(const PoolRealArray &a) { - godot::api->godot_array_new_pool_real_array(&_godot_array, (godot_pool_real_array *)&a); -} - -Array::Array(const PoolStringArray &a) { - godot::api->godot_array_new_pool_string_array(&_godot_array, (godot_pool_string_array *)&a); -} - -Array::Array(const PoolVector2Array &a) { - godot::api->godot_array_new_pool_vector2_array(&_godot_array, (godot_pool_vector2_array *)&a); -} - -Array::Array(const PoolVector3Array &a) { - godot::api->godot_array_new_pool_vector3_array(&_godot_array, (godot_pool_vector3_array *)&a); -} - -Array::Array(const PoolColorArray &a) { - godot::api->godot_array_new_pool_color_array(&_godot_array, (godot_pool_color_array *)&a); -} - -Variant &Array::operator[](const int idx) { - godot_variant *v = godot::api->godot_array_operator_index(&_godot_array, idx); - // We assume it's ok to reinterpret because the value is a pointer whose data is already owned by the array, - // so can return a reference without constructing a Variant - return *reinterpret_cast(v); -} - -const Variant &Array::operator[](const int idx) const { - // Yes, I'm casting away the const... you can hate me now. - // since the result is - godot_variant *v = godot::api->godot_array_operator_index((godot_array *)&_godot_array, idx); - return *reinterpret_cast(v); -} - -void Array::append(const Variant &v) { - godot::api->godot_array_append(&_godot_array, (godot_variant *)&v); -} - -void Array::clear() { - godot::api->godot_array_clear(&_godot_array); -} - -int Array::count(const Variant &v) { - return godot::api->godot_array_count(&_godot_array, (godot_variant *)&v); -} - -bool Array::empty() const { - return godot::api->godot_array_empty(&_godot_array); -} - -void Array::erase(const Variant &v) { - godot::api->godot_array_erase(&_godot_array, (godot_variant *)&v); -} - -Variant Array::front() const { - godot_variant v = godot::api->godot_array_front(&_godot_array); - return Variant(v); -} - -Variant Array::back() const { - godot_variant v = godot::api->godot_array_back(&_godot_array); - return Variant(v); -} - -int Array::find(const Variant &what, const int from) const { - return godot::api->godot_array_find(&_godot_array, (godot_variant *)&what, from); -} - -int Array::find_last(const Variant &what) const { - return godot::api->godot_array_find_last(&_godot_array, (godot_variant *)&what); -} - -bool Array::has(const Variant &what) const { - return godot::api->godot_array_has(&_godot_array, (godot_variant *)&what); -} - -uint32_t Array::hash() const { - return godot::api->godot_array_hash(&_godot_array); -} - -void Array::insert(const int pos, const Variant &value) { - godot::api->godot_array_insert(&_godot_array, pos, (godot_variant *)&value); -} - -void Array::invert() { - godot::api->godot_array_invert(&_godot_array); -} - -Variant Array::pop_back() { - godot_variant v = godot::api->godot_array_pop_back(&_godot_array); - return Variant(v); -} - -Variant Array::pop_front() { - godot_variant v = godot::api->godot_array_pop_front(&_godot_array); - return Variant(v); -} - -void Array::push_back(const Variant &v) { - godot::api->godot_array_push_back(&_godot_array, (godot_variant *)&v); -} - -void Array::push_front(const Variant &v) { - godot::api->godot_array_push_front(&_godot_array, (godot_variant *)&v); -} - -void Array::remove(const int idx) { - godot::api->godot_array_remove(&_godot_array, idx); -} - -int Array::size() const { - return godot::api->godot_array_size(&_godot_array); -} - -void Array::resize(const int size) { - godot::api->godot_array_resize(&_godot_array, size); -} - -int Array::rfind(const Variant &what, const int from) const { - return godot::api->godot_array_rfind(&_godot_array, (godot_variant *)&what, from); -} - -void Array::sort() { - godot::api->godot_array_sort(&_godot_array); -} - -void Array::sort_custom(Object *obj, const String &func) { - godot::api->godot_array_sort_custom(&_godot_array, (godot_object *)obj, (godot_string *)&func); -} - -int Array::bsearch(const Variant &value, const bool before) { - return godot::api->godot_array_bsearch(&_godot_array, (godot_variant *)&value, before); -} - -int Array::bsearch_custom(const Variant &value, const Object *obj, - const String &func, const bool before) { - return godot::api->godot_array_bsearch_custom(&_godot_array, (godot_variant *)&value, - (godot_object *)obj, (godot_string *)&func, before); -} - -Array Array::duplicate(const bool deep) const { - godot_array arr = godot::core_1_1_api->godot_array_duplicate(&_godot_array, deep); - return Array(arr); -} - -Variant Array::max() const { - godot_variant v = godot::core_1_1_api->godot_array_max(&_godot_array); - return Variant(v); -} - -Variant Array::min() const { - godot_variant v = godot::core_1_1_api->godot_array_min(&_godot_array); - return Variant(v); -} - -void Array::shuffle() { - godot::core_1_1_api->godot_array_shuffle(&_godot_array); -} - -Array::~Array() { - godot::api->godot_array_destroy(&_godot_array); -} - -} // namespace godot diff --git a/src/core/Basis.cpp b/src/core/Basis.cpp deleted file mode 100644 index da5f71f9..00000000 --- a/src/core/Basis.cpp +++ /dev/null @@ -1,710 +0,0 @@ -/*************************************************************************/ -/* Basis.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "Basis.hpp" -#include "Defs.hpp" -#include "Quat.hpp" -#include "Vector3.hpp" - -#include - -namespace godot { - -const Basis Basis::IDENTITY = Basis(); -const Basis Basis::FLIP_X = Basis(-1, 0, 0, 0, 1, 0, 0, 0, 1); -const Basis Basis::FLIP_Y = Basis(1, 0, 0, 0, -1, 0, 0, 0, 1); -const Basis Basis::FLIP_Z = Basis(1, 0, 0, 0, 1, 0, 0, 0, -1); - -Basis::Basis(const Vector3 &row0, const Vector3 &row1, const Vector3 &row2) { - elements[0] = row0; - elements[1] = row1; - elements[2] = row2; -} - -Basis::Basis(real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz) { - set(xx, xy, xz, yx, yy, yz, zx, zy, zz); -} - -Basis::Basis() { - elements[0][0] = 1; - elements[0][1] = 0; - elements[0][2] = 0; - elements[1][0] = 0; - elements[1][1] = 1; - elements[1][2] = 0; - elements[2][0] = 0; - elements[2][1] = 0; - elements[2][2] = 1; -} - -#define cofac(row1, col1, row2, col2) \ - (elements[row1][col1] * elements[row2][col2] - elements[row1][col2] * elements[row2][col1]) - -void Basis::invert() { - real_t co[3] = { - cofac(1, 1, 2, 2), cofac(1, 2, 2, 0), cofac(1, 0, 2, 1) - }; - real_t det = elements[0][0] * co[0] + - elements[0][1] * co[1] + - elements[0][2] * co[2]; - - ERR_FAIL_COND(det == 0); - - real_t s = 1.0 / det; - - set(co[0] * s, cofac(0, 2, 2, 1) * s, cofac(0, 1, 1, 2) * s, - co[1] * s, cofac(0, 0, 2, 2) * s, cofac(0, 2, 1, 0) * s, - co[2] * s, cofac(0, 1, 2, 0) * s, cofac(0, 0, 1, 1) * s); -} -#undef cofac - -bool Basis::isequal_approx(const Basis &a, const Basis &b) const { - for (int i = 0; i < 3; i++) { - for (int j = 0; j < 3; j++) { - if ((::fabs(a.elements[i][j] - b.elements[i][j]) < CMP_EPSILON) == false) - return false; - } - } - - return true; -} - -bool Basis::is_orthogonal() const { - Basis id; - Basis m = (*this) * transposed(); - - return isequal_approx(id, m); -} - -bool Basis::is_rotation() const { - return ::fabs(determinant() - 1) < CMP_EPSILON && is_orthogonal(); -} - -void Basis::transpose() { - std::swap(elements[0][1], elements[1][0]); - std::swap(elements[0][2], elements[2][0]); - std::swap(elements[1][2], elements[2][1]); -} - -Basis Basis::inverse() const { - Basis b = *this; - b.invert(); - return b; -} - -Basis Basis::transposed() const { - Basis b = *this; - b.transpose(); - return b; -} - -real_t Basis::determinant() const { - return elements[0][0] * (elements[1][1] * elements[2][2] - elements[2][1] * elements[1][2]) - - elements[1][0] * (elements[0][1] * elements[2][2] - elements[2][1] * elements[0][2]) + - elements[2][0] * (elements[0][1] * elements[1][2] - elements[1][1] * elements[0][2]); -} - -Vector3 Basis::get_axis(int p_axis) const { - // get actual basis axis (elements is transposed for performance) - return Vector3(elements[0][p_axis], elements[1][p_axis], elements[2][p_axis]); -} -void Basis::set_axis(int p_axis, const Vector3 &p_value) { - // get actual basis axis (elements is transposed for performance) - elements[0][p_axis] = p_value.x; - elements[1][p_axis] = p_value.y; - elements[2][p_axis] = p_value.z; -} - -void Basis::rotate(const Vector3 &p_axis, real_t p_phi) { - *this = rotated(p_axis, p_phi); -} - -Basis Basis::rotated(const Vector3 &p_axis, real_t p_phi) const { - return Basis(p_axis, p_phi) * (*this); -} - -void Basis::scale(const Vector3 &p_scale) { - elements[0][0] *= p_scale.x; - elements[0][1] *= p_scale.x; - elements[0][2] *= p_scale.x; - elements[1][0] *= p_scale.y; - elements[1][1] *= p_scale.y; - elements[1][2] *= p_scale.y; - elements[2][0] *= p_scale.z; - elements[2][1] *= p_scale.z; - elements[2][2] *= p_scale.z; -} - -Basis Basis::scaled(const Vector3 &p_scale) const { - Basis b = *this; - b.scale(p_scale); - return b; -} - -Vector3 Basis::get_scale() const { - // We are assuming M = R.S, and performing a polar decomposition to extract R and S. - // FIXME: We eventually need a proper polar decomposition. - // As a cheap workaround until then, to ensure that R is a proper rotation matrix with determinant +1 - // (such that it can be represented by a Quat or Euler angles), we absorb the sign flip into the scaling matrix. - // As such, it works in conjuction with get_rotation(). - real_t det_sign = determinant() > 0 ? 1 : -1; - return det_sign * Vector3( - Vector3(elements[0][0], elements[1][0], elements[2][0]).length(), - Vector3(elements[0][1], elements[1][1], elements[2][1]).length(), - Vector3(elements[0][2], elements[1][2], elements[2][2]).length()); -} - -// TODO: implement this directly without using quaternions to make it more efficient -Basis Basis::slerp(Basis b, float t) const { - ERR_FAIL_COND_V(!is_rotation(), Basis()); - ERR_FAIL_COND_V(!b.is_rotation(), Basis()); - Quat from(*this); - Quat to(b); - return Basis(from.slerp(to, t)); -} - -// get_euler_xyz returns a vector containing the Euler angles in the format -// (a1,a2,a3), where a3 is the angle of the first rotation, and a1 is the last -// (following the convention they are commonly defined in the literature). -// -// The current implementation uses XYZ convention (Z is the first rotation), -// so euler.z is the angle of the (first) rotation around Z axis and so on, -// -// And thus, assuming the matrix is a rotation matrix, this function returns -// the angles in the decomposition R = X(a1).Y(a2).Z(a3) where Z(a) rotates -// around the z-axis by a and so on. -Vector3 Basis::get_euler_xyz() const { - // Euler angles in XYZ convention. - // See https://en.wikipedia.org/wiki/Euler_angles#Rotation_matrix - // - // rot = cy*cz -cy*sz sy - // cz*sx*sy+cx*sz cx*cz-sx*sy*sz -cy*sx - // -cx*cz*sy+sx*sz cz*sx+cx*sy*sz cx*cy - - Vector3 euler; - - ERR_FAIL_COND_V(is_rotation() == false, euler); - - real_t sy = elements[0][2]; - if (sy < 1.0) { - if (sy > -1.0) { - // is this a pure Y rotation? - if (elements[1][0] == 0.0 && elements[0][1] == 0.0 && elements[1][2] == 0 && elements[2][1] == 0 && elements[1][1] == 1) { - // return the simplest form (human friendlier in editor and scripts) - euler.x = 0; - euler.y = atan2(elements[0][2], elements[0][0]); - euler.z = 0; - } else { - euler.x = ::atan2(-elements[1][2], elements[2][2]); - euler.y = ::asin(sy); - euler.z = ::atan2(-elements[0][1], elements[0][0]); - } - } else { - euler.x = -::atan2(elements[0][1], elements[1][1]); - euler.y = -Math_PI / 2.0; - euler.z = 0.0; - } - } else { - euler.x = ::atan2(elements[0][1], elements[1][1]); - euler.y = Math_PI / 2.0; - euler.z = 0.0; - } - return euler; -} - -// set_euler_xyz expects a vector containing the Euler angles in the format -// (ax,ay,az), where ax is the angle of rotation around x axis, -// and similar for other axes. -// The current implementation uses XYZ convention (Z is the first rotation). -void Basis::set_euler_xyz(const Vector3 &p_euler) { - real_t c, s; - - c = ::cos(p_euler.x); - s = ::sin(p_euler.x); - Basis xmat(1.0, 0.0, 0.0, 0.0, c, -s, 0.0, s, c); - - c = ::cos(p_euler.y); - s = ::sin(p_euler.y); - Basis ymat(c, 0.0, s, 0.0, 1.0, 0.0, -s, 0.0, c); - - c = ::cos(p_euler.z); - s = ::sin(p_euler.z); - Basis zmat(c, -s, 0.0, s, c, 0.0, 0.0, 0.0, 1.0); - - //optimizer will optimize away all this anyway - *this = xmat * (ymat * zmat); -} - -// get_euler_yxz returns a vector containing the Euler angles in the YXZ convention, -// as in first-Z, then-X, last-Y. The angles for X, Y, and Z rotations are returned -// as the x, y, and z components of a Vector3 respectively. -Vector3 Basis::get_euler_yxz() const { - // Euler angles in YXZ convention. - // See https://en.wikipedia.org/wiki/Euler_angles#Rotation_matrix - // - // rot = cy*cz+sy*sx*sz cz*sy*sx-cy*sz cx*sy - // cx*sz cx*cz -sx - // cy*sx*sz-cz*sy cy*cz*sx+sy*sz cy*cx - - Vector3 euler; - - ERR_FAIL_COND_V(is_rotation() == false, euler); - - real_t m12 = elements[1][2]; - - if (m12 < 1) { - if (m12 > -1) { - // is this a pure X rotation? - if (elements[1][0] == 0 && elements[0][1] == 0 && elements[0][2] == 0 && elements[2][0] == 0 && elements[0][0] == 1) { - // return the simplest form (human friendlier in editor and scripts) - euler.x = atan2(-m12, elements[1][1]); - euler.y = 0; - euler.z = 0; - } else { - euler.x = asin(-m12); - euler.y = atan2(elements[0][2], elements[2][2]); - euler.z = atan2(elements[1][0], elements[1][1]); - } - } else { // m12 == -1 - euler.x = Math_PI * 0.5; - euler.y = -atan2(-elements[0][1], elements[0][0]); - euler.z = 0; - } - } else { // m12 == 1 - euler.x = -Math_PI * 0.5; - euler.y = -atan2(-elements[0][1], elements[0][0]); - euler.z = 0; - } - - return euler; -} - -// set_euler_yxz expects a vector containing the Euler angles in the format -// (ax,ay,az), where ax is the angle of rotation around x axis, -// and similar for other axes. -// The current implementation uses YXZ convention (Z is the first rotation). -void Basis::set_euler_yxz(const Vector3 &p_euler) { - real_t c, s; - - c = ::cos(p_euler.x); - s = ::sin(p_euler.x); - Basis xmat(1.0, 0.0, 0.0, 0.0, c, -s, 0.0, s, c); - - c = ::cos(p_euler.y); - s = ::sin(p_euler.y); - Basis ymat(c, 0.0, s, 0.0, 1.0, 0.0, -s, 0.0, c); - - c = ::cos(p_euler.z); - s = ::sin(p_euler.z); - Basis zmat(c, -s, 0.0, s, c, 0.0, 0.0, 0.0, 1.0); - - //optimizer will optimize away all this anyway - *this = ymat * xmat * zmat; -} - -// transposed dot products -real_t Basis::tdotx(const Vector3 &v) const { - return elements[0][0] * v[0] + elements[1][0] * v[1] + elements[2][0] * v[2]; -} -real_t Basis::tdoty(const Vector3 &v) const { - return elements[0][1] * v[0] + elements[1][1] * v[1] + elements[2][1] * v[2]; -} -real_t Basis::tdotz(const Vector3 &v) const { - return elements[0][2] * v[0] + elements[1][2] * v[1] + elements[2][2] * v[2]; -} - -bool Basis::operator==(const Basis &p_matrix) const { - for (int i = 0; i < 3; i++) { - for (int j = 0; j < 3; j++) { - if (elements[i][j] != p_matrix.elements[i][j]) - return false; - } - } - - return true; -} - -bool Basis::operator!=(const Basis &p_matrix) const { - return (!(*this == p_matrix)); -} - -Vector3 Basis::xform(const Vector3 &p_vector) const { - return Vector3( - elements[0].dot(p_vector), - elements[1].dot(p_vector), - elements[2].dot(p_vector)); -} - -Vector3 Basis::xform_inv(const Vector3 &p_vector) const { - return Vector3( - (elements[0][0] * p_vector.x) + (elements[1][0] * p_vector.y) + (elements[2][0] * p_vector.z), - (elements[0][1] * p_vector.x) + (elements[1][1] * p_vector.y) + (elements[2][1] * p_vector.z), - (elements[0][2] * p_vector.x) + (elements[1][2] * p_vector.y) + (elements[2][2] * p_vector.z)); -} -void Basis::operator*=(const Basis &p_matrix) { - set( - p_matrix.tdotx(elements[0]), p_matrix.tdoty(elements[0]), p_matrix.tdotz(elements[0]), - p_matrix.tdotx(elements[1]), p_matrix.tdoty(elements[1]), p_matrix.tdotz(elements[1]), - p_matrix.tdotx(elements[2]), p_matrix.tdoty(elements[2]), p_matrix.tdotz(elements[2])); -} - -Basis Basis::operator*(const Basis &p_matrix) const { - return Basis( - p_matrix.tdotx(elements[0]), p_matrix.tdoty(elements[0]), p_matrix.tdotz(elements[0]), - p_matrix.tdotx(elements[1]), p_matrix.tdoty(elements[1]), p_matrix.tdotz(elements[1]), - p_matrix.tdotx(elements[2]), p_matrix.tdoty(elements[2]), p_matrix.tdotz(elements[2])); -} - -void Basis::operator+=(const Basis &p_matrix) { - elements[0] += p_matrix.elements[0]; - elements[1] += p_matrix.elements[1]; - elements[2] += p_matrix.elements[2]; -} - -Basis Basis::operator+(const Basis &p_matrix) const { - Basis ret(*this); - ret += p_matrix; - return ret; -} - -void Basis::operator-=(const Basis &p_matrix) { - elements[0] -= p_matrix.elements[0]; - elements[1] -= p_matrix.elements[1]; - elements[2] -= p_matrix.elements[2]; -} - -Basis Basis::operator-(const Basis &p_matrix) const { - Basis ret(*this); - ret -= p_matrix; - return ret; -} - -void Basis::operator*=(real_t p_val) { - elements[0] *= p_val; - elements[1] *= p_val; - elements[2] *= p_val; -} - -Basis Basis::operator*(real_t p_val) const { - Basis ret(*this); - ret *= p_val; - return ret; -} - -Basis::operator String() const { - String s; - for (int i = 0; i < 3; i++) { - for (int j = 0; j < 3; j++) { - if (i != 0 || j != 0) - s += ", "; - - s += String::num(elements[i][j]); - } - } - return s; -} - -/* create / set */ - -void Basis::set(real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz) { - elements[0][0] = xx; - elements[0][1] = xy; - elements[0][2] = xz; - elements[1][0] = yx; - elements[1][1] = yy; - elements[1][2] = yz; - elements[2][0] = zx; - elements[2][1] = zy; - elements[2][2] = zz; -} -Vector3 Basis::get_column(int i) const { - return Vector3(elements[0][i], elements[1][i], elements[2][i]); -} - -Vector3 Basis::get_row(int i) const { - return Vector3(elements[i][0], elements[i][1], elements[i][2]); -} -Vector3 Basis::get_main_diagonal() const { - return Vector3(elements[0][0], elements[1][1], elements[2][2]); -} - -void Basis::set_row(int i, const Vector3 &p_row) { - elements[i][0] = p_row.x; - elements[i][1] = p_row.y; - elements[i][2] = p_row.z; -} - -Basis Basis::transpose_xform(const Basis &m) const { - return Basis( - elements[0].x * m[0].x + elements[1].x * m[1].x + elements[2].x * m[2].x, - elements[0].x * m[0].y + elements[1].x * m[1].y + elements[2].x * m[2].y, - elements[0].x * m[0].z + elements[1].x * m[1].z + elements[2].x * m[2].z, - elements[0].y * m[0].x + elements[1].y * m[1].x + elements[2].y * m[2].x, - elements[0].y * m[0].y + elements[1].y * m[1].y + elements[2].y * m[2].y, - elements[0].y * m[0].z + elements[1].y * m[1].z + elements[2].y * m[2].z, - elements[0].z * m[0].x + elements[1].z * m[1].x + elements[2].z * m[2].x, - elements[0].z * m[0].y + elements[1].z * m[1].y + elements[2].z * m[2].y, - elements[0].z * m[0].z + elements[1].z * m[1].z + elements[2].z * m[2].z); -} - -void Basis::orthonormalize() { - ERR_FAIL_COND(determinant() == 0); - - // Gram-Schmidt Process - - Vector3 x = get_axis(0); - Vector3 y = get_axis(1); - Vector3 z = get_axis(2); - - x.normalize(); - y = (y - x * (x.dot(y))); - y.normalize(); - z = (z - x * (x.dot(z)) - y * (y.dot(z))); - z.normalize(); - - set_axis(0, x); - set_axis(1, y); - set_axis(2, z); -} - -Basis Basis::orthonormalized() const { - Basis b = *this; - b.orthonormalize(); - return b; -} - -bool Basis::is_symmetric() const { - if (::fabs(elements[0][1] - elements[1][0]) > CMP_EPSILON) - return false; - if (::fabs(elements[0][2] - elements[2][0]) > CMP_EPSILON) - return false; - if (::fabs(elements[1][2] - elements[2][1]) > CMP_EPSILON) - return false; - - return true; -} - -Basis Basis::diagonalize() { - // I love copy paste - - if (!is_symmetric()) - return Basis(); - - const int ite_max = 1024; - - real_t off_matrix_norm_2 = elements[0][1] * elements[0][1] + elements[0][2] * elements[0][2] + elements[1][2] * elements[1][2]; - - int ite = 0; - Basis acc_rot; - while (off_matrix_norm_2 > CMP_EPSILON2 && ite++ < ite_max) { - real_t el01_2 = elements[0][1] * elements[0][1]; - real_t el02_2 = elements[0][2] * elements[0][2]; - real_t el12_2 = elements[1][2] * elements[1][2]; - // Find the pivot element - int i, j; - if (el01_2 > el02_2) { - if (el12_2 > el01_2) { - i = 1; - j = 2; - } else { - i = 0; - j = 1; - } - } else { - if (el12_2 > el02_2) { - i = 1; - j = 2; - } else { - i = 0; - j = 2; - } - } - - // Compute the rotation angle - real_t angle; - if (::fabs(elements[j][j] - elements[i][i]) < CMP_EPSILON) { - angle = Math_PI / 4; - } else { - angle = 0.5 * ::atan(2 * elements[i][j] / (elements[j][j] - elements[i][i])); - } - - // Compute the rotation matrix - Basis rot; - rot.elements[i][i] = rot.elements[j][j] = ::cos(angle); - rot.elements[i][j] = -(rot.elements[j][i] = ::sin(angle)); - - // Update the off matrix norm - off_matrix_norm_2 -= elements[i][j] * elements[i][j]; - - // Apply the rotation - *this = rot * *this * rot.transposed(); - acc_rot = rot * acc_rot; - } - - return acc_rot; -} - -static const Basis _ortho_bases[24] = { - Basis(1, 0, 0, 0, 1, 0, 0, 0, 1), - Basis(0, -1, 0, 1, 0, 0, 0, 0, 1), - Basis(-1, 0, 0, 0, -1, 0, 0, 0, 1), - Basis(0, 1, 0, -1, 0, 0, 0, 0, 1), - Basis(1, 0, 0, 0, 0, -1, 0, 1, 0), - Basis(0, 0, 1, 1, 0, 0, 0, 1, 0), - Basis(-1, 0, 0, 0, 0, 1, 0, 1, 0), - Basis(0, 0, -1, -1, 0, 0, 0, 1, 0), - Basis(1, 0, 0, 0, -1, 0, 0, 0, -1), - Basis(0, 1, 0, 1, 0, 0, 0, 0, -1), - Basis(-1, 0, 0, 0, 1, 0, 0, 0, -1), - Basis(0, -1, 0, -1, 0, 0, 0, 0, -1), - Basis(1, 0, 0, 0, 0, 1, 0, -1, 0), - Basis(0, 0, -1, 1, 0, 0, 0, -1, 0), - Basis(-1, 0, 0, 0, 0, -1, 0, -1, 0), - Basis(0, 0, 1, -1, 0, 0, 0, -1, 0), - Basis(0, 0, 1, 0, 1, 0, -1, 0, 0), - Basis(0, -1, 0, 0, 0, 1, -1, 0, 0), - Basis(0, 0, -1, 0, -1, 0, -1, 0, 0), - Basis(0, 1, 0, 0, 0, -1, -1, 0, 0), - Basis(0, 0, 1, 0, -1, 0, 1, 0, 0), - Basis(0, 1, 0, 0, 0, 1, 1, 0, 0), - Basis(0, 0, -1, 0, 1, 0, 1, 0, 0), - Basis(0, -1, 0, 0, 0, -1, 1, 0, 0) -}; - -int Basis::get_orthogonal_index() const { - //could be sped up if i come up with a way - Basis orth = *this; - for (int i = 0; i < 3; i++) { - for (int j = 0; j < 3; j++) { - real_t v = orth[i][j]; - if (v > 0.5) - v = 1.0; - else if (v < -0.5) - v = -1.0; - else - v = 0; - - orth[i][j] = v; - } - } - - for (int i = 0; i < 24; i++) { - if (_ortho_bases[i] == orth) - return i; - } - - return 0; -} - -void Basis::set_orthogonal_index(int p_index) { - //there only exist 24 orthogonal bases in r3 - ERR_FAIL_COND(p_index >= 24); - - *this = _ortho_bases[p_index]; -} - -Basis::Basis(const Vector3 &p_euler) { - set_euler(p_euler); -} - -} // namespace godot - -#include "Quat.hpp" - -namespace godot { - -Basis::Basis(const Quat &p_quat) { - real_t d = p_quat.length_squared(); - real_t s = 2.0 / d; - real_t xs = p_quat.x * s, ys = p_quat.y * s, zs = p_quat.z * s; - real_t wx = p_quat.w * xs, wy = p_quat.w * ys, wz = p_quat.w * zs; - real_t xx = p_quat.x * xs, xy = p_quat.x * ys, xz = p_quat.x * zs; - real_t yy = p_quat.y * ys, yz = p_quat.y * zs, zz = p_quat.z * zs; - set(1.0 - (yy + zz), xy - wz, xz + wy, - xy + wz, 1.0 - (xx + zz), yz - wx, - xz - wy, yz + wx, 1.0 - (xx + yy)); -} - -Basis::Basis(const Vector3 &p_axis, real_t p_phi) { - // Rotation matrix from axis and angle, see https://en.wikipedia.org/wiki/Rotation_matrix#Rotation_matrix_from_axis_and_angle - - Vector3 axis_sq(p_axis.x * p_axis.x, p_axis.y * p_axis.y, p_axis.z * p_axis.z); - - real_t cosine = ::cos(p_phi); - real_t sine = ::sin(p_phi); - - elements[0][0] = axis_sq.x + cosine * (1.0 - axis_sq.x); - elements[0][1] = p_axis.x * p_axis.y * (1.0 - cosine) - p_axis.z * sine; - elements[0][2] = p_axis.z * p_axis.x * (1.0 - cosine) + p_axis.y * sine; - - elements[1][0] = p_axis.x * p_axis.y * (1.0 - cosine) + p_axis.z * sine; - elements[1][1] = axis_sq.y + cosine * (1.0 - axis_sq.y); - elements[1][2] = p_axis.y * p_axis.z * (1.0 - cosine) - p_axis.x * sine; - - elements[2][0] = p_axis.z * p_axis.x * (1.0 - cosine) - p_axis.y * sine; - elements[2][1] = p_axis.y * p_axis.z * (1.0 - cosine) + p_axis.x * sine; - elements[2][2] = axis_sq.z + cosine * (1.0 - axis_sq.z); -} - -Basis::operator Quat() const { - //commenting this check because precision issues cause it to fail when it shouldn't - //ERR_FAIL_COND_V(is_rotation() == false, Quat()); - - real_t trace = elements[0][0] + elements[1][1] + elements[2][2]; - real_t temp[4]; - - if (trace > 0.0) { - real_t s = ::sqrt(trace + 1.0); - temp[3] = (s * 0.5); - s = 0.5 / s; - - temp[0] = ((elements[2][1] - elements[1][2]) * s); - temp[1] = ((elements[0][2] - elements[2][0]) * s); - temp[2] = ((elements[1][0] - elements[0][1]) * s); - } else { - int i = elements[0][0] < elements[1][1] ? - (elements[1][1] < elements[2][2] ? 2 : 1) : - (elements[0][0] < elements[2][2] ? 2 : 0); - int j = (i + 1) % 3; - int k = (i + 2) % 3; - - real_t s = ::sqrt(elements[i][i] - elements[j][j] - elements[k][k] + 1.0); - temp[i] = s * 0.5; - s = 0.5 / s; - - temp[3] = (elements[k][j] - elements[j][k]) * s; - temp[j] = (elements[j][i] + elements[i][j]) * s; - temp[k] = (elements[k][i] + elements[i][k]) * s; - } - - return Quat(temp[0], temp[1], temp[2], temp[3]); -} - -} // namespace godot diff --git a/src/core/CameraMatrix.cpp b/src/core/CameraMatrix.cpp deleted file mode 100644 index de532636..00000000 --- a/src/core/CameraMatrix.cpp +++ /dev/null @@ -1,655 +0,0 @@ -/*************************************************************************/ -/* CameraMatrix.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "CameraMatrix.hpp" - -void CameraMatrix::set_identity() { - for (int i = 0; i < 4; i++) { - for (int j = 0; j < 4; j++) { - matrix[i][j] = (i == j) ? 1 : 0; - } - } -} - -void CameraMatrix::set_zero() { - for (int i = 0; i < 4; i++) { - for (int j = 0; j < 4; j++) { - matrix[i][j] = 0; - } - } -} - -Plane CameraMatrix::xform4(const Plane &p_vec4) const { - Plane ret; - - ret.normal.x = matrix[0][0] * p_vec4.normal.x + matrix[1][0] * p_vec4.normal.y + matrix[2][0] * p_vec4.normal.z + matrix[3][0] * p_vec4.d; - ret.normal.y = matrix[0][1] * p_vec4.normal.x + matrix[1][1] * p_vec4.normal.y + matrix[2][1] * p_vec4.normal.z + matrix[3][1] * p_vec4.d; - ret.normal.z = matrix[0][2] * p_vec4.normal.x + matrix[1][2] * p_vec4.normal.y + matrix[2][2] * p_vec4.normal.z + matrix[3][2] * p_vec4.d; - ret.d = matrix[0][3] * p_vec4.normal.x + matrix[1][3] * p_vec4.normal.y + matrix[2][3] * p_vec4.normal.z + matrix[3][3] * p_vec4.d; - return ret; -} - -void CameraMatrix::set_perspective(real_t p_fovy_degrees, real_t p_aspect, real_t p_z_near, real_t p_z_far, bool p_flip_fov) { - if (p_flip_fov) { - p_fovy_degrees = get_fovy(p_fovy_degrees, 1.0 / p_aspect); - } - - real_t sine, cotangent, deltaZ; - real_t radians = p_fovy_degrees / 2.0 * Math_PI / 180.0; - - deltaZ = p_z_far - p_z_near; - sine = sin(radians); - - if ((deltaZ == 0) || (sine == 0) || (p_aspect == 0)) { - return; - } - cotangent = cos(radians) / sine; - - set_identity(); - - matrix[0][0] = cotangent / p_aspect; - matrix[1][1] = cotangent; - matrix[2][2] = -(p_z_far + p_z_near) / deltaZ; - matrix[2][3] = -1; - matrix[3][2] = -2 * p_z_near * p_z_far / deltaZ; - matrix[3][3] = 0; -} - -void CameraMatrix::set_perspective(real_t p_fovy_degrees, real_t p_aspect, real_t p_z_near, real_t p_z_far, bool p_flip_fov, int p_eye, real_t p_intraocular_dist, real_t p_convergence_dist) { - if (p_flip_fov) { - p_fovy_degrees = get_fovy(p_fovy_degrees, 1.0 / p_aspect); - } - - real_t left, right, modeltranslation, ymax, xmax, frustumshift; - - ymax = p_z_near * tan(p_fovy_degrees * Math_PI / 360.0f); - xmax = ymax * p_aspect; - frustumshift = (p_intraocular_dist / 2.0) * p_z_near / p_convergence_dist; - - switch (p_eye) { - case 1: { // left eye - left = -xmax + frustumshift; - right = xmax + frustumshift; - modeltranslation = p_intraocular_dist / 2.0; - }; break; - case 2: { // right eye - left = -xmax - frustumshift; - right = xmax - frustumshift; - modeltranslation = -p_intraocular_dist / 2.0; - }; break; - default: { // mono, should give the same result as set_perspective(p_fovy_degrees,p_aspect,p_z_near,p_z_far,p_flip_fov) - left = -xmax; - right = xmax; - modeltranslation = 0.0; - }; break; - }; - - set_frustum(left, right, -ymax, ymax, p_z_near, p_z_far); - - // translate matrix by (modeltranslation, 0.0, 0.0) - CameraMatrix cm; - cm.set_identity(); - cm.matrix[3][0] = modeltranslation; - *this = *this * cm; -} - -void CameraMatrix::set_for_hmd(int p_eye, real_t p_aspect, real_t p_intraocular_dist, real_t p_display_width, real_t p_display_to_lens, real_t p_oversample, real_t p_z_near, real_t p_z_far) { - // we first calculate our base frustum on our values without taking our lens magnification into account. - real_t f1 = (p_intraocular_dist * 0.5) / p_display_to_lens; - real_t f2 = ((p_display_width - p_intraocular_dist) * 0.5) / p_display_to_lens; - real_t f3 = (p_display_width / 4.0) / p_display_to_lens; - - // now we apply our oversample factor to increase our FOV. how much we oversample is always a balance we strike between performance and how much - // we're willing to sacrifice in FOV. - real_t add = ((f1 + f2) * (p_oversample - 1.0)) / 2.0; - f1 += add; - f2 += add; - f3 *= p_oversample; - - // always apply KEEP_WIDTH aspect ratio - f3 /= p_aspect; - - switch (p_eye) { - case 1: { // left eye - set_frustum(-f2 * p_z_near, f1 * p_z_near, -f3 * p_z_near, f3 * p_z_near, p_z_near, p_z_far); - }; break; - case 2: { // right eye - set_frustum(-f1 * p_z_near, f2 * p_z_near, -f3 * p_z_near, f3 * p_z_near, p_z_near, p_z_far); - }; break; - default: { // mono, does not apply here! - }; break; - }; -}; - -void CameraMatrix::set_orthogonal(real_t p_left, real_t p_right, real_t p_bottom, real_t p_top, real_t p_znear, real_t p_zfar) { - set_identity(); - - matrix[0][0] = 2.0 / (p_right - p_left); - matrix[3][0] = -((p_right + p_left) / (p_right - p_left)); - matrix[1][1] = 2.0 / (p_top - p_bottom); - matrix[3][1] = -((p_top + p_bottom) / (p_top - p_bottom)); - matrix[2][2] = -2.0 / (p_zfar - p_znear); - matrix[3][2] = -((p_zfar + p_znear) / (p_zfar - p_znear)); - matrix[3][3] = 1.0; -} - -void CameraMatrix::set_orthogonal(real_t p_size, real_t p_aspect, real_t p_znear, real_t p_zfar, bool p_flip_fov) { - if (!p_flip_fov) { - p_size *= p_aspect; - } - - set_orthogonal(-p_size / 2, +p_size / 2, -p_size / p_aspect / 2, +p_size / p_aspect / 2, p_znear, p_zfar); -} - -void CameraMatrix::set_frustum(real_t p_left, real_t p_right, real_t p_bottom, real_t p_top, real_t p_near, real_t p_far) { - ERR_FAIL_COND(p_right <= p_left); - ERR_FAIL_COND(p_top <= p_bottom); - ERR_FAIL_COND(p_far <= p_near); - - real_t *te = &matrix[0][0]; - real_t x = 2 * p_near / (p_right - p_left); - real_t y = 2 * p_near / (p_top - p_bottom); - - real_t a = (p_right + p_left) / (p_right - p_left); - real_t b = (p_top + p_bottom) / (p_top - p_bottom); - real_t c = -(p_far + p_near) / (p_far - p_near); - real_t d = -2 * p_far * p_near / (p_far - p_near); - - te[0] = x; - te[1] = 0; - te[2] = 0; - te[3] = 0; - te[4] = 0; - te[5] = y; - te[6] = 0; - te[7] = 0; - te[8] = a; - te[9] = b; - te[10] = c; - te[11] = -1; - te[12] = 0; - te[13] = 0; - te[14] = d; - te[15] = 0; -} - -void CameraMatrix::set_frustum(real_t p_size, real_t p_aspect, Vector2 p_offset, real_t p_near, real_t p_far, bool p_flip_fov) { - if (!p_flip_fov) { - p_size *= p_aspect; - } - - set_frustum(-p_size / 2 + p_offset.x, +p_size / 2 + p_offset.x, -p_size / p_aspect / 2 + p_offset.y, +p_size / p_aspect / 2 + p_offset.y, p_near, p_far); -} - -real_t CameraMatrix::get_z_far() const { - const real_t *matrix = (const real_t *)this->matrix; - Plane new_plane = Plane(matrix[3] - matrix[2], - matrix[7] - matrix[6], - matrix[11] - matrix[10], - matrix[15] - matrix[14]); - - new_plane.normal = -new_plane.normal; - new_plane.normalize(); - - return new_plane.d; -} -real_t CameraMatrix::get_z_near() const { - const real_t *matrix = (const real_t *)this->matrix; - Plane new_plane = Plane(matrix[3] + matrix[2], - matrix[7] + matrix[6], - matrix[11] + matrix[10], - -matrix[15] - matrix[14]); - - new_plane.normalize(); - return new_plane.d; -} - -Vector2 CameraMatrix::get_viewport_half_extents() const { - const real_t *matrix = (const real_t *)this->matrix; - ///////--- Near Plane ---/////// - Plane near_plane = Plane(matrix[3] + matrix[2], - matrix[7] + matrix[6], - matrix[11] + matrix[10], - -matrix[15] - matrix[14]); - near_plane.normalize(); - - ///////--- Right Plane ---/////// - Plane right_plane = Plane(matrix[3] - matrix[0], - matrix[7] - matrix[4], - matrix[11] - matrix[8], - -matrix[15] + matrix[12]); - right_plane.normalize(); - - Plane top_plane = Plane(matrix[3] - matrix[1], - matrix[7] - matrix[5], - matrix[11] - matrix[9], - -matrix[15] + matrix[13]); - top_plane.normalize(); - - Vector3 res; - near_plane.intersect_3(right_plane, top_plane, &res); - - return Vector2(res.x, res.y); -} - -bool CameraMatrix::get_endpoints(const Transform &p_transform, Vector3 *p_8points) const { - std::vector planes = get_projection_planes(Transform()); - const Planes intersections[8][3] = { - { PLANE_FAR, PLANE_LEFT, PLANE_TOP }, - { PLANE_FAR, PLANE_LEFT, PLANE_BOTTOM }, - { PLANE_FAR, PLANE_RIGHT, PLANE_TOP }, - { PLANE_FAR, PLANE_RIGHT, PLANE_BOTTOM }, - { PLANE_NEAR, PLANE_LEFT, PLANE_TOP }, - { PLANE_NEAR, PLANE_LEFT, PLANE_BOTTOM }, - { PLANE_NEAR, PLANE_RIGHT, PLANE_TOP }, - { PLANE_NEAR, PLANE_RIGHT, PLANE_BOTTOM }, - }; - - for (int i = 0; i < 8; i++) { - Vector3 point; - bool res = planes[intersections[i][0]].intersect_3(planes[intersections[i][1]], planes[intersections[i][2]], &point); - ERR_FAIL_COND_V(!res, false); - p_8points[i] = p_transform.xform(point); - } - - return true; -} - -std::vector CameraMatrix::get_projection_planes(const Transform &p_transform) const { - /** Fast Plane Extraction from combined modelview/projection matrices. - * References: - * https://web.archive.org/web/20011221205252/http://www.markmorley.com/opengl/frustumculling.html - * https://web.archive.org/web/20061020020112/http://www2.ravensoft.com/users/ggribb/plane%20extraction.pdf - */ - - std::vector planes; - - const real_t *matrix = (const real_t *)this->matrix; - - Plane new_plane; - - ///////--- Near Plane ---/////// - new_plane = Plane(matrix[3] + matrix[2], - matrix[7] + matrix[6], - matrix[11] + matrix[10], - matrix[15] + matrix[14]); - - new_plane.normal = -new_plane.normal; - new_plane.normalize(); - - planes.push_back(p_transform.xform(new_plane)); - - ///////--- Far Plane ---/////// - new_plane = Plane(matrix[3] - matrix[2], - matrix[7] - matrix[6], - matrix[11] - matrix[10], - matrix[15] - matrix[14]); - - new_plane.normal = -new_plane.normal; - new_plane.normalize(); - - planes.push_back(p_transform.xform(new_plane)); - - ///////--- Left Plane ---/////// - new_plane = Plane(matrix[3] + matrix[0], - matrix[7] + matrix[4], - matrix[11] + matrix[8], - matrix[15] + matrix[12]); - - new_plane.normal = -new_plane.normal; - new_plane.normalize(); - - planes.push_back(p_transform.xform(new_plane)); - - ///////--- Top Plane ---/////// - new_plane = Plane(matrix[3] - matrix[1], - matrix[7] - matrix[5], - matrix[11] - matrix[9], - matrix[15] - matrix[13]); - - new_plane.normal = -new_plane.normal; - new_plane.normalize(); - - planes.push_back(p_transform.xform(new_plane)); - - ///////--- Right Plane ---/////// - new_plane = Plane(matrix[3] - matrix[0], - matrix[7] - matrix[4], - matrix[11] - matrix[8], - matrix[15] - matrix[12]); - - new_plane.normal = -new_plane.normal; - new_plane.normalize(); - - planes.push_back(p_transform.xform(new_plane)); - - ///////--- Bottom Plane ---/////// - new_plane = Plane(matrix[3] + matrix[1], - matrix[7] + matrix[5], - matrix[11] + matrix[9], - matrix[15] + matrix[13]); - - new_plane.normal = -new_plane.normal; - new_plane.normalize(); - - planes.push_back(p_transform.xform(new_plane)); - - return planes; -} - -CameraMatrix CameraMatrix::inverse() const { - CameraMatrix cm = *this; - cm.invert(); - return cm; -} - -void CameraMatrix::invert() { - int i, j, k; - int pvt_i[4], pvt_j[4]; /* Locations of pivot matrix */ - real_t pvt_val; /* Value of current pivot element */ - real_t hold; /* Temporary storage */ - real_t determinat; /* Determinant */ - - determinat = 1.0; - for (k = 0; k < 4; k++) { - /** Locate k'th pivot element **/ - pvt_val = matrix[k][k]; /** Initialize for search **/ - pvt_i[k] = k; - pvt_j[k] = k; - for (i = k; i < 4; i++) { - for (j = k; j < 4; j++) { - if (absd(matrix[i][j]) > absd(pvt_val)) { - pvt_i[k] = i; - pvt_j[k] = j; - pvt_val = matrix[i][j]; - } - } - } - - /** Product of pivots, gives determinant when finished **/ - determinat *= pvt_val; - if (absd(determinat) < 1e-7) { - return; //(false); /** Matrix is singular (zero determinant). **/ - } - - /** "Interchange" rows (with sign change stuff) **/ - i = pvt_i[k]; - if (i != k) { /** If rows are different **/ - for (j = 0; j < 4; j++) { - hold = -matrix[k][j]; - matrix[k][j] = matrix[i][j]; - matrix[i][j] = hold; - } - } - - /** "Interchange" columns **/ - j = pvt_j[k]; - if (j != k) { /** If columns are different **/ - for (i = 0; i < 4; i++) { - hold = -matrix[i][k]; - matrix[i][k] = matrix[i][j]; - matrix[i][j] = hold; - } - } - - /** Divide column by minus pivot value **/ - for (i = 0; i < 4; i++) { - if (i != k) - matrix[i][k] /= (-pvt_val); - } - - /** Reduce the matrix **/ - for (i = 0; i < 4; i++) { - hold = matrix[i][k]; - for (j = 0; j < 4; j++) { - if (i != k && j != k) - matrix[i][j] += hold * matrix[k][j]; - } - } - - /** Divide row by pivot **/ - for (j = 0; j < 4; j++) { - if (j != k) - matrix[k][j] /= pvt_val; - } - - /** Replace pivot by reciprocal (at last we can touch it). **/ - matrix[k][k] = 1.0 / pvt_val; - } - - /* That was most of the work, one final pass of row/column interchange */ - /* to finish */ - for (k = 4 - 2; k >= 0; k--) { /* Don't need to work with 1 by 1 corner*/ - i = pvt_j[k]; /* Rows to swap correspond to pivot COLUMN */ - if (i != k) { /* If rows are different */ - for (j = 0; j < 4; j++) { - hold = matrix[k][j]; - matrix[k][j] = -matrix[i][j]; - matrix[i][j] = hold; - } - } - - j = pvt_i[k]; /* Columns to swap correspond to pivot ROW */ - if (j != k) /* If columns are different */ - for (i = 0; i < 4; i++) { - hold = matrix[i][k]; - matrix[i][k] = -matrix[i][j]; - matrix[i][j] = hold; - } - } -} - -CameraMatrix::CameraMatrix() { - set_identity(); -} - -CameraMatrix CameraMatrix::operator*(const CameraMatrix &p_matrix) const { - CameraMatrix new_matrix; - - for (int j = 0; j < 4; j++) { - for (int i = 0; i < 4; i++) { - real_t ab = 0; - for (int k = 0; k < 4; k++) - ab += matrix[k][i] * p_matrix.matrix[j][k]; - new_matrix.matrix[j][i] = ab; - } - } - - return new_matrix; -} - -void CameraMatrix::set_light_bias() { - real_t *m = &matrix[0][0]; - - m[0] = 0.5; - m[1] = 0.0; - m[2] = 0.0; - m[3] = 0.0; - m[4] = 0.0; - m[5] = 0.5; - m[6] = 0.0; - m[7] = 0.0; - m[8] = 0.0; - m[9] = 0.0; - m[10] = 0.5; - m[11] = 0.0; - m[12] = 0.5; - m[13] = 0.5; - m[14] = 0.5; - m[15] = 1.0; -} - -void CameraMatrix::set_light_atlas_rect(const Rect2 &p_rect) { - real_t *m = &matrix[0][0]; - - m[0] = p_rect.size.width; - m[1] = 0.0; - m[2] = 0.0; - m[3] = 0.0; - m[4] = 0.0; - m[5] = p_rect.size.height; - m[6] = 0.0; - m[7] = 0.0; - m[8] = 0.0; - m[9] = 0.0; - m[10] = 1.0; - m[11] = 0.0; - m[12] = p_rect.position.x; - m[13] = p_rect.position.y; - m[14] = 0.0; - m[15] = 1.0; -} - -CameraMatrix::operator String() const { - String str; - for (int i = 0; i < 4; i++) - for (int j = 0; j < 4; j++) - str += String((j > 0) ? ", " : "\n") + String::num(matrix[i][j]); - - return str; -} - -real_t CameraMatrix::get_aspect() const { - Vector2 vp_he = get_viewport_half_extents(); - return vp_he.x / vp_he.y; -} - -int CameraMatrix::get_pixels_per_meter(int p_for_pixel_width) const { - Vector3 result = xform(Vector3(1, 0, -1)); - - return int((result.x * 0.5 + 0.5) * p_for_pixel_width); -} - -bool CameraMatrix::is_orthogonal() const { - return matrix[3][3] == 1.0; -} - -real_t CameraMatrix::get_fov() const { - const real_t *matrix = (const real_t *)this->matrix; - - Plane right_plane = Plane(matrix[3] - matrix[0], - matrix[7] - matrix[4], - matrix[11] - matrix[8], - -matrix[15] + matrix[12]); - right_plane.normalize(); - - if ((matrix[8] == 0) && (matrix[9] == 0)) { - return Math::rad2deg(acos(std::abs(right_plane.normal.x))) * 2.0; - } else { - // our frustum is asymmetrical need to calculate the left planes angle separately.. - Plane left_plane = Plane(matrix[3] + matrix[0], - matrix[7] + matrix[4], - matrix[11] + matrix[8], - matrix[15] + matrix[12]); - left_plane.normalize(); - - return Math::rad2deg(acos(std::abs(left_plane.normal.x))) + Math::rad2deg(acos(std::abs(right_plane.normal.x))); - } -} - -void CameraMatrix::make_scale(const Vector3 &p_scale) { - set_identity(); - matrix[0][0] = p_scale.x; - matrix[1][1] = p_scale.y; - matrix[2][2] = p_scale.z; -} - -void CameraMatrix::scale_translate_to_fit(const AABB &p_aabb) { - Vector3 min = p_aabb.position; - Vector3 max = p_aabb.position + p_aabb.size; - - matrix[0][0] = 2 / (max.x - min.x); - matrix[1][0] = 0; - matrix[2][0] = 0; - matrix[3][0] = -(max.x + min.x) / (max.x - min.x); - - matrix[0][1] = 0; - matrix[1][1] = 2 / (max.y - min.y); - matrix[2][1] = 0; - matrix[3][1] = -(max.y + min.y) / (max.y - min.y); - - matrix[0][2] = 0; - matrix[1][2] = 0; - matrix[2][2] = 2 / (max.z - min.z); - matrix[3][2] = -(max.z + min.z) / (max.z - min.z); - - matrix[0][3] = 0; - matrix[1][3] = 0; - matrix[2][3] = 0; - matrix[3][3] = 1; -} - -CameraMatrix::operator Transform() const { - Transform tr; - const real_t *m = &matrix[0][0]; - - tr.basis.elements[0][0] = m[0]; - tr.basis.elements[1][0] = m[1]; - tr.basis.elements[2][0] = m[2]; - - tr.basis.elements[0][1] = m[4]; - tr.basis.elements[1][1] = m[5]; - tr.basis.elements[2][1] = m[6]; - - tr.basis.elements[0][2] = m[8]; - tr.basis.elements[1][2] = m[9]; - tr.basis.elements[2][2] = m[10]; - - tr.origin.x = m[12]; - tr.origin.y = m[13]; - tr.origin.z = m[14]; - - return tr; -} - -CameraMatrix::CameraMatrix(const Transform &p_transform) { - const Transform &tr = p_transform; - real_t *m = &matrix[0][0]; - - m[0] = tr.basis.elements[0][0]; - m[1] = tr.basis.elements[1][0]; - m[2] = tr.basis.elements[2][0]; - m[3] = 0.0; - m[4] = tr.basis.elements[0][1]; - m[5] = tr.basis.elements[1][1]; - m[6] = tr.basis.elements[2][1]; - m[7] = 0.0; - m[8] = tr.basis.elements[0][2]; - m[9] = tr.basis.elements[1][2]; - m[10] = tr.basis.elements[2][2]; - m[11] = 0.0; - m[12] = tr.origin.x; - m[13] = tr.origin.y; - m[14] = tr.origin.z; - m[15] = 1.0; -} - -CameraMatrix::~CameraMatrix() { -} diff --git a/src/core/Color.cpp b/src/core/Color.cpp deleted file mode 100644 index 8efc5c30..00000000 --- a/src/core/Color.cpp +++ /dev/null @@ -1,655 +0,0 @@ -/*************************************************************************/ -/* Color.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "Color.hpp" -#include "Defs.hpp" -#include "String.hpp" - -#include -#include - -namespace godot { - -#define MIN(a, b) (a < b ? a : b) -#define MAX(a, b) (a > b ? a : b) - -static String _to_hex(float p_val); - -static float _parse_col(const String &p_str, int p_ofs) { - int ig = 0; - - for (int i = 0; i < 2; i++) { - int c = (int)(wchar_t)p_str[i + p_ofs]; - int v = 0; - - if (c >= '0' && c <= '9') { - v = c - '0'; - } else if (c >= 'a' && c <= 'f') { - v = c - 'a'; - v += 10; - } else if (c >= 'A' && c <= 'F') { - v = c - 'A'; - v += 10; - } else { - return -1; - } - - if (i == 0) - ig += v * 16; - else - ig += v; - } - - return ig; -} - -uint32_t Color::to_32() const { - uint32_t c = (uint8_t)(a * 255); - c <<= 8; - c |= (uint8_t)(r * 255); - c <<= 8; - c |= (uint8_t)(g * 255); - c <<= 8; - c |= (uint8_t)(b * 255); - - return c; -} - -uint32_t Color::to_ARGB32() const { - uint32_t c = (uint8_t)(a * 255); - c <<= 8; - c |= (uint8_t)(r * 255); - c <<= 8; - c |= (uint8_t)(g * 255); - c <<= 8; - c |= (uint8_t)(b * 255); - - return c; -} - -uint32_t Color::to_ABGR32() const { - uint32_t c = (uint8_t)(a * 255); - c <<= 8; - c |= (uint8_t)(b * 255); - c <<= 8; - c |= (uint8_t)(g * 255); - c <<= 8; - c |= (uint8_t)(r * 255); - - return c; -} - -uint64_t Color::to_ABGR64() const { - uint64_t c = (uint16_t)(a * 65535); - c <<= 16; - c |= (uint16_t)(b * 65535); - c <<= 16; - c |= (uint16_t)(g * 65535); - c <<= 16; - c |= (uint16_t)(r * 65535); - - return c; -} - -uint64_t Color::to_ARGB64() const { - uint64_t c = (uint16_t)(a * 65535); - c <<= 16; - c |= (uint16_t)(r * 65535); - c <<= 16; - c |= (uint16_t)(g * 65535); - c <<= 16; - c |= (uint16_t)(b * 65535); - - return c; -} - -uint32_t Color::to_RGBA32() const { - uint32_t c = (uint8_t)(r * 255); - c <<= 8; - c |= (uint8_t)(g * 255); - c <<= 8; - c |= (uint8_t)(b * 255); - c <<= 8; - c |= (uint8_t)(a * 255); - - return c; -} - -uint64_t Color::to_RGBA64() const { - uint64_t c = (uint16_t)(r * 65535); - c <<= 16; - c |= (uint16_t)(g * 65535); - c <<= 16; - c |= (uint16_t)(b * 65535); - c <<= 16; - c |= (uint16_t)(a * 65535); - - return c; -} - -float Color::gray() const { - return (r + g + b) / 3.0; -} - -uint8_t Color::get_r8() const { - return (uint8_t)(r * 255.0); -} - -uint8_t Color::get_g8() const { - return (uint8_t)(g * 255.0); -} - -uint8_t Color::get_b8() const { - return (uint8_t)(b * 255.0); -} - -uint8_t Color::get_a8() const { - return (uint8_t)(a * 255.0); -} - -float Color::get_h() const { - float min = MIN(r, g); - min = MIN(min, b); - float max = MAX(r, g); - max = MAX(max, b); - - float delta = max - min; - - if (delta == 0) - return 0; - - float h; - if (r == max) - h = (g - b) / delta; // between yellow & magenta - else if (g == max) - h = 2 + (b - r) / delta; // between cyan & yellow - else - h = 4 + (r - g) / delta; // between magenta & cyan - - h /= 6.0; - if (h < 0) - h += 1.0; - - return h; -} - -float Color::get_s() const { - float min = MIN(r, g); - min = MIN(min, b); - float max = MAX(r, g); - max = MAX(max, b); - float delta = max - min; - return (max != 0) ? (delta / max) : 0; -} - -float Color::get_v() const { - float max = MAX(r, g); - max = MAX(max, b); - return max; -} - -void Color::set_hsv(float p_h, float p_s, float p_v, float p_alpha) { - int i; - float f, p, q, t; - a = p_alpha; - - if (p_s == 0) { - // acp_hromatic (grey) - r = g = b = p_v; - return; - } - - p_h *= 6.0; - p_h = ::fmod(p_h, 6); - i = ::floor(p_h); - - f = p_h - i; - p = p_v * (1 - p_s); - q = p_v * (1 - p_s * f); - t = p_v * (1 - p_s * (1 - f)); - - switch (i) { - case 0: // Red is the dominant color - r = p_v; - g = t; - b = p; - break; - case 1: // Green is the dominant color - r = q; - g = p_v; - b = p; - break; - case 2: - r = p; - g = p_v; - b = t; - break; - case 3: // Blue is the dominant color - r = p; - g = q; - b = p_v; - break; - case 4: - r = t; - g = p; - b = p_v; - break; - default: // (5) Red is the dominant color - r = p_v; - g = p; - b = q; - break; - } -} - -Color Color::darkened(const float p_amount) const { - Color res = *this; - res.r = res.r * (1.0f - p_amount); - res.g = res.g * (1.0f - p_amount); - res.b = res.b * (1.0f - p_amount); - return res; -} - -Color Color::lightened(const float p_amount) const { - Color res = *this; - res.r = res.r + (1.0f - res.r) * p_amount; - res.g = res.g + (1.0f - res.g) * p_amount; - res.b = res.b + (1.0f - res.b) * p_amount; - return res; -} - -Color Color::from_hsv(float p_h, float p_s, float p_v, float p_a) const { - p_h = ::fmod(p_h * 360.0f, 360.0f); - if (p_h < 0.0) - p_h += 360.0f; - - const float h_ = p_h / 60.0f; - const float c = p_v * p_s; - const float x = c * (1.0f - ::fabs(::fmod(h_, 2.0f) - 1.0f)); - float r, g, b; - - switch ((int)h_) { - case 0: { - r = c; - g = x; - b = 0; - } break; - case 1: { - r = x; - g = c; - b = 0; - } break; - case 2: { - r = 0; - g = c; - b = x; - } break; - case 3: { - r = 0; - g = x; - b = c; - } break; - case 4: { - r = x; - g = 0; - b = c; - } break; - case 5: { - r = c; - g = 0; - b = x; - } break; - default: { - r = 0; - g = 0; - b = 0; - } break; - } - - const float m = p_v - c; - return Color(m + r, m + g, m + b, p_a); -} - -void Color::invert() { - r = 1.0 - r; - g = 1.0 - g; - b = 1.0 - b; -} - -void Color::contrast() { - r = ::fmod(r + 0.5, 1.0); - g = ::fmod(g + 0.5, 1.0); - b = ::fmod(b + 0.5, 1.0); -} -Color Color::inverted() const { - Color c = *this; - c.invert(); - return c; -} -Color Color::contrasted() const { - Color c = *this; - c.contrast(); - return c; -} - -Color Color::linear_interpolate(const Color &p_b, float p_t) const { - Color res = *this; - - res.r += (p_t * (p_b.r - r)); - res.g += (p_t * (p_b.g - g)); - res.b += (p_t * (p_b.b - b)); - res.a += (p_t * (p_b.a - a)); - - return res; -} - -Color Color::blend(const Color &p_over) const { - Color res; - float sa = 1.0 - p_over.a; - res.a = a * sa + p_over.a; - if (res.a == 0) { - return Color(0, 0, 0, 0); - } else { - res.r = (r * a * sa + p_over.r * p_over.a) / res.a; - res.g = (g * a * sa + p_over.g * p_over.a) / res.a; - res.b = (b * a * sa + p_over.b * p_over.a) / res.a; - } - return res; -} - -Color Color::to_linear() const { - return Color( - r < 0.04045 ? r * (1.0 / 12.92) : ::pow((r + 0.055) * (1.0 / (1 + 0.055)), 2.4), - g < 0.04045 ? g * (1.0 / 12.92) : ::pow((g + 0.055) * (1.0 / (1 + 0.055)), 2.4), - b < 0.04045 ? b * (1.0 / 12.92) : ::pow((b + 0.055) * (1.0 / (1 + 0.055)), 2.4), - a); -} - -Color Color::hex(uint32_t p_hex) { - float a = (p_hex & 0xFF) / 255.0; - p_hex >>= 8; - float b = (p_hex & 0xFF) / 255.0; - p_hex >>= 8; - float g = (p_hex & 0xFF) / 255.0; - p_hex >>= 8; - float r = (p_hex & 0xFF) / 255.0; - - return Color(r, g, b, a); -} - -Color Color::html(const String &p_color) { - String color = p_color; - if (color.length() == 0) - return Color(); - if (color[0] == '#') - color = color.substr(1, color.length() - 1); - - bool alpha = false; - - if (color.length() == 8) { - alpha = true; - } else if (color.length() == 6) { - alpha = false; - } else { - ERR_PRINTS(String("Invalid Color Code: ") + p_color); - ERR_FAIL_V(Color()); - } - - int a = 255; - if (alpha) { - a = _parse_col(color, 0); - if (a < 0) { - ERR_PRINTS(String("Invalid Color Code: ") + p_color); - ERR_FAIL_V(Color()); - } - } - - int from = alpha ? 2 : 0; - - int r = _parse_col(color, from + 0); - if (r < 0) { - ERR_PRINTS(String("Invalid Color Code: ") + p_color); - ERR_FAIL_V(Color()); - } - int g = _parse_col(color, from + 2); - if (g < 0) { - ERR_PRINTS(String("Invalid Color Code: ") + p_color); - ERR_FAIL_V(Color()); - } - int b = _parse_col(color, from + 4); - if (b < 0) { - ERR_PRINTS(String("Invalid Color Code: ") + p_color); - ERR_FAIL_V(Color()); - } - - return Color(r / 255.0, g / 255.0, b / 255.0, a / 255.0); -} - -bool Color::html_is_valid(const String &p_color) { - String color = p_color; - - if (color.length() == 0) - return false; - if (color[0] == '#') - color = color.substr(1, color.length() - 1); - - bool alpha = false; - - if (color.length() == 8) { - alpha = true; - } else if (color.length() == 6) { - alpha = false; - } else { - return false; - } - - int a = 255; - if (alpha) { - a = _parse_col(color, 0); - if (a < 0) { - return false; - } - } - - int from = alpha ? 2 : 0; - - int r = _parse_col(color, from + 0); - if (r < 0) { - return false; - } - int g = _parse_col(color, from + 2); - if (g < 0) { - return false; - } - int b = _parse_col(color, from + 4); - if (b < 0) { - return false; - } - - return true; -} - -#ifndef CLAMP -#define CLAMP(m_a, m_min, m_max) (((m_a) < (m_min)) ? (m_min) : (((m_a) > (m_max)) ? m_max : m_a)) -#endif -static String _to_hex(float p_val) { - int v = p_val * 255; - v = CLAMP(v, 0, 255); - String ret; - - for (int i = 0; i < 2; i++) { - wchar_t c[2] = { 0, 0 }; - int lv = v & 0xF; - if (lv < 10) - c[0] = '0' + lv; - else - c[0] = 'a' + lv - 10; - - v >>= 4; - String cs = (const wchar_t *)c; - ret = cs + ret; - } - - return ret; -} - -String Color::to_html(bool p_alpha) const { - String txt; - txt += _to_hex(r); - txt += _to_hex(g); - txt += _to_hex(b); - if (p_alpha) - txt = _to_hex(a) + txt; - return txt; -} - -Color::operator String() const { - return String::num(r) + ", " + String::num(g) + ", " + String::num(b) + ", " + String::num(a); -} - -bool Color::operator<(const Color &p_color) const { - if (r == p_color.r) { - if (g == p_color.g) { - if (b == p_color.b) { - return (a < p_color.a); - } else - return (b < p_color.b); - } else - return g < p_color.g; - } else - return r < p_color.r; -} - -Color Color::operator+(const Color &p_color) const { - return Color( - r + p_color.r, - g + p_color.g, - b + p_color.b, - a + p_color.a); -} - -void Color::operator+=(const Color &p_color) { - r = r + p_color.r; - g = g + p_color.g; - b = b + p_color.b; - a = a + p_color.a; -} - -Color Color::operator-(const Color &p_color) const { - return Color( - r - p_color.r, - g - p_color.g, - b - p_color.b, - a - p_color.a); -} - -void Color::operator-=(const Color &p_color) { - r = r - p_color.r; - g = g - p_color.g; - b = b - p_color.b; - a = a - p_color.a; -} - -Color Color::operator*(const Color &p_color) const { - return Color( - r * p_color.r, - g * p_color.g, - b * p_color.b, - a * p_color.a); -} - -Color Color::operator*(const real_t &rvalue) const { - return Color( - r * rvalue, - g * rvalue, - b * rvalue, - a * rvalue); -} - -void Color::operator*=(const Color &p_color) { - r = r * p_color.r; - g = g * p_color.g; - b = b * p_color.b; - a = a * p_color.a; -} - -void Color::operator*=(const real_t &rvalue) { - r = r * rvalue; - g = g * rvalue; - b = b * rvalue; - a = a * rvalue; -} - -Color Color::operator/(const Color &p_color) const { - return Color( - r / p_color.r, - g / p_color.g, - b / p_color.b, - a / p_color.a); -} - -Color Color::operator/(const real_t &rvalue) const { - return Color( - r / rvalue, - g / rvalue, - b / rvalue, - a / rvalue); -} - -void Color::operator/=(const Color &p_color) { - r = r / p_color.r; - g = g / p_color.g; - b = b / p_color.b; - a = a / p_color.a; -} - -void Color::operator/=(const real_t &rvalue) { - if (rvalue == 0) { - r = 1.0; - g = 1.0; - b = 1.0; - a = 1.0; - } else { - r = r / rvalue; - g = g / rvalue; - b = b / rvalue; - a = a / rvalue; - } -} - -Color Color::operator-() const { - return Color( - 1.0 - r, - 1.0 - g, - 1.0 - b, - 1.0 - a); -} - -} // namespace godot diff --git a/src/core/Dictionary.cpp b/src/core/Dictionary.cpp deleted file mode 100644 index 6f846c31..00000000 --- a/src/core/Dictionary.cpp +++ /dev/null @@ -1,110 +0,0 @@ -/*************************************************************************/ -/* Dictionary.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "Dictionary.hpp" -#include "Array.hpp" -#include "GodotGlobal.hpp" -#include "Variant.hpp" - -namespace godot { - -Dictionary::Dictionary() { - godot::api->godot_dictionary_new(&_godot_dictionary); -} - -Dictionary::Dictionary(const Dictionary &other) { - godot::api->godot_dictionary_new_copy(&_godot_dictionary, &other._godot_dictionary); -} - -Dictionary &Dictionary::operator=(const Dictionary &other) { - godot::api->godot_dictionary_destroy(&_godot_dictionary); - godot::api->godot_dictionary_new_copy(&_godot_dictionary, &other._godot_dictionary); - return *this; -} - -void Dictionary::clear() { - godot::api->godot_dictionary_clear(&_godot_dictionary); -} - -bool Dictionary::empty() const { - return godot::api->godot_dictionary_empty(&_godot_dictionary); -} - -void Dictionary::erase(const Variant &key) { - godot::api->godot_dictionary_erase(&_godot_dictionary, (godot_variant *)&key); -} - -bool Dictionary::has(const Variant &key) const { - return godot::api->godot_dictionary_has(&_godot_dictionary, (godot_variant *)&key); -} - -bool Dictionary::has_all(const Array &keys) const { - return godot::api->godot_dictionary_has_all(&_godot_dictionary, (godot_array *)&keys); -} - -uint32_t Dictionary::hash() const { - return godot::api->godot_dictionary_hash(&_godot_dictionary); -} - -Array Dictionary::keys() const { - godot_array a = godot::api->godot_dictionary_keys(&_godot_dictionary); - return Array(a); -} - -Variant &Dictionary::operator[](const Variant &key) { - godot_variant *v = godot::api->godot_dictionary_operator_index(&_godot_dictionary, (godot_variant *)&key); - return *reinterpret_cast(v); -} - -const Variant &Dictionary::operator[](const Variant &key) const { - // oops I did it again - godot_variant *v = godot::api->godot_dictionary_operator_index((godot_dictionary *)&_godot_dictionary, (godot_variant *)&key); - return *reinterpret_cast(v); -} - -int Dictionary::size() const { - return godot::api->godot_dictionary_size(&_godot_dictionary); -} - -String Dictionary::to_json() const { - godot_string s = godot::api->godot_dictionary_to_json(&_godot_dictionary); - return String(s); -} - -Array Dictionary::values() const { - godot_array a = godot::api->godot_dictionary_values(&_godot_dictionary); - return Array(a); -} - -Dictionary::~Dictionary() { - godot::api->godot_dictionary_destroy(&_godot_dictionary); -} - -} // namespace godot diff --git a/src/core/GodotGlobal.cpp b/src/core/GodotGlobal.cpp deleted file mode 100644 index b9cf88a3..00000000 --- a/src/core/GodotGlobal.cpp +++ /dev/null @@ -1,208 +0,0 @@ -/*************************************************************************/ -/* GodotGlobal.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "GodotGlobal.hpp" - -#include "String.hpp" - -#include "Wrapped.hpp" - -static GDCALLINGCONV void *wrapper_create(void *data, const void *type_tag, godot_object *instance) { - godot::_Wrapped *wrapper_memory = (godot::_Wrapped *)godot::api->godot_alloc(sizeof(godot::_Wrapped)); - - if (!wrapper_memory) - return NULL; - wrapper_memory->_owner = instance; - wrapper_memory->_type_tag = (size_t)type_tag; - - return (void *)wrapper_memory; -} - -static GDCALLINGCONV void wrapper_destroy(void *data, void *wrapper) { - if (wrapper) - godot::api->godot_free(wrapper); -} - -namespace godot { - -void *_RegisterState::nativescript_handle; -int _RegisterState::language_index; - -const godot_gdnative_core_api_struct *api = nullptr; -const godot_gdnative_core_1_1_api_struct *core_1_1_api = nullptr; -const godot_gdnative_core_1_2_api_struct *core_1_2_api = nullptr; - -const godot_gdnative_ext_nativescript_api_struct *nativescript_api = nullptr; -const godot_gdnative_ext_nativescript_1_1_api_struct *nativescript_1_1_api = nullptr; -const godot_gdnative_ext_pluginscript_api_struct *pluginscript_api = nullptr; -const godot_gdnative_ext_android_api_struct *android_api = nullptr; -const godot_gdnative_ext_arvr_api_struct *arvr_api = nullptr; -const godot_gdnative_ext_videodecoder_api_struct *videodecoder_api = nullptr; -const godot_gdnative_ext_net_api_struct *net_api = nullptr; -const godot_gdnative_ext_net_3_2_api_struct *net_3_2_api = nullptr; - -const void *gdnlib = NULL; - -void Godot::print(const String &message) { - godot::api->godot_print((godot_string *)&message); -} - -void Godot::print_warning(const String &description, const String &function, const String &file, int line) { - int len; - - char *c_desc = description.alloc_c_string(); - char *c_func = function.alloc_c_string(); - char *c_file = file.alloc_c_string(); - - if (c_desc != nullptr && c_func != nullptr && c_file != nullptr) { - godot::api->godot_print_warning(c_desc, c_func, c_file, line); - }; - - if (c_desc != nullptr) - godot::api->godot_free(c_desc); - if (c_func != nullptr) - godot::api->godot_free(c_func); - if (c_file != nullptr) - godot::api->godot_free(c_file); -} - -void Godot::print_error(const String &description, const String &function, const String &file, int line) { - int len; - - char *c_desc = description.alloc_c_string(); - char *c_func = function.alloc_c_string(); - char *c_file = file.alloc_c_string(); - - if (c_desc != nullptr && c_func != nullptr && c_file != nullptr) { - godot::api->godot_print_error(c_desc, c_func, c_file, line); - }; - - if (c_desc != nullptr) - godot::api->godot_free(c_desc); - if (c_func != nullptr) - godot::api->godot_free(c_func); - if (c_file != nullptr) - godot::api->godot_free(c_file); -} - -void ___register_types(); -void ___init_method_bindings(); - -void Godot::gdnative_init(godot_gdnative_init_options *options) { - godot::api = options->api_struct; - godot::gdnlib = options->gd_native_library; - - const godot_gdnative_api_struct *core_extension = godot::api->next; - - while (core_extension) { - if (core_extension->version.major == 1 && core_extension->version.minor == 1) { - godot::core_1_1_api = (const godot_gdnative_core_1_1_api_struct *)core_extension; - } else if (core_extension->version.major == 1 && core_extension->version.minor == 2) { - godot::core_1_2_api = (const godot_gdnative_core_1_2_api_struct *)core_extension; - } - core_extension = core_extension->next; - } - - // now find our extensions - for (int i = 0; i < godot::api->num_extensions; i++) { - switch (godot::api->extensions[i]->type) { - case GDNATIVE_EXT_NATIVESCRIPT: { - godot::nativescript_api = (const godot_gdnative_ext_nativescript_api_struct *)godot::api->extensions[i]; - - const godot_gdnative_api_struct *extension = godot::nativescript_api->next; - - while (extension) { - if (extension->version.major == 1 && extension->version.minor == 1) { - godot::nativescript_1_1_api = (const godot_gdnative_ext_nativescript_1_1_api_struct *)extension; - } - - extension = extension->next; - } - } break; - case GDNATIVE_EXT_PLUGINSCRIPT: { - godot::pluginscript_api = (const godot_gdnative_ext_pluginscript_api_struct *)godot::api->extensions[i]; - } break; - case GDNATIVE_EXT_ANDROID: { - godot::android_api = (const godot_gdnative_ext_android_api_struct *)godot::api->extensions[i]; - } break; - case GDNATIVE_EXT_ARVR: { - godot::arvr_api = (const godot_gdnative_ext_arvr_api_struct *)godot::api->extensions[i]; - } break; - case GDNATIVE_EXT_VIDEODECODER: { - godot::videodecoder_api = (const godot_gdnative_ext_videodecoder_api_struct *)godot::api->extensions[i]; - } break; - case GDNATIVE_EXT_NET: { - godot::net_api = (const godot_gdnative_ext_net_api_struct *)godot::api->extensions[i]; - - const godot_gdnative_api_struct *extension = godot::net_api->next; - - while (extension) { - if (extension->version.major == 3 && extension->version.minor == 2) { - godot::net_3_2_api = (const godot_gdnative_ext_net_3_2_api_struct *)extension; - } - - extension = extension->next; - } - } break; - - default: - break; - } - } - - // Initialize the `language_index` here since `__register_types()` makes use of it. - godot_instance_binding_functions binding_funcs = {}; - binding_funcs.alloc_instance_binding_data = wrapper_create; - binding_funcs.free_instance_binding_data = wrapper_destroy; - - godot::_RegisterState::language_index = godot::nativescript_1_1_api->godot_nativescript_register_instance_binding_data_functions(binding_funcs); - - // register these now - ___register_types(); - ___init_method_bindings(); -} - -void Godot::gdnative_terminate(godot_gdnative_terminate_options *options) { - // reserved for future use. -} - -void Godot::gdnative_profiling_add_data(const char *p_signature, uint64_t p_time) { - godot::nativescript_1_1_api->godot_nativescript_profiling_add_data(p_signature, p_time); -} - -void Godot::nativescript_init(void *handle) { - godot::_RegisterState::nativescript_handle = handle; -} - -void Godot::nativescript_terminate(void *handle) { - godot::nativescript_1_1_api->godot_nativescript_unregister_instance_binding_data_functions(godot::_RegisterState::language_index); -} - -} // namespace godot diff --git a/src/core/NodePath.cpp b/src/core/NodePath.cpp deleted file mode 100644 index ff657734..00000000 --- a/src/core/NodePath.cpp +++ /dev/null @@ -1,114 +0,0 @@ -/*************************************************************************/ -/* NodePath.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "NodePath.hpp" -#include "GodotGlobal.hpp" -#include "String.hpp" - -#include - -namespace godot { - -NodePath::NodePath() { - String from = ""; - godot::api->godot_node_path_new(&_node_path, (godot_string *)&from); -} - -NodePath::NodePath(const NodePath &other) { - String from = other; - godot::api->godot_node_path_new(&_node_path, (godot_string *)&from); -} - -NodePath::NodePath(const String &from) { - godot::api->godot_node_path_new(&_node_path, (godot_string *)&from); -} - -NodePath::NodePath(const char *contents) { - String from = contents; - godot::api->godot_node_path_new(&_node_path, (godot_string *)&from); -} - -String NodePath::get_name(const int idx) const { - godot_string str = godot::api->godot_node_path_get_name(&_node_path, idx); - return String(str); -} - -int NodePath::get_name_count() const { - return godot::api->godot_node_path_get_name_count(&_node_path); -} - -String NodePath::get_subname(const int idx) const { - godot_string str = godot::api->godot_node_path_get_subname(&_node_path, idx); - return String(str); -} - -int NodePath::get_subname_count() const { - return godot::api->godot_node_path_get_subname_count(&_node_path); -} - -bool NodePath::is_absolute() const { - return godot::api->godot_node_path_is_absolute(&_node_path); -} - -bool NodePath::is_empty() const { - return godot::api->godot_node_path_is_empty(&_node_path); -} - -NodePath NodePath::get_as_property_path() const { - godot_node_path path = godot::core_1_1_api->godot_node_path_get_as_property_path(&_node_path); - return NodePath(path); -} -String NodePath::get_concatenated_subnames() const { - godot_string str = godot::api->godot_node_path_get_concatenated_subnames(&_node_path); - return String(str); -} - -NodePath::operator String() const { - godot_string str = godot::api->godot_node_path_as_string(&_node_path); - return String(str); -} - -bool NodePath::operator==(const NodePath &other) { - return godot::api->godot_node_path_operator_equal(&_node_path, &other._node_path); -} - -void NodePath::operator=(const NodePath &other) { - godot::api->godot_node_path_destroy(&_node_path); - - String other_string = (String)other; - - godot::api->godot_node_path_new(&_node_path, (godot_string *)&other_string); -} - -NodePath::~NodePath() { - godot::api->godot_node_path_destroy(&_node_path); -} - -} // namespace godot diff --git a/src/core/Plane.cpp b/src/core/Plane.cpp deleted file mode 100644 index fcf0012e..00000000 --- a/src/core/Plane.cpp +++ /dev/null @@ -1,203 +0,0 @@ -/*************************************************************************/ -/* Plane.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "Plane.hpp" -#include "Vector3.hpp" - -#include - -namespace godot { - -void Plane::set_normal(const Vector3 &p_normal) { - this->normal = p_normal; -} - -Vector3 Plane::project(const Vector3 &p_point) const { - return p_point - normal * distance_to(p_point); -} - -void Plane::normalize() { - real_t l = normal.length(); - if (l == 0) { - *this = Plane(0, 0, 0, 0); - return; - } - normal /= l; - d /= l; -} - -Plane Plane::normalized() const { - Plane p = *this; - p.normalize(); - return p; -} - -Vector3 Plane::get_any_point() const { - return get_normal() * d; -} - -Vector3 Plane::get_any_perpendicular_normal() const { - static const Vector3 p1 = Vector3(1, 0, 0); - static const Vector3 p2 = Vector3(0, 1, 0); - Vector3 p; - - if (::fabs(normal.dot(p1)) > 0.99) // if too similar to p1 - p = p2; // use p2 - else - p = p1; // use p1 - - p -= normal * normal.dot(p); - p.normalize(); - - return p; -} - -/* intersections */ - -bool Plane::intersect_3(const Plane &p_plane1, const Plane &p_plane2, Vector3 *r_result) const { - const Plane &p_plane0 = *this; - Vector3 normal0 = p_plane0.normal; - Vector3 normal1 = p_plane1.normal; - Vector3 normal2 = p_plane2.normal; - - real_t denom = vec3_cross(normal0, normal1).dot(normal2); - - if (::fabs(denom) <= CMP_EPSILON) - return false; - - if (r_result) { - *r_result = ((vec3_cross(normal1, normal2) * p_plane0.d) + - (vec3_cross(normal2, normal0) * p_plane1.d) + - (vec3_cross(normal0, normal1) * p_plane2.d)) / - denom; - } - - return true; -} - -bool Plane::intersects_ray(Vector3 p_from, Vector3 p_dir, Vector3 *p_intersection) const { - Vector3 segment = p_dir; - real_t den = normal.dot(segment); - - //printf("den is %i\n",den); - if (::fabs(den) <= CMP_EPSILON) { - return false; - } - - real_t dist = (normal.dot(p_from) - d) / den; - //printf("dist is %i\n",dist); - - if (dist > CMP_EPSILON) { //this is a ray, before the emiting pos (p_from) doesnt exist - - return false; - } - - dist = -dist; - *p_intersection = p_from + segment * dist; - - return true; -} - -bool Plane::intersects_segment(Vector3 p_begin, Vector3 p_end, Vector3 *p_intersection) const { - Vector3 segment = p_begin - p_end; - real_t den = normal.dot(segment); - - //printf("den is %i\n",den); - if (::fabs(den) <= CMP_EPSILON) { - return false; - } - - real_t dist = (normal.dot(p_begin) - d) / den; - //printf("dist is %i\n",dist); - - if (dist < -CMP_EPSILON || dist > (1.0 + CMP_EPSILON)) { - return false; - } - - dist = -dist; - *p_intersection = p_begin + segment * dist; - - return true; -} - -/* misc */ - -bool Plane::is_almost_like(const Plane &p_plane) const { - return (normal.dot(p_plane.normal) > _PLANE_EQ_DOT_EPSILON && ::fabs(d - p_plane.d) < _PLANE_EQ_D_EPSILON); -} - -Plane::operator String() const { - // return normal.operator String() + ", " + rtos(d); - return String(); // @Todo -} - -bool Plane::is_point_over(const Vector3 &p_point) const { - return (normal.dot(p_point) > d); -} - -real_t Plane::distance_to(const Vector3 &p_point) const { - return (normal.dot(p_point) - d); -} - -bool Plane::has_point(const Vector3 &p_point, real_t _epsilon) const { - real_t dist = normal.dot(p_point) - d; - dist = ::fabs(dist); - return (dist <= _epsilon); -} - -Plane::Plane(const Vector3 &p_normal, real_t p_d) { - normal = p_normal; - d = p_d; -} - -Plane::Plane(const Vector3 &p_point, const Vector3 &p_normal) { - normal = p_normal; - d = p_normal.dot(p_point); -} - -Plane::Plane(const Vector3 &p_point1, const Vector3 &p_point2, const Vector3 &p_point3, ClockDirection p_dir) { - if (p_dir == CLOCKWISE) - normal = (p_point1 - p_point3).cross(p_point1 - p_point2); - else - normal = (p_point1 - p_point2).cross(p_point1 - p_point3); - - normal.normalize(); - d = normal.dot(p_point1); -} - -bool Plane::operator==(const Plane &p_plane) const { - return normal == p_plane.normal && d == p_plane.d; -} - -bool Plane::operator!=(const Plane &p_plane) const { - return normal != p_plane.normal || d != p_plane.d; -} - -} // namespace godot diff --git a/src/core/PoolArrays.cpp b/src/core/PoolArrays.cpp deleted file mode 100644 index 576a0b7c..00000000 --- a/src/core/PoolArrays.cpp +++ /dev/null @@ -1,571 +0,0 @@ -/*************************************************************************/ -/* PoolArrays.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "PoolArrays.hpp" -#include "Color.hpp" -#include "Defs.hpp" -#include "GodotGlobal.hpp" -#include "String.hpp" -#include "Vector2.hpp" -#include "Vector3.hpp" - -#include - -namespace godot { - -PoolByteArray::PoolByteArray() { - godot::api->godot_pool_byte_array_new(&_godot_array); -} - -PoolByteArray::PoolByteArray(const PoolByteArray &p_other) { - godot::api->godot_pool_byte_array_new_copy(&_godot_array, &p_other._godot_array); -} - -PoolByteArray &PoolByteArray::operator=(const PoolByteArray &p_other) { - godot::api->godot_pool_byte_array_destroy(&_godot_array); - godot::api->godot_pool_byte_array_new_copy(&_godot_array, &p_other._godot_array); - return *this; -} - -PoolByteArray::PoolByteArray(const Array &array) { - godot::api->godot_pool_byte_array_new_with_array(&_godot_array, (godot_array *)&array); -} - -PoolByteArray::Read PoolByteArray::read() const { - Read read; - read._read_access = godot::api->godot_pool_byte_array_read(&_godot_array); - return read; -} - -PoolByteArray::Write PoolByteArray::write() { - Write write; - write._write_access = godot::api->godot_pool_byte_array_write(&_godot_array); - return write; -} - -void PoolByteArray::append(const uint8_t data) { - godot::api->godot_pool_byte_array_append(&_godot_array, data); -} - -void PoolByteArray::append_array(const PoolByteArray &array) { - godot::api->godot_pool_byte_array_append_array(&_godot_array, &array._godot_array); -} - -int PoolByteArray::insert(const int idx, const uint8_t data) { - return godot::api->godot_pool_byte_array_insert(&_godot_array, idx, data); -} - -void PoolByteArray::invert() { - godot::api->godot_pool_byte_array_invert(&_godot_array); -} - -void PoolByteArray::push_back(const uint8_t data) { - godot::api->godot_pool_byte_array_push_back(&_godot_array, data); -} - -void PoolByteArray::remove(const int idx) { - godot::api->godot_pool_byte_array_remove(&_godot_array, idx); -} - -void PoolByteArray::resize(const int size) { - godot::api->godot_pool_byte_array_resize(&_godot_array, size); -} - -void PoolByteArray::set(const int idx, const uint8_t data) { - godot::api->godot_pool_byte_array_set(&_godot_array, idx, data); -} - -uint8_t PoolByteArray::operator[](const int idx) { - return godot::api->godot_pool_byte_array_get(&_godot_array, idx); -} - -int PoolByteArray::size() const { - return godot::api->godot_pool_byte_array_size(&_godot_array); -} - -PoolByteArray::~PoolByteArray() { - godot::api->godot_pool_byte_array_destroy(&_godot_array); -} - -PoolIntArray::PoolIntArray() { - godot::api->godot_pool_int_array_new(&_godot_array); -} - -PoolIntArray::PoolIntArray(const PoolIntArray &p_other) { - godot::api->godot_pool_int_array_new_copy(&_godot_array, &p_other._godot_array); -} - -PoolIntArray &PoolIntArray::operator=(const PoolIntArray &p_other) { - godot::api->godot_pool_int_array_destroy(&_godot_array); - godot::api->godot_pool_int_array_new_copy(&_godot_array, &p_other._godot_array); - return *this; -} - -PoolIntArray::PoolIntArray(const Array &array) { - godot::api->godot_pool_int_array_new_with_array(&_godot_array, (godot_array *)&array); -} - -PoolIntArray::Read PoolIntArray::read() const { - Read read; - read._read_access = godot::api->godot_pool_int_array_read(&_godot_array); - return read; -} - -PoolIntArray::Write PoolIntArray::write() { - Write write; - write._write_access = godot::api->godot_pool_int_array_write(&_godot_array); - return write; -} - -void PoolIntArray::append(const int data) { - godot::api->godot_pool_int_array_append(&_godot_array, data); -} - -void PoolIntArray::append_array(const PoolIntArray &array) { - godot::api->godot_pool_int_array_append_array(&_godot_array, &array._godot_array); -} - -int PoolIntArray::insert(const int idx, const int data) { - return godot::api->godot_pool_int_array_insert(&_godot_array, idx, data); -} - -void PoolIntArray::invert() { - godot::api->godot_pool_int_array_invert(&_godot_array); -} - -void PoolIntArray::push_back(const int data) { - godot::api->godot_pool_int_array_push_back(&_godot_array, data); -} - -void PoolIntArray::remove(const int idx) { - godot::api->godot_pool_int_array_remove(&_godot_array, idx); -} - -void PoolIntArray::resize(const int size) { - godot::api->godot_pool_int_array_resize(&_godot_array, size); -} - -void PoolIntArray::set(const int idx, const int data) { - godot::api->godot_pool_int_array_set(&_godot_array, idx, data); -} - -int PoolIntArray::operator[](const int idx) { - return godot::api->godot_pool_int_array_get(&_godot_array, idx); -} - -int PoolIntArray::size() const { - return godot::api->godot_pool_int_array_size(&_godot_array); -} - -PoolIntArray::~PoolIntArray() { - godot::api->godot_pool_int_array_destroy(&_godot_array); -} - -PoolRealArray::PoolRealArray() { - godot::api->godot_pool_real_array_new(&_godot_array); -} - -PoolRealArray::PoolRealArray(const PoolRealArray &p_other) { - godot::api->godot_pool_real_array_new_copy(&_godot_array, &p_other._godot_array); -} - -PoolRealArray &PoolRealArray::operator=(const PoolRealArray &p_other) { - godot::api->godot_pool_real_array_destroy(&_godot_array); - godot::api->godot_pool_real_array_new_copy(&_godot_array, &p_other._godot_array); - return *this; -} - -PoolRealArray::Read PoolRealArray::read() const { - Read read; - read._read_access = godot::api->godot_pool_real_array_read(&_godot_array); - return read; -} - -PoolRealArray::Write PoolRealArray::write() { - Write write; - write._write_access = godot::api->godot_pool_real_array_write(&_godot_array); - return write; -} - -PoolRealArray::PoolRealArray(const Array &array) { - godot::api->godot_pool_real_array_new_with_array(&_godot_array, (godot_array *)&array); -} - -void PoolRealArray::append(const real_t data) { - godot::api->godot_pool_real_array_append(&_godot_array, data); -} - -void PoolRealArray::append_array(const PoolRealArray &array) { - godot::api->godot_pool_real_array_append_array(&_godot_array, &array._godot_array); -} - -int PoolRealArray::insert(const int idx, const real_t data) { - return godot::api->godot_pool_real_array_insert(&_godot_array, idx, data); -} - -void PoolRealArray::invert() { - godot::api->godot_pool_real_array_invert(&_godot_array); -} - -void PoolRealArray::push_back(const real_t data) { - godot::api->godot_pool_real_array_push_back(&_godot_array, data); -} - -void PoolRealArray::remove(const int idx) { - godot::api->godot_pool_real_array_remove(&_godot_array, idx); -} - -void PoolRealArray::resize(const int size) { - godot::api->godot_pool_real_array_resize(&_godot_array, size); -} - -void PoolRealArray::set(const int idx, const real_t data) { - godot::api->godot_pool_real_array_set(&_godot_array, idx, data); -} - -real_t PoolRealArray::operator[](const int idx) { - return godot::api->godot_pool_real_array_get(&_godot_array, idx); -} - -int PoolRealArray::size() const { - return godot::api->godot_pool_real_array_size(&_godot_array); -} - -PoolRealArray::~PoolRealArray() { - godot::api->godot_pool_real_array_destroy(&_godot_array); -} - -PoolStringArray::PoolStringArray() { - godot::api->godot_pool_string_array_new(&_godot_array); -} - -PoolStringArray::PoolStringArray(const PoolStringArray &p_other) { - godot::api->godot_pool_string_array_new_copy(&_godot_array, &p_other._godot_array); -} - -PoolStringArray &PoolStringArray::operator=(const PoolStringArray &p_other) { - godot::api->godot_pool_string_array_destroy(&_godot_array); - godot::api->godot_pool_string_array_new_copy(&_godot_array, &p_other._godot_array); - return *this; -} - -PoolStringArray::PoolStringArray(const Array &array) { - godot::api->godot_pool_string_array_new_with_array(&_godot_array, (godot_array *)&array); -} - -PoolStringArray::Read PoolStringArray::read() const { - Read read; - read._read_access = godot::api->godot_pool_string_array_read(&_godot_array); - return read; -} - -PoolStringArray::Write PoolStringArray::write() { - Write write; - write._write_access = godot::api->godot_pool_string_array_write(&_godot_array); - return write; -} - -void PoolStringArray::append(const String &data) { - godot::api->godot_pool_string_array_append(&_godot_array, (godot_string *)&data); -} - -void PoolStringArray::append_array(const PoolStringArray &array) { - godot::api->godot_pool_string_array_append_array(&_godot_array, &array._godot_array); -} - -int PoolStringArray::insert(const int idx, const String &data) { - return godot::api->godot_pool_string_array_insert(&_godot_array, idx, (godot_string *)&data); -} - -void PoolStringArray::invert() { - godot::api->godot_pool_string_array_invert(&_godot_array); -} - -void PoolStringArray::push_back(const String &data) { - godot::api->godot_pool_string_array_push_back(&_godot_array, (godot_string *)&data); -} - -void PoolStringArray::remove(const int idx) { - godot::api->godot_pool_string_array_remove(&_godot_array, idx); -} - -void PoolStringArray::resize(const int size) { - godot::api->godot_pool_string_array_resize(&_godot_array, size); -} - -void PoolStringArray::set(const int idx, const String &data) { - godot::api->godot_pool_string_array_set(&_godot_array, idx, (godot_string *)&data); -} - -const String PoolStringArray::operator[](const int idx) { - String s; - godot_string str = godot::api->godot_pool_string_array_get(&_godot_array, idx); - godot::api->godot_string_new_copy((godot_string *)&s, &str); - godot::api->godot_string_destroy(&str); - return s; -} - -int PoolStringArray::size() const { - return godot::api->godot_pool_string_array_size(&_godot_array); -} - -PoolStringArray::~PoolStringArray() { - godot::api->godot_pool_string_array_destroy(&_godot_array); -} - -PoolVector2Array::PoolVector2Array() { - godot::api->godot_pool_vector2_array_new(&_godot_array); -} - -PoolVector2Array::PoolVector2Array(const PoolVector2Array &p_other) { - godot::api->godot_pool_vector2_array_new_copy(&_godot_array, &p_other._godot_array); -} - -PoolVector2Array &PoolVector2Array::operator=(const PoolVector2Array &p_other) { - godot::api->godot_pool_vector2_array_destroy(&_godot_array); - godot::api->godot_pool_vector2_array_new_copy(&_godot_array, &p_other._godot_array); - return *this; -} - -PoolVector2Array::PoolVector2Array(const Array &array) { - godot::api->godot_pool_vector2_array_new_with_array(&_godot_array, (godot_array *)&array); -} - -PoolVector2Array::Read PoolVector2Array::read() const { - Read read; - read._read_access = godot::api->godot_pool_vector2_array_read(&_godot_array); - return read; -} - -PoolVector2Array::Write PoolVector2Array::write() { - Write write; - write._write_access = godot::api->godot_pool_vector2_array_write(&_godot_array); - return write; -} - -void PoolVector2Array::append(const Vector2 &data) { - godot::api->godot_pool_vector2_array_append(&_godot_array, (godot_vector2 *)&data); -} - -void PoolVector2Array::append_array(const PoolVector2Array &array) { - godot::api->godot_pool_vector2_array_append_array(&_godot_array, &array._godot_array); -} - -int PoolVector2Array::insert(const int idx, const Vector2 &data) { - return godot::api->godot_pool_vector2_array_insert(&_godot_array, idx, (godot_vector2 *)&data); -} - -void PoolVector2Array::invert() { - godot::api->godot_pool_vector2_array_invert(&_godot_array); -} - -void PoolVector2Array::push_back(const Vector2 &data) { - godot::api->godot_pool_vector2_array_push_back(&_godot_array, (godot_vector2 *)&data); -} - -void PoolVector2Array::remove(const int idx) { - godot::api->godot_pool_vector2_array_remove(&_godot_array, idx); -} - -void PoolVector2Array::resize(const int size) { - godot::api->godot_pool_vector2_array_resize(&_godot_array, size); -} - -void PoolVector2Array::set(const int idx, const Vector2 &data) { - godot::api->godot_pool_vector2_array_set(&_godot_array, idx, (godot_vector2 *)&data); -} - -const Vector2 PoolVector2Array::operator[](const int idx) { - Vector2 v; - *(godot_vector2 *)&v = godot::api->godot_pool_vector2_array_get(&_godot_array, idx); - return v; -} - -int PoolVector2Array::size() const { - return godot::api->godot_pool_vector2_array_size(&_godot_array); -} - -PoolVector2Array::~PoolVector2Array() { - godot::api->godot_pool_vector2_array_destroy(&_godot_array); -} - -PoolVector3Array::PoolVector3Array() { - godot::api->godot_pool_vector3_array_new(&_godot_array); -} - -PoolVector3Array::PoolVector3Array(const PoolVector3Array &p_other) { - godot::api->godot_pool_vector3_array_new_copy(&_godot_array, &p_other._godot_array); -} - -PoolVector3Array &PoolVector3Array::operator=(const PoolVector3Array &p_other) { - godot::api->godot_pool_vector3_array_destroy(&_godot_array); - godot::api->godot_pool_vector3_array_new_copy(&_godot_array, &p_other._godot_array); - return *this; -} - -PoolVector3Array::PoolVector3Array(const Array &array) { - godot::api->godot_pool_vector3_array_new_with_array(&_godot_array, (godot_array *)&array); -} - -PoolVector3Array::Read PoolVector3Array::read() const { - Read read; - read._read_access = godot::api->godot_pool_vector3_array_read(&_godot_array); - return read; -} - -PoolVector3Array::Write PoolVector3Array::write() { - Write write; - write._write_access = godot::api->godot_pool_vector3_array_write(&_godot_array); - return write; -} - -void PoolVector3Array::append(const Vector3 &data) { - godot::api->godot_pool_vector3_array_append(&_godot_array, (godot_vector3 *)&data); -} - -void PoolVector3Array::append_array(const PoolVector3Array &array) { - godot::api->godot_pool_vector3_array_append_array(&_godot_array, &array._godot_array); -} - -int PoolVector3Array::insert(const int idx, const Vector3 &data) { - return godot::api->godot_pool_vector3_array_insert(&_godot_array, idx, (godot_vector3 *)&data); -} - -void PoolVector3Array::invert() { - godot::api->godot_pool_vector3_array_invert(&_godot_array); -} - -void PoolVector3Array::push_back(const Vector3 &data) { - godot::api->godot_pool_vector3_array_push_back(&_godot_array, (godot_vector3 *)&data); -} - -void PoolVector3Array::remove(const int idx) { - godot::api->godot_pool_vector3_array_remove(&_godot_array, idx); -} - -void PoolVector3Array::resize(const int size) { - godot::api->godot_pool_vector3_array_resize(&_godot_array, size); -} - -void PoolVector3Array::set(const int idx, const Vector3 &data) { - godot::api->godot_pool_vector3_array_set(&_godot_array, idx, (godot_vector3 *)&data); -} - -const Vector3 PoolVector3Array::operator[](const int idx) { - Vector3 v; - *(godot_vector3 *)&v = godot::api->godot_pool_vector3_array_get(&_godot_array, idx); - return v; -} - -int PoolVector3Array::size() const { - return godot::api->godot_pool_vector3_array_size(&_godot_array); -} - -PoolVector3Array::~PoolVector3Array() { - godot::api->godot_pool_vector3_array_destroy(&_godot_array); -} - -PoolColorArray::PoolColorArray() { - godot::api->godot_pool_color_array_new(&_godot_array); -} - -PoolColorArray::PoolColorArray(const PoolColorArray &p_other) { - godot::api->godot_pool_color_array_new_copy(&_godot_array, &p_other._godot_array); -} - -PoolColorArray &PoolColorArray::operator=(const PoolColorArray &p_other) { - godot::api->godot_pool_color_array_destroy(&_godot_array); - godot::api->godot_pool_color_array_new_copy(&_godot_array, &p_other._godot_array); - return *this; -} - -PoolColorArray::PoolColorArray(const Array &array) { - godot::api->godot_pool_color_array_new_with_array(&_godot_array, (godot_array *)&array); -} - -PoolColorArray::Read PoolColorArray::read() const { - Read read; - read._read_access = godot::api->godot_pool_color_array_read(&_godot_array); - return read; -} - -PoolColorArray::Write PoolColorArray::write() { - Write write; - write._write_access = godot::api->godot_pool_color_array_write(&_godot_array); - return write; -} - -void PoolColorArray::append(const Color &data) { - godot::api->godot_pool_color_array_append(&_godot_array, (godot_color *)&data); -} - -void PoolColorArray::append_array(const PoolColorArray &array) { - godot::api->godot_pool_color_array_append_array(&_godot_array, &array._godot_array); -} - -int PoolColorArray::insert(const int idx, const Color &data) { - return godot::api->godot_pool_color_array_insert(&_godot_array, idx, (godot_color *)&data); -} - -void PoolColorArray::invert() { - godot::api->godot_pool_color_array_invert(&_godot_array); -} - -void PoolColorArray::push_back(const Color &data) { - godot::api->godot_pool_color_array_push_back(&_godot_array, (godot_color *)&data); -} - -void PoolColorArray::remove(const int idx) { - godot::api->godot_pool_color_array_remove(&_godot_array, idx); -} - -void PoolColorArray::resize(const int size) { - godot::api->godot_pool_color_array_resize(&_godot_array, size); -} - -void PoolColorArray::set(const int idx, const Color &data) { - godot::api->godot_pool_color_array_set(&_godot_array, idx, (godot_color *)&data); -} - -const Color PoolColorArray::operator[](const int idx) { - Color v; - *(godot_color *)&v = godot::api->godot_pool_color_array_get(&_godot_array, idx); - return v; -} - -int PoolColorArray::size() const { - return godot::api->godot_pool_color_array_size(&_godot_array); -} - -PoolColorArray::~PoolColorArray() { - godot::api->godot_pool_color_array_destroy(&_godot_array); -} - -} // namespace godot diff --git a/src/core/Quat.cpp b/src/core/Quat.cpp deleted file mode 100644 index 40d23e99..00000000 --- a/src/core/Quat.cpp +++ /dev/null @@ -1,352 +0,0 @@ -/*************************************************************************/ -/* Quat.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "Quat.hpp" -#include "Basis.hpp" -#include "Defs.hpp" -#include "Vector3.hpp" - -#include - -namespace godot { - -const Quat Quat::IDENTITY = Quat(); - -// set_euler_xyz expects a vector containing the Euler angles in the format -// (ax,ay,az), where ax is the angle of rotation around x axis, -// and similar for other axes. -// This implementation uses XYZ convention (Z is the first rotation). -void Quat::set_euler_xyz(const Vector3 &p_euler) { - real_t half_a1 = p_euler.x * 0.5; - real_t half_a2 = p_euler.y * 0.5; - real_t half_a3 = p_euler.z * 0.5; - - // R = X(a1).Y(a2).Z(a3) convention for Euler angles. - // Conversion to quaternion as listed in https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19770024290.pdf (page A-2) - // a3 is the angle of the first rotation, following the notation in this reference. - - real_t cos_a1 = ::cos(half_a1); - real_t sin_a1 = ::sin(half_a1); - real_t cos_a2 = ::cos(half_a2); - real_t sin_a2 = ::sin(half_a2); - real_t cos_a3 = ::cos(half_a3); - real_t sin_a3 = ::sin(half_a3); - - set(sin_a1 * cos_a2 * cos_a3 + sin_a2 * sin_a3 * cos_a1, - -sin_a1 * sin_a3 * cos_a2 + sin_a2 * cos_a1 * cos_a3, - sin_a1 * sin_a2 * cos_a3 + sin_a3 * cos_a1 * cos_a2, - -sin_a1 * sin_a2 * sin_a3 + cos_a1 * cos_a2 * cos_a3); -} - -// get_euler_xyz returns a vector containing the Euler angles in the format -// (ax,ay,az), where ax is the angle of rotation around x axis, -// and similar for other axes. -// This implementation uses XYZ convention (Z is the first rotation). -Vector3 Quat::get_euler_xyz() const { - Basis m(*this); - return m.get_euler_xyz(); -} - -// set_euler_yxz expects a vector containing the Euler angles in the format -// (ax,ay,az), where ax is the angle of rotation around x axis, -// and similar for other axes. -// This implementation uses YXZ convention (Z is the first rotation). -void Quat::set_euler_yxz(const Vector3 &p_euler) { - real_t half_a1 = p_euler.y * 0.5; - real_t half_a2 = p_euler.x * 0.5; - real_t half_a3 = p_euler.z * 0.5; - - // R = Y(a1).X(a2).Z(a3) convention for Euler angles. - // Conversion to quaternion as listed in https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19770024290.pdf (page A-6) - // a3 is the angle of the first rotation, following the notation in this reference. - - real_t cos_a1 = ::cos(half_a1); - real_t sin_a1 = ::sin(half_a1); - real_t cos_a2 = ::cos(half_a2); - real_t sin_a2 = ::sin(half_a2); - real_t cos_a3 = ::cos(half_a3); - real_t sin_a3 = ::sin(half_a3); - - set(sin_a1 * cos_a2 * sin_a3 + cos_a1 * sin_a2 * cos_a3, - sin_a1 * cos_a2 * cos_a3 - cos_a1 * sin_a2 * sin_a3, - -sin_a1 * sin_a2 * cos_a3 + cos_a1 * sin_a2 * sin_a3, - sin_a1 * sin_a2 * sin_a3 + cos_a1 * cos_a2 * cos_a3); -} - -// get_euler_yxz returns a vector containing the Euler angles in the format -// (ax,ay,az), where ax is the angle of rotation around x axis, -// and similar for other axes. -// This implementation uses YXZ convention (Z is the first rotation). -Vector3 Quat::get_euler_yxz() const { - Basis m(*this); - return m.get_euler_yxz(); -} - -real_t Quat::length() const { - return ::sqrt(length_squared()); -} - -void Quat::normalize() { - *this /= length(); -} - -Quat Quat::normalized() const { - return *this / length(); -} - -bool Quat::is_normalized() const { - return std::abs(length_squared() - 1.0) < 0.00001; -} - -Quat Quat::inverse() const { - return Quat(-x, -y, -z, w); -} - -Quat Quat::slerp(const Quat &q, const real_t &t) const { - Quat to1; - real_t omega, cosom, sinom, scale0, scale1; - - // calc cosine - cosom = dot(q); - - // adjust signs (if necessary) - if (cosom < 0.0) { - cosom = -cosom; - to1.x = -q.x; - to1.y = -q.y; - to1.z = -q.z; - to1.w = -q.w; - } else { - to1.x = q.x; - to1.y = q.y; - to1.z = q.z; - to1.w = q.w; - } - - // calculate coefficients - - if ((1.0 - cosom) > CMP_EPSILON) { - // standard case (slerp) - omega = ::acos(cosom); - sinom = ::sin(omega); - scale0 = ::sin((1.0 - t) * omega) / sinom; - scale1 = ::sin(t * omega) / sinom; - } else { - // "from" and "to" quaternions are very close - // ... so we can do a linear interpolation - scale0 = 1.0 - t; - scale1 = t; - } - // calculate final values - return Quat( - scale0 * x + scale1 * to1.x, - scale0 * y + scale1 * to1.y, - scale0 * z + scale1 * to1.z, - scale0 * w + scale1 * to1.w); -} - -Quat Quat::slerpni(const Quat &q, const real_t &t) const { - const Quat &from = *this; - - real_t dot = from.dot(q); - - if (::fabs(dot) > 0.9999) - return from; - - real_t theta = ::acos(dot), - sinT = 1.0 / ::sin(theta), - newFactor = ::sin(t * theta) * sinT, - invFactor = ::sin((1.0 - t) * theta) * sinT; - - return Quat(invFactor * from.x + newFactor * q.x, - invFactor * from.y + newFactor * q.y, - invFactor * from.z + newFactor * q.z, - invFactor * from.w + newFactor * q.w); -} - -Quat Quat::cubic_slerp(const Quat &q, const Quat &prep, const Quat &postq, const real_t &t) const { - //the only way to do slerp :| - real_t t2 = (1.0 - t) * t * 2; - Quat sp = this->slerp(q, t); - Quat sq = prep.slerpni(postq, t); - return sp.slerpni(sq, t2); -} - -void Quat::get_axis_and_angle(Vector3 &r_axis, real_t &r_angle) const { - r_angle = 2 * ::acos(w); - r_axis.x = x / ::sqrt(1 - w * w); - r_axis.y = y / ::sqrt(1 - w * w); - r_axis.z = z / ::sqrt(1 - w * w); -} - -void Quat::set_axis_angle(const Vector3 &axis, const float angle) { - ERR_FAIL_COND(!axis.is_normalized()); - - real_t d = axis.length(); - if (d == 0) - set(0, 0, 0, 0); - else { - real_t sin_angle = ::sin(angle * 0.5); - real_t cos_angle = ::cos(angle * 0.5); - real_t s = sin_angle / d; - set(axis.x * s, axis.y * s, axis.z * s, - cos_angle); - } -} - -Quat Quat::operator*(const Vector3 &v) const { - return Quat(w * v.x + y * v.z - z * v.y, - w * v.y + z * v.x - x * v.z, - w * v.z + x * v.y - y * v.x, - -x * v.x - y * v.y - z * v.z); -} - -Vector3 Quat::xform(const Vector3 &v) const { - Quat q = *this * v; - q *= this->inverse(); - return Vector3(q.x, q.y, q.z); -} - -Quat::operator String() const { - return String(); // @Todo -} - -Quat::Quat(const Vector3 &axis, const real_t &angle) { - real_t d = axis.length(); - if (d == 0) - set(0, 0, 0, 0); - else { - real_t sin_angle = ::sin(angle * 0.5); - real_t cos_angle = ::cos(angle * 0.5); - real_t s = sin_angle / d; - set(axis.x * s, axis.y * s, axis.z * s, - cos_angle); - } -} - -Quat::Quat(const Vector3 &v0, const Vector3 &v1) // shortest arc -{ - Vector3 c = v0.cross(v1); - real_t d = v0.dot(v1); - - if (d < -1.0 + CMP_EPSILON) { - x = 0; - y = 1; - z = 0; - w = 0; - } else { - real_t s = ::sqrt((1.0 + d) * 2.0); - real_t rs = 1.0 / s; - - x = c.x * rs; - y = c.y * rs; - z = c.z * rs; - w = s * 0.5; - } -} - -real_t Quat::dot(const Quat &q) const { - return x * q.x + y * q.y + z * q.z + w * q.w; -} - -real_t Quat::length_squared() const { - return dot(*this); -} - -void Quat::operator+=(const Quat &q) { - x += q.x; - y += q.y; - z += q.z; - w += q.w; -} - -void Quat::operator-=(const Quat &q) { - x -= q.x; - y -= q.y; - z -= q.z; - w -= q.w; -} - -void Quat::operator*=(const Quat &q) { - set(w * q.x + x * q.w + y * q.z - z * q.y, - w * q.y + y * q.w + z * q.x - x * q.z, - w * q.z + z * q.w + x * q.y - y * q.x, - w * q.w - x * q.x - y * q.y - z * q.z); -} - -void Quat::operator*=(const real_t &s) { - x *= s; - y *= s; - z *= s; - w *= s; -} - -void Quat::operator/=(const real_t &s) { - *this *= 1.0 / s; -} - -Quat Quat::operator+(const Quat &q2) const { - const Quat &q1 = *this; - return Quat(q1.x + q2.x, q1.y + q2.y, q1.z + q2.z, q1.w + q2.w); -} - -Quat Quat::operator-(const Quat &q2) const { - const Quat &q1 = *this; - return Quat(q1.x - q2.x, q1.y - q2.y, q1.z - q2.z, q1.w - q2.w); -} - -Quat Quat::operator*(const Quat &q2) const { - Quat q1 = *this; - q1 *= q2; - return q1; -} - -Quat Quat::operator-() const { - const Quat &q2 = *this; - return Quat(-q2.x, -q2.y, -q2.z, -q2.w); -} - -Quat Quat::operator*(const real_t &s) const { - return Quat(x * s, y * s, z * s, w * s); -} - -Quat Quat::operator/(const real_t &s) const { - return *this * (1.0 / s); -} - -bool Quat::operator==(const Quat &p_quat) const { - return x == p_quat.x && y == p_quat.y && z == p_quat.z && w == p_quat.w; -} - -bool Quat::operator!=(const Quat &p_quat) const { - return x != p_quat.x || y != p_quat.y || z != p_quat.z || w != p_quat.w; -} - -} // namespace godot diff --git a/src/core/Rect2.cpp b/src/core/Rect2.cpp deleted file mode 100644 index ab21e5ce..00000000 --- a/src/core/Rect2.cpp +++ /dev/null @@ -1,313 +0,0 @@ -/*************************************************************************/ -/* Rect2.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "Rect2.hpp" -#include "String.hpp" -#include "Transform2D.hpp" -#include "Vector2.hpp" - -#include - -namespace godot { - -#ifndef MAX -#define MAX(a, b) (a > b ? a : b) -#endif - -#ifndef MIN -#define MIN(a, b) (a < b ? a : b) -#endif - -real_t Rect2::distance_to(const Vector2 &p_point) const { - real_t dist = 1e20; - - if (p_point.x < position.x) { - dist = MIN(dist, position.x - p_point.x); - } - if (p_point.y < position.y) { - dist = MIN(dist, position.y - p_point.y); - } - if (p_point.x >= (position.x + size.x)) { - dist = MIN(p_point.x - (position.x + size.x), dist); - } - if (p_point.y >= (position.y + size.y)) { - dist = MIN(p_point.y - (position.y + size.y), dist); - } - - if (dist == 1e20) - return 0; - else - return dist; -} - -Rect2 Rect2::clip(const Rect2 &p_rect) const { /// return a clipped rect - - Rect2 new_rect = p_rect; - - if (!intersects(new_rect)) - return Rect2(); - - new_rect.position.x = MAX(p_rect.position.x, position.x); - new_rect.position.y = MAX(p_rect.position.y, position.y); - - Point2 p_rect_end = p_rect.position + p_rect.size; - Point2 end = position + size; - - new_rect.size.x = MIN(p_rect_end.x, end.x) - new_rect.position.x; - new_rect.size.y = MIN(p_rect_end.y, end.y) - new_rect.position.y; - - return new_rect; -} - -Rect2 Rect2::merge(const Rect2 &p_rect) const { ///< return a merged rect - - Rect2 new_rect; - - new_rect.position.x = MIN(p_rect.position.x, position.x); - new_rect.position.y = MIN(p_rect.position.y, position.y); - - new_rect.size.x = MAX(p_rect.position.x + p_rect.size.x, position.x + size.x); - new_rect.size.y = MAX(p_rect.position.y + p_rect.size.y, position.y + size.y); - - new_rect.size = new_rect.size - new_rect.position; //make relative again - - return new_rect; -} - -Rect2::operator String() const { - return String(position) + ", " + String(size); -} - -bool Rect2::intersects_segment(const Point2 &p_from, const Point2 &p_to, Point2 *r_position, Point2 *r_normal) const { - real_t min = 0, max = 1; - int axis = 0; - real_t sign = 0; - - for (int i = 0; i < 2; i++) { - real_t seg_from = p_from[i]; - real_t seg_to = p_to[i]; - real_t box_begin = position[i]; - real_t box_end = box_begin + size[i]; - real_t cmin, cmax; - real_t csign; - - if (seg_from < seg_to) { - if (seg_from > box_end || seg_to < box_begin) - return false; - real_t length = seg_to - seg_from; - cmin = (seg_from < box_begin) ? ((box_begin - seg_from) / length) : 0; - cmax = (seg_to > box_end) ? ((box_end - seg_from) / length) : 1; - csign = -1.0; - - } else { - if (seg_to > box_end || seg_from < box_begin) - return false; - real_t length = seg_to - seg_from; - cmin = (seg_from > box_end) ? (box_end - seg_from) / length : 0; - cmax = (seg_to < box_begin) ? (box_begin - seg_from) / length : 1; - csign = 1.0; - } - - if (cmin > min) { - min = cmin; - axis = i; - sign = csign; - } - if (cmax < max) - max = cmax; - if (max < min) - return false; - } - - Vector2 rel = p_to - p_from; - - if (r_normal) { - Vector2 normal; - normal[axis] = sign; - *r_normal = normal; - } - - if (r_position) - *r_position = p_from + rel * min; - - return true; -} - -bool Rect2::intersects_transformed(const Transform2D &p_xform, const Rect2 &p_rect) const { - //SAT intersection between local and transformed rect2 - - Vector2 xf_points[4] = { - p_xform.xform(p_rect.position), - p_xform.xform(Vector2(p_rect.position.x + p_rect.size.x, p_rect.position.y)), - p_xform.xform(Vector2(p_rect.position.x, p_rect.position.y + p_rect.size.y)), - p_xform.xform(Vector2(p_rect.position.x + p_rect.size.x, p_rect.position.y + p_rect.size.y)), - }; - - real_t low_limit; - - //base rect2 first (faster) - - if (xf_points[0].y > position.y) - goto next1; - if (xf_points[1].y > position.y) - goto next1; - if (xf_points[2].y > position.y) - goto next1; - if (xf_points[3].y > position.y) - goto next1; - - return false; - -next1: - - low_limit = position.y + size.y; - - if (xf_points[0].y < low_limit) - goto next2; - if (xf_points[1].y < low_limit) - goto next2; - if (xf_points[2].y < low_limit) - goto next2; - if (xf_points[3].y < low_limit) - goto next2; - - return false; - -next2: - - if (xf_points[0].x > position.x) - goto next3; - if (xf_points[1].x > position.x) - goto next3; - if (xf_points[2].x > position.x) - goto next3; - if (xf_points[3].x > position.x) - goto next3; - - return false; - -next3: - - low_limit = position.x + size.x; - - if (xf_points[0].x < low_limit) - goto next4; - if (xf_points[1].x < low_limit) - goto next4; - if (xf_points[2].x < low_limit) - goto next4; - if (xf_points[3].x < low_limit) - goto next4; - - return false; - -next4: - - Vector2 xf_points2[4] = { - position, - Vector2(position.x + size.x, position.y), - Vector2(position.x, position.y + size.y), - Vector2(position.x + size.x, position.y + size.y), - }; - - real_t maxa = p_xform.elements[0].dot(xf_points2[0]); - real_t mina = maxa; - - real_t dp = p_xform.elements[0].dot(xf_points2[1]); - maxa = MAX(dp, maxa); - mina = MIN(dp, mina); - - dp = p_xform.elements[0].dot(xf_points2[2]); - maxa = MAX(dp, maxa); - mina = MIN(dp, mina); - - dp = p_xform.elements[0].dot(xf_points2[3]); - maxa = MAX(dp, maxa); - mina = MIN(dp, mina); - - real_t maxb = p_xform.elements[0].dot(xf_points[0]); - real_t minb = maxb; - - dp = p_xform.elements[0].dot(xf_points[1]); - maxb = MAX(dp, maxb); - minb = MIN(dp, minb); - - dp = p_xform.elements[0].dot(xf_points[2]); - maxb = MAX(dp, maxb); - minb = MIN(dp, minb); - - dp = p_xform.elements[0].dot(xf_points[3]); - maxb = MAX(dp, maxb); - minb = MIN(dp, minb); - - if (mina > maxb) - return false; - if (minb > maxa) - return false; - - maxa = p_xform.elements[1].dot(xf_points2[0]); - mina = maxa; - - dp = p_xform.elements[1].dot(xf_points2[1]); - maxa = MAX(dp, maxa); - mina = MIN(dp, mina); - - dp = p_xform.elements[1].dot(xf_points2[2]); - maxa = MAX(dp, maxa); - mina = MIN(dp, mina); - - dp = p_xform.elements[1].dot(xf_points2[3]); - maxa = MAX(dp, maxa); - mina = MIN(dp, mina); - - maxb = p_xform.elements[1].dot(xf_points[0]); - minb = maxb; - - dp = p_xform.elements[1].dot(xf_points[1]); - maxb = MAX(dp, maxb); - minb = MIN(dp, minb); - - dp = p_xform.elements[1].dot(xf_points[2]); - maxb = MAX(dp, maxb); - minb = MIN(dp, minb); - - dp = p_xform.elements[1].dot(xf_points[3]); - maxb = MAX(dp, maxb); - minb = MIN(dp, minb); - - if (mina > maxb) - return false; - if (minb > maxa) - return false; - - return true; -} - -} // namespace godot diff --git a/src/core/String.cpp b/src/core/String.cpp deleted file mode 100644 index ea3f7f1e..00000000 --- a/src/core/String.cpp +++ /dev/null @@ -1,522 +0,0 @@ -/*************************************************************************/ -/* String.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "String.hpp" - -#include "Array.hpp" -#include "GodotGlobal.hpp" -#include "NodePath.hpp" -#include "PoolArrays.hpp" -#include "Variant.hpp" - -#include - -#include - -namespace godot { - -godot::CharString::~CharString() { - godot::api->godot_char_string_destroy(&_char_string); -} - -int godot::CharString::length() const { - return godot::api->godot_char_string_length(&_char_string); -} - -const char *godot::CharString::get_data() const { - return godot::api->godot_char_string_get_data(&_char_string); -} - -String String::num(double p_num, int p_decimals) { - return String(godot::api->godot_string_num_with_decimals(p_num, p_decimals)); -} - -String String::num_scientific(double p_num) { - return String(godot::api->godot_string_num_scientific(p_num)); -} - -String String::num_real(double p_num) { - return String(godot::api->godot_string_num_real(p_num)); -} - -String String::num_int64(int64_t p_num, int base, bool capitalize_hex) { - return String(godot::api->godot_string_num_int64_capitalized(p_num, base, capitalize_hex)); -} - -String String::chr(godot_char_type p_char) { - return String(godot::api->godot_string_chr(p_char)); -} - -String String::md5(const uint8_t *p_md5) { - return String(godot::api->godot_string_md5(p_md5)); -} - -String String::hex_encode_buffer(const uint8_t *p_buffer, int p_len) { - return String(godot::api->godot_string_hex_encode_buffer(p_buffer, p_len)); -} - -godot::String::String() { - godot::api->godot_string_new(&_godot_string); -} - -String::String(const char *contents) { - godot::api->godot_string_new(&_godot_string); - godot::api->godot_string_parse_utf8(&_godot_string, contents); -} - -String::String(const wchar_t *contents) { - godot::api->godot_string_new_with_wide_string(&_godot_string, contents, wcslen(contents)); -} - -String::String(const wchar_t c) { - godot::api->godot_string_new_with_wide_string(&_godot_string, &c, 1); -} - -String::String(const String &other) { - godot::api->godot_string_new_copy(&_godot_string, &other._godot_string); -} - -String::String(String &&other) { - godot::api->godot_string_new_copy(&_godot_string, &other._godot_string); -} - -String::~String() { - godot::api->godot_string_destroy(&_godot_string); -} - -wchar_t &String::operator[](const int idx) { - return *const_cast(godot::api->godot_string_operator_index(&_godot_string, idx)); -} - -wchar_t String::operator[](const int idx) const { - return *godot::api->godot_string_operator_index((godot_string *)&_godot_string, idx); -} - -int String::length() const { - return godot::api->godot_string_length(&_godot_string); -} - -void String::operator=(const String &s) { - godot::api->godot_string_destroy(&_godot_string); - godot::api->godot_string_new_copy(&_godot_string, &s._godot_string); -} - -void String::operator=(String &&s) { - godot::api->godot_string_destroy(&_godot_string); - godot::api->godot_string_new_copy(&_godot_string, &s._godot_string); -} - -bool String::operator==(const String &s) const { - return godot::api->godot_string_operator_equal(&_godot_string, &s._godot_string); -} - -bool String::operator!=(const String &s) const { - return !(*this == s); -} - -String String::operator+(const String &s) const { - return String(godot::api->godot_string_operator_plus(&_godot_string, &s._godot_string)); -} - -void String::operator+=(const String &s) { - *this = String(godot::api->godot_string_operator_plus(&_godot_string, &s._godot_string)); -} - -void String::operator+=(const wchar_t c) { - String _to_be_added = String(c); - *this = String(godot::api->godot_string_operator_plus(&_godot_string, &_to_be_added._godot_string)); -} - -bool String::operator<(const String &s) const { - return godot::api->godot_string_operator_less(&_godot_string, &s._godot_string); -} - -bool String::operator<=(const String &s) const { - return godot::api->godot_string_operator_less(&_godot_string, &s._godot_string) || - (*this == s); -} - -bool String::operator>(const String &s) const { - return !(*this <= s); -} - -bool String::operator>=(const String &s) const { - return !(*this < s); -} - -String::operator NodePath() const { - return NodePath(*this); -} - -const wchar_t *String::unicode_str() const { - return godot::api->godot_string_wide_str(&_godot_string); -} - -char *String::alloc_c_string() const { - godot_char_string contents = godot::api->godot_string_utf8(&_godot_string); - - int length = godot::api->godot_char_string_length(&contents); - - char *result = (char *)godot::api->godot_alloc(length + 1); - - if (result) { - memcpy(result, godot::api->godot_char_string_get_data(&contents), length + 1); - } - - godot::api->godot_char_string_destroy(&contents); - - return result; -} - -CharString String::utf8() const { - CharString ret; - - ret._char_string = godot::api->godot_string_utf8(&_godot_string); - - return ret; -} - -CharString String::ascii(bool p_extended) const { - CharString ret; - - if (p_extended) - ret._char_string = godot::api->godot_string_ascii_extended(&_godot_string); - else - ret._char_string = godot::api->godot_string_ascii(&_godot_string); - - return ret; -} - -String operator+(const char *a, const String &b) { - return String(a) + b; -} - -String operator+(const wchar_t *a, const String &b) { - return String(a) + b; -} - -bool String::begins_with(const String &p_string) const { - return godot::api->godot_string_begins_with(&_godot_string, &p_string._godot_string); -} - -bool String::begins_with_char_array(const char *p_char_array) const { - return godot::api->godot_string_begins_with_char_array(&_godot_string, p_char_array); -} - -PoolStringArray String::bigrams() const { - godot_array arr = godot::api->godot_string_bigrams(&_godot_string); - return Array(arr); -} - -String String::c_escape() const { - return String(godot::api->godot_string_c_escape(&_godot_string)); -} - -String String::c_unescape() const { - return String(godot::api->godot_string_c_unescape(&_godot_string)); -} - -String String::capitalize() const { - return String(godot::api->godot_string_capitalize(&_godot_string)); -} - -bool String::empty() const { - return godot::api->godot_string_empty(&_godot_string); -} - -bool String::ends_with(const String &p_string) const { - return godot::api->godot_string_ends_with(&_godot_string, &p_string._godot_string); -} - -void String::erase(int position, int chars) { - godot::api->godot_string_erase(&_godot_string, position, chars); -} - -int String::find(String p_what, int p_from) const { - return godot::api->godot_string_find_from(&_godot_string, p_what._godot_string, p_from); -} - -int String::find_last(String p_what) const { - return godot::api->godot_string_find_last(&_godot_string, p_what._godot_string); -} - -int String::findn(String p_what, int p_from) const { - return godot::api->godot_string_findn_from(&_godot_string, p_what._godot_string, p_from); -} - -String String::format(Variant values) const { - return String(godot::api->godot_string_format(&_godot_string, (godot_variant *)&values)); -} - -String String::format(Variant values, String placeholder) const { - godot_char_string contents = godot::api->godot_string_utf8(&placeholder._godot_string); - String new_string(godot::api->godot_string_format_with_custom_placeholder(&_godot_string, (godot_variant *)&values, godot::api->godot_char_string_get_data(&contents))); - godot::api->godot_char_string_destroy(&contents); - - return new_string; -} - -String String::get_base_dir() const { - return String(godot::api->godot_string_get_base_dir(&_godot_string)); -} - -String String::get_basename() const { - return String(godot::api->godot_string_get_basename(&_godot_string)); -} - -String String::get_extension() const { - return String(godot::api->godot_string_get_extension(&_godot_string)); -} - -String String::get_file() const { - return String(godot::api->godot_string_get_file(&_godot_string)); -} - -int String::hash() const { - return godot::api->godot_string_hash(&_godot_string); -} - -int String::hex_to_int() const { - return godot::api->godot_string_hex_to_int(&_godot_string); -} - -String String::insert(int position, String what) const { - return String(godot::api->godot_string_insert(&_godot_string, position, what._godot_string)); -} - -bool String::is_abs_path() const { - return godot::api->godot_string_is_abs_path(&_godot_string); -} - -bool String::is_rel_path() const { - return godot::api->godot_string_is_rel_path(&_godot_string); -} - -bool String::is_subsequence_of(String text) const { - return godot::api->godot_string_is_subsequence_of(&_godot_string, &text._godot_string); -} - -bool String::is_subsequence_ofi(String text) const { - return godot::api->godot_string_is_subsequence_ofi(&_godot_string, &text._godot_string); -} - -bool String::is_valid_float() const { - return godot::api->godot_string_is_valid_float(&_godot_string); -} - -bool String::is_valid_html_color() const { - return godot::api->godot_string_is_valid_html_color(&_godot_string); -} - -bool String::is_valid_identifier() const { - return godot::api->godot_string_is_valid_identifier(&_godot_string); -} - -bool String::is_valid_integer() const { - return godot::api->godot_string_is_numeric(&_godot_string); -} - -bool String::is_valid_ip_address() const { - return godot::api->godot_string_is_valid_ip_address(&_godot_string); -} - -String String::json_escape() const { - return String(godot::api->godot_string_json_escape(&_godot_string)); -} - -String String::left(int position) const { - return String(godot::api->godot_string_left(&_godot_string, position)); -} - -bool String::match(String expr) const { - return godot::api->godot_string_match(&_godot_string, &expr._godot_string); -} - -bool String::matchn(String expr) const { - return godot::api->godot_string_match(&_godot_string, &expr._godot_string); -} - -PoolByteArray String::md5_buffer() const { - godot_pool_byte_array arr = godot::api->godot_string_md5_buffer(&_godot_string); - return PoolByteArray(arr); -} - -String String::md5_text() const { - return String(godot::api->godot_string_md5_text(&_godot_string)); -} - -int String::ord_at(int at) const { - return godot::api->godot_string_ord_at(&_godot_string, at); -} - -String String::pad_decimals(int digits) const { - return String(godot::api->godot_string_pad_decimals(&_godot_string, digits)); -} - -String String::pad_zeros(int digits) const { - return String(godot::api->godot_string_pad_zeros(&_godot_string, digits)); -} - -String String::percent_decode() const { - return String(godot::api->godot_string_percent_decode(&_godot_string)); -} - -String String::percent_encode() const { - return String(godot::api->godot_string_percent_encode(&_godot_string)); -} - -String String::plus_file(String file) const { - return String(godot::api->godot_string_plus_file(&_godot_string, &file._godot_string)); -} - -String String::replace(String p_key, String p_with) const { - return String(godot::api->godot_string_replace(&_godot_string, p_key._godot_string, p_with._godot_string)); -} - -String String::replacen(String what, String forwhat) const { - return String(godot::api->godot_string_replacen(&_godot_string, what._godot_string, forwhat._godot_string)); -} - -int String::rfind(String p_what, int p_from) const { - return godot::api->godot_string_rfind_from(&_godot_string, p_what._godot_string, p_from); -} - -int String::rfindn(String p_what, int p_from) const { - return godot::api->godot_string_rfindn_from(&_godot_string, p_what._godot_string, p_from); -} - -String String::right(int position) const { - return String(godot::api->godot_string_right(&_godot_string, position)); -} - -PoolByteArray String::sha256_buffer() const { - godot_pool_byte_array arr = godot::api->godot_string_sha256_buffer(&_godot_string); - return PoolByteArray(arr); -} - -String String::sha256_text() const { - return String(godot::api->godot_string_sha256_text(&_godot_string)); -} - -float String::similarity(String text) const { - return godot::api->godot_string_similarity(&_godot_string, &text._godot_string); -} - -// TODO Suport allow_empty -PoolStringArray String::split(String divisor, bool /*allow_empty*/) const { - godot_array arr = godot::api->godot_string_split(&_godot_string, &divisor._godot_string); - return Array(arr); -} - -// TODO Suport allow_empty -PoolIntArray String::split_ints(String divisor, bool /*allow_empty*/) const { - godot_array arr = godot::api->godot_string_split_floats(&_godot_string, &divisor._godot_string); - return Array(arr); -} - -// TODO Suport allow_empty -PoolRealArray String::split_floats(String divisor, bool /*allow_empty*/) const { - // TODO The GDNative API returns godot_array, when according to the doc, it should have been godot_pool_real_array - godot_array arr = godot::api->godot_string_split_floats(&_godot_string, &divisor._godot_string); - Array wrapped_array(arr); - return PoolRealArray(wrapped_array); -} - -String String::strip_edges(bool left, bool right) const { - return String(godot::api->godot_string_strip_edges(&_godot_string, left, right)); -} - -String String::substr(int from, int len) const { - return String(godot::api->godot_string_substr(&_godot_string, from, len)); -} - -float String::to_float() const { - return godot::api->godot_string_to_float(&_godot_string); -} - -int64_t String::to_int() const { - return godot::api->godot_string_to_int(&_godot_string); -} - -String String::to_lower() const { - return String(godot::api->godot_string_to_lower(&_godot_string)); -} - -String String::to_upper() const { - return String(godot::api->godot_string_to_upper(&_godot_string)); -} - -String String::xml_escape() const { - return String(godot::api->godot_string_xml_escape(&_godot_string)); -} - -String String::xml_unescape() const { - return String(godot::api->godot_string_xml_unescape(&_godot_string)); -} - -signed char String::casecmp_to(String p_str) const { - return godot::api->godot_string_casecmp_to(&_godot_string, &p_str._godot_string); -} - -signed char String::nocasecmp_to(String p_str) const { - return godot::api->godot_string_nocasecmp_to(&_godot_string, &p_str._godot_string); -} - -signed char String::naturalnocasecmp_to(String p_str) const { - return godot::api->godot_string_naturalnocasecmp_to(&_godot_string, &p_str._godot_string); -} - -String String::dedent() const { - godot_string s = godot::core_1_1_api->godot_string_dedent(&_godot_string); - return String(s); -} - -PoolStringArray String::rsplit(const String &divisor, const bool allow_empty, const int maxsplit) const { - godot_pool_string_array arr = - godot::core_1_1_api->godot_string_rsplit(&_godot_string, &divisor._godot_string, allow_empty, maxsplit); - return PoolStringArray(arr); -} - -String String::rstrip(const String &chars) const { - godot_string s = godot::core_1_1_api->godot_string_rstrip(&_godot_string, &chars._godot_string); - return String(s); -} - -String String::trim_prefix(const String &prefix) const { - godot_string s = godot::core_1_1_api->godot_string_trim_prefix(&_godot_string, &prefix._godot_string); - return String(s); -} - -String String::trim_suffix(const String &suffix) const { - godot_string s = godot::core_1_1_api->godot_string_trim_suffix(&_godot_string, &suffix._godot_string); - return String(s); -} - -} // namespace godot diff --git a/src/core/Transform.cpp b/src/core/Transform.cpp deleted file mode 100644 index 37dbb72a..00000000 --- a/src/core/Transform.cpp +++ /dev/null @@ -1,305 +0,0 @@ -/*************************************************************************/ -/* Transform.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "Transform.hpp" - -#include "Basis.hpp" - -#include "AABB.hpp" -#include "Plane.hpp" - -#include "Quat.hpp" - -namespace godot { - -const Transform Transform::IDENTITY = Transform(); -const Transform Transform::FLIP_X = Transform(-1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0); -const Transform Transform::FLIP_Y = Transform(1, 0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0); -const Transform Transform::FLIP_Z = Transform(1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0); - -Transform Transform::inverse_xform(const Transform &t) const { - Vector3 v = t.origin - origin; - return Transform(basis.transpose_xform(t.basis), - basis.xform(v)); -} - -void Transform::set(real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz, real_t tx, real_t ty, real_t tz) { - basis.elements[0][0] = xx; - basis.elements[0][1] = xy; - basis.elements[0][2] = xz; - basis.elements[1][0] = yx; - basis.elements[1][1] = yy; - basis.elements[1][2] = yz; - basis.elements[2][0] = zx; - basis.elements[2][1] = zy; - basis.elements[2][2] = zz; - origin.x = tx; - origin.y = ty; - origin.z = tz; -} - -Vector3 Transform::xform(const Vector3 &p_vector) const { - return Vector3( - basis.elements[0].dot(p_vector) + origin.x, - basis.elements[1].dot(p_vector) + origin.y, - basis.elements[2].dot(p_vector) + origin.z); -} -Vector3 Transform::xform_inv(const Vector3 &p_vector) const { - Vector3 v = p_vector - origin; - - return Vector3( - (basis.elements[0][0] * v.x) + (basis.elements[1][0] * v.y) + (basis.elements[2][0] * v.z), - (basis.elements[0][1] * v.x) + (basis.elements[1][1] * v.y) + (basis.elements[2][1] * v.z), - (basis.elements[0][2] * v.x) + (basis.elements[1][2] * v.y) + (basis.elements[2][2] * v.z)); -} - -Plane Transform::xform(const Plane &p_plane) const { - Vector3 point = p_plane.normal * p_plane.d; - Vector3 point_dir = point + p_plane.normal; - point = xform(point); - point_dir = xform(point_dir); - - Vector3 normal = point_dir - point; - normal.normalize(); - real_t d = normal.dot(point); - - return Plane(normal, d); -} -Plane Transform::xform_inv(const Plane &p_plane) const { - Vector3 point = p_plane.normal * p_plane.d; - Vector3 point_dir = point + p_plane.normal; - point = xform_inv(point); - point_dir = xform_inv(point_dir); - - Vector3 normal = point_dir - point; - normal.normalize(); - real_t d = normal.dot(point); - - return Plane(normal, d); -} - -AABB Transform::xform(const AABB &p_aabb) const { - /* define vertices */ - Vector3 x = basis.get_axis(0) * p_aabb.size.x; - Vector3 y = basis.get_axis(1) * p_aabb.size.y; - Vector3 z = basis.get_axis(2) * p_aabb.size.z; - Vector3 pos = xform(p_aabb.position); - //could be even further optimized - AABB new_aabb; - new_aabb.position = pos; - new_aabb.expand_to(pos + x); - new_aabb.expand_to(pos + y); - new_aabb.expand_to(pos + z); - new_aabb.expand_to(pos + x + y); - new_aabb.expand_to(pos + x + z); - new_aabb.expand_to(pos + y + z); - new_aabb.expand_to(pos + x + y + z); - return new_aabb; -} -AABB Transform::xform_inv(const AABB &p_aabb) const { - /* define vertices */ - Vector3 vertices[8] = { - Vector3(p_aabb.position.x + p_aabb.size.x, p_aabb.position.y + p_aabb.size.y, p_aabb.position.z + p_aabb.size.z), - Vector3(p_aabb.position.x + p_aabb.size.x, p_aabb.position.y + p_aabb.size.y, p_aabb.position.z), - Vector3(p_aabb.position.x + p_aabb.size.x, p_aabb.position.y, p_aabb.position.z + p_aabb.size.z), - Vector3(p_aabb.position.x + p_aabb.size.x, p_aabb.position.y, p_aabb.position.z), - Vector3(p_aabb.position.x, p_aabb.position.y + p_aabb.size.y, p_aabb.position.z + p_aabb.size.z), - Vector3(p_aabb.position.x, p_aabb.position.y + p_aabb.size.y, p_aabb.position.z), - Vector3(p_aabb.position.x, p_aabb.position.y, p_aabb.position.z + p_aabb.size.z), - Vector3(p_aabb.position.x, p_aabb.position.y, p_aabb.position.z) - }; - - AABB ret; - - ret.position = xform_inv(vertices[0]); - - for (int i = 1; i < 8; i++) { - ret.expand_to(xform_inv(vertices[i])); - } - - return ret; -} - -void Transform::affine_invert() { - basis.invert(); - origin = basis.xform(-origin); -} - -Transform Transform::affine_inverse() const { - Transform ret = *this; - ret.affine_invert(); - return ret; -} - -void Transform::invert() { - basis.transpose(); - origin = basis.xform(-origin); -} - -Transform Transform::inverse() const { - // FIXME: this function assumes the basis is a rotation matrix, with no scaling. - // Transform::affine_inverse can handle matrices with scaling, so GDScript should eventually use that. - Transform ret = *this; - ret.invert(); - return ret; -} - -void Transform::rotate(const Vector3 &p_axis, real_t p_phi) { - *this = rotated(p_axis, p_phi); -} - -Transform Transform::rotated(const Vector3 &p_axis, real_t p_phi) const { - return Transform(Basis(p_axis, p_phi), Vector3()) * (*this); -} - -void Transform::rotate_basis(const Vector3 &p_axis, real_t p_phi) { - basis.rotate(p_axis, p_phi); -} - -Transform Transform::looking_at(const Vector3 &p_target, const Vector3 &p_up) const { - Transform t = *this; - t.set_look_at(origin, p_target, p_up); - return t; -} - -void Transform::set_look_at(const Vector3 &p_eye, const Vector3 &p_target, const Vector3 &p_up) { - // Reference: MESA source code - Vector3 v_x, v_y, v_z; - - /* Make rotation matrix */ - - /* Z vector */ - v_z = p_eye - p_target; - - v_z.normalize(); - - v_y = p_up; - - v_x = v_y.cross(v_z); - - /* Recompute Y = Z cross X */ - v_y = v_z.cross(v_x); - - v_x.normalize(); - v_y.normalize(); - - basis.set_axis(0, v_x); - basis.set_axis(1, v_y); - basis.set_axis(2, v_z); - origin = p_eye; -} - -Transform Transform::interpolate_with(const Transform &p_transform, real_t p_c) const { - /* not sure if very "efficient" but good enough? */ - - Vector3 src_scale = basis.get_scale(); - Quat src_rot = basis; - Vector3 src_loc = origin; - - Vector3 dst_scale = p_transform.basis.get_scale(); - Quat dst_rot = p_transform.basis; - Vector3 dst_loc = p_transform.origin; - - Transform dst; - dst.basis = src_rot.slerp(dst_rot, p_c); - dst.basis.scale(src_scale.linear_interpolate(dst_scale, p_c)); - dst.origin = src_loc.linear_interpolate(dst_loc, p_c); - - return dst; -} - -void Transform::scale(const Vector3 &p_scale) { - basis.scale(p_scale); - origin *= p_scale; -} - -Transform Transform::scaled(const Vector3 &p_scale) const { - Transform t = *this; - t.scale(p_scale); - return t; -} - -void Transform::scale_basis(const Vector3 &p_scale) { - basis.scale(p_scale); -} - -void Transform::translate(real_t p_tx, real_t p_ty, real_t p_tz) { - translate(Vector3(p_tx, p_ty, p_tz)); -} -void Transform::translate(const Vector3 &p_translation) { - for (int i = 0; i < 3; i++) { - origin[i] += basis.elements[i].dot(p_translation); - } -} - -Transform Transform::translated(const Vector3 &p_translation) const { - Transform t = *this; - t.translate(p_translation); - return t; -} - -void Transform::orthonormalize() { - basis.orthonormalize(); -} - -Transform Transform::orthonormalized() const { - Transform _copy = *this; - _copy.orthonormalize(); - return _copy; -} - -bool Transform::operator==(const Transform &p_transform) const { - return (basis == p_transform.basis && origin == p_transform.origin); -} -bool Transform::operator!=(const Transform &p_transform) const { - return (basis != p_transform.basis || origin != p_transform.origin); -} - -void Transform::operator*=(const Transform &p_transform) { - origin = xform(p_transform.origin); - basis *= p_transform.basis; -} - -Transform Transform::operator*(const Transform &p_transform) const { - Transform t = *this; - t *= p_transform; - return t; -} - -Transform::operator String() const { - return basis.operator String() + " - " + origin.operator String(); -} - -Transform::Transform(const Basis &p_basis, const Vector3 &p_origin) { - basis = p_basis; - origin = p_origin; -} - -} // namespace godot diff --git a/src/core/Transform2D.cpp b/src/core/Transform2D.cpp deleted file mode 100644 index 01565e13..00000000 --- a/src/core/Transform2D.cpp +++ /dev/null @@ -1,332 +0,0 @@ -/*************************************************************************/ -/* Transform2D.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "Transform2D.hpp" -#include "Rect2.hpp" -#include "String.hpp" -#include "Vector2.hpp" - -#include - -namespace godot { - -const Transform2D Transform2D::IDENTITY; -const Transform2D Transform2D::FLIP_X = Transform2D(-1, 0, 0, 1, 0, 0); -const Transform2D Transform2D::FLIP_Y = Transform2D(1, 0, 0, -1, 0, 0); - -Transform2D::Transform2D(real_t xx, real_t xy, real_t yx, real_t yy, real_t ox, real_t oy) { - elements[0][0] = xx; - elements[0][1] = xy; - elements[1][0] = yx; - elements[1][1] = yy; - elements[2][0] = ox; - elements[2][1] = oy; -} - -Vector2 Transform2D::basis_xform(const Vector2 &v) const { - return Vector2( - tdotx(v), - tdoty(v)); -} - -Vector2 Transform2D::basis_xform_inv(const Vector2 &v) const { - return Vector2( - elements[0].dot(v), - elements[1].dot(v)); -} - -Vector2 Transform2D::xform(const Vector2 &v) const { - return Vector2( - tdotx(v), - tdoty(v)) + - elements[2]; -} -Vector2 Transform2D::xform_inv(const Vector2 &p_vec) const { - Vector2 v = p_vec - elements[2]; - - return Vector2( - elements[0].dot(v), - elements[1].dot(v)); -} -Rect2 Transform2D::xform(const Rect2 &p_rect) const { - Vector2 x = elements[0] * p_rect.size.x; - Vector2 y = elements[1] * p_rect.size.y; - Vector2 position = xform(p_rect.position); - - Rect2 new_rect; - new_rect.position = position; - new_rect.expand_to(position + x); - new_rect.expand_to(position + y); - new_rect.expand_to(position + x + y); - return new_rect; -} - -void Transform2D::set_rotation_and_scale(real_t p_rot, const Size2 &p_scale) { - elements[0][0] = ::cos(p_rot) * p_scale.x; - elements[1][1] = ::cos(p_rot) * p_scale.y; - elements[1][0] = -::sin(p_rot) * p_scale.y; - elements[0][1] = ::sin(p_rot) * p_scale.x; -} - -Rect2 Transform2D::xform_inv(const Rect2 &p_rect) const { - Vector2 ends[4] = { - xform_inv(p_rect.position), - xform_inv(Vector2(p_rect.position.x, p_rect.position.y + p_rect.size.y)), - xform_inv(Vector2(p_rect.position.x + p_rect.size.x, p_rect.position.y + p_rect.size.y)), - xform_inv(Vector2(p_rect.position.x + p_rect.size.x, p_rect.position.y)) - }; - - Rect2 new_rect; - new_rect.position = ends[0]; - new_rect.expand_to(ends[1]); - new_rect.expand_to(ends[2]); - new_rect.expand_to(ends[3]); - - return new_rect; -} - -void Transform2D::invert() { - // FIXME: this function assumes the basis is a rotation matrix, with no scaling. - // Transform2D::affine_inverse can handle matrices with scaling, so GDScript should eventually use that. - std::swap(elements[0][1], elements[1][0]); - elements[2] = basis_xform(-elements[2]); -} - -Transform2D Transform2D::inverse() const { - Transform2D inv = *this; - inv.invert(); - return inv; -} - -void Transform2D::affine_invert() { - real_t det = basis_determinant(); - ERR_FAIL_COND(det == 0); - real_t idet = 1.0 / det; - - std::swap(elements[0][0], elements[1][1]); - elements[0] *= Vector2(idet, -idet); - elements[1] *= Vector2(-idet, idet); - - elements[2] = basis_xform(-elements[2]); -} - -Transform2D Transform2D::affine_inverse() const { - Transform2D inv = *this; - inv.affine_invert(); - return inv; -} - -void Transform2D::rotate(real_t p_phi) { - *this = Transform2D(p_phi, Vector2()) * (*this); -} - -real_t Transform2D::get_rotation() const { - real_t det = basis_determinant(); - Transform2D m = orthonormalized(); - if (det < 0) { - m.scale_basis(Size2(-1, -1)); - } - return ::atan2(m[0].y, m[0].x); -} - -void Transform2D::set_rotation(real_t p_rot) { - real_t cr = ::cos(p_rot); - real_t sr = ::sin(p_rot); - elements[0][0] = cr; - elements[0][1] = sr; - elements[1][0] = -sr; - elements[1][1] = cr; -} - -Transform2D::Transform2D(real_t p_rot, const Vector2 &p_position) { - real_t cr = ::cos(p_rot); - real_t sr = ::sin(p_rot); - elements[0][0] = cr; - elements[0][1] = sr; - elements[1][0] = -sr; - elements[1][1] = cr; - elements[2] = p_position; -} - -Size2 Transform2D::get_scale() const { - real_t det_sign = basis_determinant() > 0 ? 1 : -1; - return det_sign * Size2(elements[0].length(), elements[1].length()); -} - -void Transform2D::scale(const Size2 &p_scale) { - scale_basis(p_scale); - elements[2] *= p_scale; -} -void Transform2D::scale_basis(const Size2 &p_scale) { - elements[0][0] *= p_scale.x; - elements[0][1] *= p_scale.y; - elements[1][0] *= p_scale.x; - elements[1][1] *= p_scale.y; -} -void Transform2D::translate(real_t p_tx, real_t p_ty) { - translate(Vector2(p_tx, p_ty)); -} -void Transform2D::translate(const Vector2 &p_translation) { - elements[2] += basis_xform(p_translation); -} - -void Transform2D::orthonormalize() { - // Gram-Schmidt Process - - Vector2 x = elements[0]; - Vector2 y = elements[1]; - - x.normalize(); - y = (y - x * (x.dot(y))); - y.normalize(); - - elements[0] = x; - elements[1] = y; -} -Transform2D Transform2D::orthonormalized() const { - Transform2D on = *this; - on.orthonormalize(); - return on; -} - -bool Transform2D::operator==(const Transform2D &p_transform) const { - for (int i = 0; i < 3; i++) { - if (elements[i] != p_transform.elements[i]) - return false; - } - - return true; -} - -bool Transform2D::operator!=(const Transform2D &p_transform) const { - for (int i = 0; i < 3; i++) { - if (elements[i] != p_transform.elements[i]) - return true; - } - - return false; -} - -void Transform2D::operator*=(const Transform2D &p_transform) { - elements[2] = xform(p_transform.elements[2]); - - real_t x0, x1, y0, y1; - - x0 = tdotx(p_transform.elements[0]); - x1 = tdoty(p_transform.elements[0]); - y0 = tdotx(p_transform.elements[1]); - y1 = tdoty(p_transform.elements[1]); - - elements[0][0] = x0; - elements[0][1] = x1; - elements[1][0] = y0; - elements[1][1] = y1; -} - -Transform2D Transform2D::operator*(const Transform2D &p_transform) const { - Transform2D t = *this; - t *= p_transform; - return t; -} - -Transform2D Transform2D::scaled(const Size2 &p_scale) const { - Transform2D copy = *this; - copy.scale(p_scale); - return copy; -} - -Transform2D Transform2D::basis_scaled(const Size2 &p_scale) const { - Transform2D copy = *this; - copy.scale_basis(p_scale); - return copy; -} - -Transform2D Transform2D::untranslated() const { - Transform2D copy = *this; - copy.elements[2] = Vector2(); - return copy; -} - -Transform2D Transform2D::translated(const Vector2 &p_offset) const { - Transform2D copy = *this; - copy.translate(p_offset); - return copy; -} - -Transform2D Transform2D::rotated(real_t p_phi) const { - Transform2D copy = *this; - copy.rotate(p_phi); - return copy; -} - -real_t Transform2D::basis_determinant() const { - return elements[0].x * elements[1].y - elements[0].y * elements[1].x; -} - -Transform2D Transform2D::interpolate_with(const Transform2D &p_transform, real_t p_c) const { - //extract parameters - Vector2 p1 = get_origin(); - Vector2 p2 = p_transform.get_origin(); - - real_t r1 = get_rotation(); - real_t r2 = p_transform.get_rotation(); - - Size2 s1 = get_scale(); - Size2 s2 = p_transform.get_scale(); - - //slerp rotation - Vector2 v1(::cos(r1), ::sin(r1)); - Vector2 v2(::cos(r2), ::sin(r2)); - - real_t dot = v1.dot(v2); - - dot = (dot < -1.0) ? -1.0 : ((dot > 1.0) ? 1.0 : dot); //clamp dot to [-1,1] - - Vector2 v; - - if (dot > 0.9995) { - v = Vector2::linear_interpolate(v1, v2, p_c).normalized(); //linearly interpolate to avoid numerical precision issues - } else { - real_t angle = p_c * ::acos(dot); - Vector2 v3 = (v2 - v1 * dot).normalized(); - v = v1 * ::cos(angle) + v3 * ::sin(angle); - } - - //construct matrix - Transform2D res(::atan2(v.y, v.x), Vector2::linear_interpolate(p1, p2, p_c)); - res.scale_basis(Vector2::linear_interpolate(s1, s2, p_c)); - return res; -} - -Transform2D::operator String() const { - return String(String() + elements[0] + ", " + elements[1] + ", " + elements[2]); -} - -} // namespace godot diff --git a/src/core/Variant.cpp b/src/core/Variant.cpp deleted file mode 100644 index a0b50df2..00000000 --- a/src/core/Variant.cpp +++ /dev/null @@ -1,381 +0,0 @@ -/*************************************************************************/ -/* Variant.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "Variant.hpp" - -#include - -#include "CoreTypes.hpp" -#include "Defs.hpp" -#include "GodotGlobal.hpp" -#include "Object.hpp" - -namespace godot { - -Variant::Variant() { - godot::api->godot_variant_new_nil(&_godot_variant); -} - -Variant::Variant(const Variant &v) { - godot::api->godot_variant_new_copy(&_godot_variant, &v._godot_variant); -} - -Variant::Variant(bool p_bool) { - godot::api->godot_variant_new_bool(&_godot_variant, p_bool); -} - -Variant::Variant(signed int p_int) // real one -{ - godot::api->godot_variant_new_int(&_godot_variant, p_int); -} - -Variant::Variant(unsigned int p_int) { - godot::api->godot_variant_new_uint(&_godot_variant, p_int); -} - -Variant::Variant(signed short p_short) // real one -{ - godot::api->godot_variant_new_int(&_godot_variant, (int)p_short); -} - -Variant::Variant(int64_t p_char) // real one -{ - godot::api->godot_variant_new_int(&_godot_variant, p_char); -} - -Variant::Variant(uint64_t p_char) { - godot::api->godot_variant_new_uint(&_godot_variant, p_char); -} - -Variant::Variant(float p_float) { - godot::api->godot_variant_new_real(&_godot_variant, p_float); -} - -Variant::Variant(double p_double) { - godot::api->godot_variant_new_real(&_godot_variant, p_double); -} - -Variant::Variant(const String &p_string) { - godot::api->godot_variant_new_string(&_godot_variant, (godot_string *)&p_string); -} - -Variant::Variant(const char *const p_cstring) { - String s = String(p_cstring); - godot::api->godot_variant_new_string(&_godot_variant, (godot_string *)&s); -} - -Variant::Variant(const wchar_t *p_wstring) { - String s = p_wstring; - godot::api->godot_variant_new_string(&_godot_variant, (godot_string *)&s); -} - -Variant::Variant(const Vector2 &p_vector2) { - godot::api->godot_variant_new_vector2(&_godot_variant, (godot_vector2 *)&p_vector2); -} - -Variant::Variant(const Rect2 &p_rect2) { - godot::api->godot_variant_new_rect2(&_godot_variant, (godot_rect2 *)&p_rect2); -} - -Variant::Variant(const Vector3 &p_vector3) { - godot::api->godot_variant_new_vector3(&_godot_variant, (godot_vector3 *)&p_vector3); -} - -Variant::Variant(const Plane &p_plane) { - godot::api->godot_variant_new_plane(&_godot_variant, (godot_plane *)&p_plane); -} - -Variant::Variant(const AABB &p_aabb) { - godot::api->godot_variant_new_aabb(&_godot_variant, (godot_aabb *)&p_aabb); -} - -Variant::Variant(const Quat &p_quat) { - godot::api->godot_variant_new_quat(&_godot_variant, (godot_quat *)&p_quat); -} - -Variant::Variant(const Basis &p_transform) { - godot::api->godot_variant_new_basis(&_godot_variant, (godot_basis *)&p_transform); -} - -Variant::Variant(const Transform2D &p_transform) { - godot::api->godot_variant_new_transform2d(&_godot_variant, (godot_transform2d *)&p_transform); -} - -Variant::Variant(const Transform &p_transform) { - godot::api->godot_variant_new_transform(&_godot_variant, (godot_transform *)&p_transform); -} - -Variant::Variant(const Color &p_color) { - godot::api->godot_variant_new_color(&_godot_variant, (godot_color *)&p_color); -} - -Variant::Variant(const NodePath &p_path) { - godot::api->godot_variant_new_node_path(&_godot_variant, (godot_node_path *)&p_path); -} - -Variant::Variant(const RID &p_rid) { - godot::api->godot_variant_new_rid(&_godot_variant, (godot_rid *)&p_rid); -} - -Variant::Variant(const Object *p_object) { - if (p_object) - godot::api->godot_variant_new_object(&_godot_variant, p_object->_owner); - else - godot::api->godot_variant_new_nil(&_godot_variant); -} - -Variant::Variant(const Dictionary &p_dictionary) { - godot::api->godot_variant_new_dictionary(&_godot_variant, (godot_dictionary *)&p_dictionary); -} - -Variant::Variant(const Array &p_array) { - godot::api->godot_variant_new_array(&_godot_variant, (godot_array *)&p_array); -} - -Variant::Variant(const PoolByteArray &p_raw_array) { - godot::api->godot_variant_new_pool_byte_array(&_godot_variant, (godot_pool_byte_array *)&p_raw_array); -} - -Variant::Variant(const PoolIntArray &p_int_array) { - godot::api->godot_variant_new_pool_int_array(&_godot_variant, (godot_pool_int_array *)&p_int_array); -} - -Variant::Variant(const PoolRealArray &p_real_array) { - godot::api->godot_variant_new_pool_real_array(&_godot_variant, (godot_pool_real_array *)&p_real_array); -} - -Variant::Variant(const PoolStringArray &p_string_array) { - godot::api->godot_variant_new_pool_string_array(&_godot_variant, (godot_pool_string_array *)&p_string_array); -} - -Variant::Variant(const PoolVector2Array &p_vector2_array) { - godot::api->godot_variant_new_pool_vector2_array(&_godot_variant, (godot_pool_vector2_array *)&p_vector2_array); -} - -Variant::Variant(const PoolVector3Array &p_vector3_array) { - godot::api->godot_variant_new_pool_vector3_array(&_godot_variant, (godot_pool_vector3_array *)&p_vector3_array); -} - -Variant::Variant(const PoolColorArray &p_color_array) { - godot::api->godot_variant_new_pool_color_array(&_godot_variant, (godot_pool_color_array *)&p_color_array); -} - -Variant &Variant::operator=(const Variant &v) { - godot::api->godot_variant_new_copy(&_godot_variant, &v._godot_variant); - return *this; -} - -Variant::operator bool() const { - return booleanize(); -} -Variant::operator signed int() const { - return godot::api->godot_variant_as_int(&_godot_variant); -} -Variant::operator unsigned int() const // this is the real one -{ - return godot::api->godot_variant_as_uint(&_godot_variant); -} -Variant::operator signed short() const { - return godot::api->godot_variant_as_int(&_godot_variant); -} -Variant::operator unsigned short() const { - return godot::api->godot_variant_as_uint(&_godot_variant); -} -Variant::operator signed char() const { - return godot::api->godot_variant_as_int(&_godot_variant); -} -Variant::operator unsigned char() const { - return godot::api->godot_variant_as_uint(&_godot_variant); -} -Variant::operator int64_t() const { - return godot::api->godot_variant_as_int(&_godot_variant); -} -Variant::operator uint64_t() const { - return godot::api->godot_variant_as_uint(&_godot_variant); -} - -Variant::operator wchar_t() const { - return godot::api->godot_variant_as_int(&_godot_variant); -} - -Variant::operator float() const { - return godot::api->godot_variant_as_real(&_godot_variant); -} - -Variant::operator double() const { - return godot::api->godot_variant_as_real(&_godot_variant); -} -Variant::operator String() const { - godot_string s = godot::api->godot_variant_as_string(&_godot_variant); - return String(s); -} -Variant::operator Vector2() const { - godot_vector2 s = godot::api->godot_variant_as_vector2(&_godot_variant); - return *(Vector2 *)&s; -} -Variant::operator Rect2() const { - godot_rect2 s = godot::api->godot_variant_as_rect2(&_godot_variant); - return *(Rect2 *)&s; -} -Variant::operator Vector3() const { - godot_vector3 s = godot::api->godot_variant_as_vector3(&_godot_variant); - return *(Vector3 *)&s; -} -Variant::operator Plane() const { - godot_plane s = godot::api->godot_variant_as_plane(&_godot_variant); - return *(Plane *)&s; -} -Variant::operator AABB() const { - godot_aabb s = godot::api->godot_variant_as_aabb(&_godot_variant); - return *(AABB *)&s; -} -Variant::operator Quat() const { - godot_quat s = godot::api->godot_variant_as_quat(&_godot_variant); - return *(Quat *)&s; -} -Variant::operator Basis() const { - godot_basis s = godot::api->godot_variant_as_basis(&_godot_variant); - return *(Basis *)&s; -} -Variant::operator Transform() const { - godot_transform s = godot::api->godot_variant_as_transform(&_godot_variant); - return *(Transform *)&s; -} -Variant::operator Transform2D() const { - godot_transform2d s = godot::api->godot_variant_as_transform2d(&_godot_variant); - return *(Transform2D *)&s; -} - -Variant::operator Color() const { - godot_color s = godot::api->godot_variant_as_color(&_godot_variant); - return *(Color *)&s; -} -Variant::operator NodePath() const { - godot_node_path ret = godot::api->godot_variant_as_node_path(&_godot_variant); - return NodePath(ret); -} -Variant::operator RID() const { - godot_rid s = godot::api->godot_variant_as_rid(&_godot_variant); - return *(RID *)&s; -} - -Variant::operator Dictionary() const { - Dictionary ret(godot::api->godot_variant_as_dictionary(&_godot_variant)); - return ret; -} - -Variant::operator Array() const { - Array ret(godot::api->godot_variant_as_array(&_godot_variant)); - return ret; -} - -Variant::operator PoolByteArray() const { - godot_pool_byte_array ret = godot::api->godot_variant_as_pool_byte_array(&_godot_variant); - return PoolByteArray(ret); -} -Variant::operator PoolIntArray() const { - godot_pool_int_array ret = godot::api->godot_variant_as_pool_int_array(&_godot_variant); - return PoolIntArray(ret); -} -Variant::operator PoolRealArray() const { - godot_pool_real_array ret = godot::api->godot_variant_as_pool_real_array(&_godot_variant); - return PoolRealArray(ret); -} -Variant::operator PoolStringArray() const { - godot_pool_string_array ret = godot::api->godot_variant_as_pool_string_array(&_godot_variant); - return PoolStringArray(ret); -} -Variant::operator PoolVector2Array() const { - godot_pool_vector2_array ret = godot::api->godot_variant_as_pool_vector2_array(&_godot_variant); - return PoolVector2Array(ret); -} -Variant::operator PoolVector3Array() const { - godot_pool_vector3_array ret = godot::api->godot_variant_as_pool_vector3_array(&_godot_variant); - return PoolVector3Array(ret); -} -Variant::operator PoolColorArray() const { - godot_pool_color_array ret = godot::api->godot_variant_as_pool_color_array(&_godot_variant); - return PoolColorArray(ret); -} -Variant::operator godot_object *() const { - return godot::api->godot_variant_as_object(&_godot_variant); -} - -Variant::Type Variant::get_type() const { - return static_cast(godot::api->godot_variant_get_type(&_godot_variant)); -} - -Variant Variant::call(const String &method, const Variant **args, const int arg_count) { - godot_variant v = godot::api->godot_variant_call( - &_godot_variant, (godot_string *)&method, (const godot_variant **)args, arg_count, nullptr); - return Variant(v); -} - -bool Variant::has_method(const String &method) { - return godot::api->godot_variant_has_method(&_godot_variant, (godot_string *)&method); -} - -bool Variant::operator==(const Variant &b) const { - return godot::api->godot_variant_operator_equal(&_godot_variant, &b._godot_variant); -} - -bool Variant::operator!=(const Variant &b) const { - return !(*this == b); -} - -bool Variant::operator<(const Variant &b) const { - return godot::api->godot_variant_operator_less(&_godot_variant, &b._godot_variant); -} - -bool Variant::operator<=(const Variant &b) const { - return (*this < b) || (*this == b); -} - -bool Variant::operator>(const Variant &b) const { - return !(*this <= b); -} - -bool Variant::operator>=(const Variant &b) const { - return !(*this < b); -} - -bool Variant::hash_compare(const Variant &b) const { - return godot::api->godot_variant_hash_compare(&_godot_variant, &b._godot_variant); -} - -bool Variant::booleanize() const { - return godot::api->godot_variant_booleanize(&_godot_variant); -} - -Variant::~Variant() { - godot::api->godot_variant_destroy(&_godot_variant); -} - -} // namespace godot diff --git a/src/core/Vector3.cpp b/src/core/Vector3.cpp deleted file mode 100644 index f0071a41..00000000 --- a/src/core/Vector3.cpp +++ /dev/null @@ -1,121 +0,0 @@ -/*************************************************************************/ -/* Vector3.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ - -#include "Vector3.hpp" - -#include "String.hpp" - -#include - -#include "Basis.hpp" - -namespace godot { - -const Vector3 Vector3::ZERO = Vector3(); -const Vector3 Vector3::ONE = Vector3(1, 1, 1); -const Vector3 Vector3::INF = Vector3(INFINITY, INFINITY, INFINITY); - -const Vector3 Vector3::LEFT = Vector3(-1, 0, 0); -const Vector3 Vector3::RIGHT = Vector3(1, 0, 0); -const Vector3 Vector3::UP = Vector3(0, 1, 0); -const Vector3 Vector3::DOWN = Vector3(0, -1, 0); -const Vector3 Vector3::FORWARD = Vector3(0, 0, -1); -const Vector3 Vector3::BACK = Vector3(0, 0, 1); - -bool Vector3::operator<(const Vector3 &p_v) const { - if (x == p_v.x) { - if (y == p_v.y) - return z < p_v.z; - else - return y < p_v.y; - } else { - return x < p_v.x; - } -} - -bool Vector3::operator<=(const Vector3 &p_v) const { - if (x == p_v.x) { - if (y == p_v.y) - return z <= p_v.z; - else - return y < p_v.y; - } else { - return x < p_v.x; - } -} - -Vector3 Vector3::cubic_interpolate(const Vector3 &b, const Vector3 &pre_a, const Vector3 &post_b, const real_t t) const { - Vector3 p0 = pre_a; - Vector3 p1 = *this; - Vector3 p2 = b; - Vector3 p3 = post_b; - - real_t t2 = t * t; - real_t t3 = t2 * t; - - Vector3 out; - out = ((p1 * 2.0) + - (-p0 + p2) * t + - (p0 * 2.0 - p1 * 5.0 + p2 * 4 - p3) * t2 + - (-p0 + p1 * 3.0 - p2 * 3.0 + p3) * t3) * - 0.5; - return out; -} - -Basis Vector3::outer(const Vector3 &b) const { - Vector3 row0(x * b.x, x * b.y, x * b.z); - Vector3 row1(y * b.x, y * b.y, y * b.z); - Vector3 row2(z * b.x, z * b.y, z * b.z); - return Basis(row0, row1, row2); -} - -int Vector3::max_axis() const { - return x < y ? (y < z ? 2 : 1) : (x < z ? 2 : 0); -} - -int Vector3::min_axis() const { - return x < y ? (x < z ? 0 : 2) : (y < z ? 1 : 2); -} - -void Vector3::rotate(const Vector3 &p_axis, real_t p_phi) { - *this = Basis(p_axis, p_phi).xform(*this); -} - -void Vector3::snap(real_t p_val) { - x = Math::stepify(x, p_val); - y = Math::stepify(y, p_val); - z = Math::stepify(z, p_val); -} - -Vector3::operator String() const { - return String::num(x) + ", " + String::num(y) + ", " + String::num(z); -} - -} // namespace godot diff --git a/src/core/class_db.cpp b/src/core/class_db.cpp new file mode 100644 index 00000000..57e77c30 --- /dev/null +++ b/src/core/class_db.cpp @@ -0,0 +1,312 @@ +/*************************************************************************/ +/* class_db.cpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#include + +#include +#include + +#include + +#include + +namespace godot { + +std::unordered_map ClassDB::classes; + +MethodDefinition D_METHOD(const char *p_name) { + return MethodDefinition(p_name); +} + +MethodDefinition D_METHOD(const char *p_name, const char *p_arg1) { + MethodDefinition method(p_name); + method.args.push_front(p_arg1); + return method; +} + +void ClassDB::add_property(const char *p_class, const PropertyInfo &p_pinfo, const char *p_setter, const char *p_getter, int p_index) { + ERR_FAIL_COND_MSG(classes.find(p_class) == classes.end(), "Trying to add property to non-existing class."); + + ClassInfo &info = classes[p_class]; + + ERR_FAIL_COND_MSG(info.property_setget.find(p_pinfo.name) != info.property_setget.end(), "Property already exists in class."); + + MethodBind *setter = nullptr; + if (p_setter) { + setter = get_method(p_class, p_setter); + + ERR_FAIL_COND_MSG(!setter, "Setter method not found for property."); + + size_t exp_args = 1 + (p_index >= 0 ? 1 : 0); + ERR_FAIL_COND_MSG(exp_args != setter->get_argument_count(), "Setter method must take a single argument."); + } + + ERR_FAIL_COND_MSG(!p_getter, "Getter method must be specified."); + + MethodBind *getter = get_method(p_class, p_getter); + ERR_FAIL_COND_MSG(!getter, "Getter method not found for property."); + { + size_t exp_args = 0 + (p_index >= 0 ? 1 : 0); + ERR_FAIL_COND_MSG(exp_args != getter->get_argument_count(), "Getter method must not take any argument."); + } + + info.property_list.push_back(p_pinfo); + + PropertySetGet setget; + setget.setter = p_setter; + setget.getter = p_getter; + setget._setptr = setter; + setget._getptr = getter; + setget.index = p_index; + setget.type = p_pinfo.type; + + info.property_setget[p_pinfo.name] = setget; +} + +MethodBind *ClassDB::get_method(const char *p_class, const char *p_method) { + ERR_FAIL_COND_V_MSG(classes.find(p_class) == classes.end(), nullptr, "Class not found."); + + ClassInfo *type = &classes[p_class]; + while (type) { + std::unordered_map::iterator method = type->method_map.find(p_method); + if (method != type->method_map.end()) { + return method->second; + } + type = type->parent_ptr; + continue; + } + + return nullptr; +} + +MethodBind *ClassDB::bind_methodfi(uint32_t p_flags, MethodBind *p_bind, const MethodDefinition &method_name, const void **p_defs, int p_defcount) { + const char *instance_type = p_bind->get_instance_class(); + + std::unordered_map::iterator type_it = classes.find(instance_type); + if (type_it == classes.end()) { + memdelete(p_bind); + ERR_FAIL_V_MSG(nullptr, "Class doesn't exist."); + } + + ClassInfo &type = type_it->second; + + if (type.method_map.find(method_name.name) != type.method_map.end()) { + memdelete(p_bind); + ERR_FAIL_V_MSG(nullptr, "Binding duplicate method."); + } + + if (type.virtual_methods.find(method_name.name) != type.virtual_methods.end()) { + memdelete(p_bind); + ERR_FAIL_V_MSG(nullptr, "Method already bound as virtual."); + } + + p_bind->set_name(method_name.name); + + if (method_name.args.size() > p_bind->get_argument_count()) { + memdelete(p_bind); + ERR_FAIL_V_MSG(nullptr, "Method definition has more arguments than the actual method."); + } + + p_bind->set_hint_flags(p_flags); + + std::vector args; + args.resize(method_name.args.size()); + size_t arg_index = 0; + for (std::string arg : method_name.args) { + args[arg_index++] = arg; + } + + p_bind->set_argument_names(args); + + type.method_order.push_back(p_bind); + type.method_map[method_name.name] = p_bind; + + return p_bind; +} + +void ClassDB::add_signal(const char *p_class, const MethodInfo &p_signal) { + std::unordered_map::iterator type_it = classes.find(p_class); + + ERR_FAIL_COND_MSG(type_it == classes.end(), "Class doesn't exist."); + + ClassInfo &base = type_it->second; + ClassInfo *check = &base; + while (check) { + ERR_FAIL_COND_MSG(check->signal_map.find(p_signal.name) != check->signal_map.end(), String("Class '" + String(p_class) + "' already has signal '" + String(p_signal.name) + "'.").utf8().get_data()); + check = check->parent_ptr; + } + + base.signal_map[p_signal.name] = p_signal; +} + +void ClassDB::bind_integer_constant(const char *p_class, const char *p_enum, const char *p_name, GDNativeInt p_constant) { + std::unordered_map::iterator type_it = classes.find(p_class); + + ERR_FAIL_COND_MSG(type_it == classes.end(), "Class doesn't exist."); + + ClassInfo &type = type_it->second; + + ERR_FAIL_COND_MSG(type.constant_map.find(p_name) != type.constant_map.end(), "Constant already registered."); + + type.constant_map[p_name] = std::pair{ p_enum, p_constant }; + type.constant_order.push_back(p_name); +} + +GDNativeExtensionClassCallVirtual ClassDB::get_virtual_func(void *p_userdata, const char *p_name) { + const char *class_name = (const char *)p_userdata; + + std::unordered_map::iterator type_it = classes.find(class_name); + ERR_FAIL_COND_V_MSG(type_it == classes.end(), nullptr, "Class doesn't exist."); + + ClassInfo &type = type_it->second; + + std::unordered_map::iterator method_it = type.virtual_methods.find(p_name); + + if (method_it == type.virtual_methods.end()) { + return nullptr; + } + + return method_it->second; +} + +void ClassDB::bind_virtual_method(const char *p_class, const char *p_method, GDNativeExtensionClassCallVirtual p_call) { + std::unordered_map::iterator type_it = classes.find(p_class); + ERR_FAIL_COND_MSG(type_it == classes.end(), "Class doesn't exist."); + + ClassInfo &type = type_it->second; + + ERR_FAIL_COND_MSG(type.method_map.find(p_method) != type.method_map.end(), "Method already registered as non-virtual."); + ERR_FAIL_COND_MSG(type.virtual_methods.find(p_method) != type.virtual_methods.end(), "Virtual method already registered."); + + type.virtual_methods[p_method] = p_call; +} + +void ClassDB::initialize(GDNativeInitializationLevel p_level) { + for (const std::pair pair : classes) { + const ClassInfo &cl = pair.second; + if (cl.level != p_level) { + continue; + } + + GDNativeExtensionClassCreationInfo class_info = { + nullptr, // GDNativeExtensionClassSet set_func; + nullptr, // GDNativeExtensionClassGet get_func; + nullptr, // GDNativeExtensionClassGetPropertyList get_property_list_func; + nullptr, // GDNativeExtensionClassFreePropertyList free_property_list_func; + nullptr, // GDNativeExtensionClassNotification notification_func; + nullptr, // GDNativeExtensionClassToString to_string_func; + nullptr, // GDNativeExtensionClassReference reference_func; + nullptr, // GDNativeExtensionClassUnreference + cl.constructor, // GDNativeExtensionClassCreateInstance create_instance_func; /* this one is mandatory */ + cl.destructor, // GDNativeExtensionClassFreeInstance free_instance_func; /* this one is mandatory */ + cl.object_instance, // GDNativeExtensionClassObjectInstance object_instance_func; /* this one is mandatory */ + &ClassDB::get_virtual_func, // GDNativeExtensionClassGetVirtual get_virtual_func; + (void *)cl.name, //void *class_userdata; + }; + + internal::interface->classdb_register_extension_class(internal::library, cl.name, cl.parent_name, &class_info); + + for (MethodBind *method : cl.method_order) { + GDNativeExtensionClassMethodInfo method_info = { + method->get_name(), //const char *name; + method, //void *method_userdata; + MethodBind::bind_call, //GDNativeExtensionClassMethodCall call_func; + MethodBind::bind_ptrcall, //GDNativeExtensionClassMethodPtrCall ptrcall_func; + GDNATIVE_EXTENSION_METHOD_FLAGS_DEFAULT, //uint32_t method_flags; /* GDNativeExtensionClassMethodFlags */ + (uint32_t)method->get_argument_count(), //uint32_t argument_count; + (GDNativeBool)method->has_return(), //GDNativeBool has_return_value; + MethodBind::bind_get_argument_type, //(GDNativeExtensionClassMethodGetArgumentType) get_argument_type_func; + MethodBind::bind_get_argument_info, //GDNativeExtensionClassMethodGetArgumentInfo get_argument_info_func; /* name and hint information for the argument can be omitted in release builds. Class name should always be present if it applies. */ + MethodBind::bind_get_argument_metadata, //GDNativeExtensionClassMethodGetArgumentMetadata get_argument_metadata_func; + method->get_hint_flags(), //uint32_t default_argument_count; + nullptr, //GDNativeVariantPtr *default_arguments; + }; + internal::interface->classdb_register_extension_class_method(internal::library, cl.name, &method_info); + } + + for (const PropertyInfo &property : cl.property_list) { + GDNativePropertyInfo info = { + (uint32_t)property.type, //uint32_t type; + property.name, //const char *name; + property.class_name, //const char *class_name; + property.hint, // NONE //uint32_t hint; + property.hint_string, // const char *hint_string; + property.usage, // DEFAULT //uint32_t usage; + }; + + const PropertySetGet &setget = cl.property_setget.find(property.name)->second; + + internal::interface->classdb_register_extension_class_property(internal::library, cl.name, &info, setget.setter, setget.getter); + } + + for (const std::pair pair : cl.signal_map) { + const MethodInfo &signal = pair.second; + + std::vector parameters; + parameters.reserve(signal.arguments.size()); + + for (const PropertyInfo &par : signal.arguments) { + parameters.push_back(GDNativePropertyInfo{ + static_cast(par.type), // uint32_t type; + par.name, // const char *name; + par.class_name, // const char *class_name; + par.hint, // uint32_t hint; + par.hint_string, // const char *hint_string; + par.usage, // uint32_t usage; + }); + } + + internal::interface->classdb_register_extension_class_signal(internal::library, cl.name, pair.first.c_str(), parameters.data(), parameters.size()); + } + + for (std::string constant : cl.constant_order) { + const std::pair &def = cl.constant_map.find(constant)->second; + + internal::interface->classdb_register_extension_class_integer_constant(internal::library, cl.name, def.first.c_str(), constant.c_str(), def.second); + } + } +} + +void ClassDB::deinitialize(GDNativeInitializationLevel p_level) { + for (const std::pair pair : classes) { + const ClassInfo &cl = pair.second; + if (cl.level != p_level) { + continue; + } + + internal::interface->classdb_unregister_extension_class(internal::library, cl.name); + + for (MethodBind *method : cl.method_order) { + memdelete(method); + } + } +} + +} // namespace godot diff --git a/src/core/TagDB.cpp b/src/core/error_macros.cpp similarity index 65% rename from src/core/TagDB.cpp rename to src/core/error_macros.cpp index dced8d17..877f53c8 100644 --- a/src/core/TagDB.cpp +++ b/src/core/error_macros.cpp @@ -1,5 +1,5 @@ /*************************************************************************/ -/* TagDP.cpp */ +/* error_macros.cpp */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -28,51 +28,30 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "TagDB.hpp" +#include -#include +#include -#include +#include namespace godot { -namespace _TagDB { - -std::unordered_map parent_to; - -void register_type(size_t type_tag, size_t base_type_tag) { - if (type_tag == base_type_tag) { - return; +void _err_print_error(const char *p_function, const char *p_file, int p_line, const char *p_error, const char *p_message, bool p_is_warning) { + if (p_is_warning) { + internal::interface->print_warning(p_message, p_function, p_file, p_line); + } else { + internal::interface->print_error(p_message, p_function, p_file, p_line); } - parent_to[type_tag] = base_type_tag; } -bool is_type_known(size_t type_tag) { - return parent_to.find(type_tag) != parent_to.end(); +void _err_print_error(const char *p_function, const char *p_file, int p_line, const char *p_error, bool p_is_warning) { + _err_print_error(p_function, p_file, p_line, p_error, "", p_is_warning); } -void register_global_type(const char *name, size_t type_tag, size_t base_type_tag) { - godot::nativescript_1_1_api->godot_nativescript_set_global_type_tag(godot::_RegisterState::language_index, name, (const void *)type_tag); - - register_type(type_tag, base_type_tag); +void _err_print_index_error(const char *p_function, const char *p_file, int p_line, int64_t p_index, int64_t p_size, const char *p_index_str, const char *p_size_str, const char *p_message, bool fatal) { + std::string fstr(fatal ? "FATAL: " : ""); + std::string err(fstr + "Index " + p_index_str + " = " + std::to_string(p_index) + " is out of bounds (" + p_size_str + " = " + std::to_string(p_size) + ")."); + _err_print_error(p_function, p_file, p_line, err.c_str(), p_message); } -bool is_type_compatible(size_t ask_tag, size_t have_tag) { - if (have_tag == 0) - return false; - - size_t tag = have_tag; - - while (tag != 0) { - if (tag == ask_tag) - return true; - - tag = parent_to[tag]; - } - - return false; -} - -} // namespace _TagDB - } // namespace godot diff --git a/include/core/TagDB.hpp b/src/core/memory.cpp similarity index 80% rename from include/core/TagDB.hpp rename to src/core/memory.cpp index 71f5e5c6..479c245f 100644 --- a/include/core/TagDB.hpp +++ b/src/core/memory.cpp @@ -1,5 +1,5 @@ /*************************************************************************/ -/* TagDB.hpp */ +/* memory.cpp */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -28,22 +28,26 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef TAGDB_HPP -#define TAGDB_HPP +#include -#include +#include namespace godot { -namespace _TagDB { +void *Memory::alloc_static(size_t p_bytes) { + return internal::interface->mem_alloc(p_bytes); +} -void register_type(size_t type_tag, size_t base_type_tag); -bool is_type_known(size_t type_tag); -void register_global_type(const char *name, size_t type_tag, size_t base_type_tag); -bool is_type_compatible(size_t type_tag, size_t base_type_tag); +void *Memory::realloc_static(void *p_memory, size_t p_bytes) { + return internal::interface->mem_realloc(p_memory, p_bytes); +} -} // namespace _TagDB +void Memory::free_static(void *p_ptr) { + internal::interface->mem_free(p_ptr); +} } // namespace godot -#endif // TAGDB_HPP +void *operator new(size_t p_size, const char *p_description) { + return godot::Memory::alloc_static(p_size); +} diff --git a/src/core/method_bind.cpp b/src/core/method_bind.cpp new file mode 100644 index 00000000..cd956b67 --- /dev/null +++ b/src/core/method_bind.cpp @@ -0,0 +1,120 @@ +/*************************************************************************/ +/* method_bind.cpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#include + +namespace godot { + +const char *MethodBind::get_name() const { + return name; +} + +void MethodBind::set_name(const char *p_name) { + name = p_name; +} + +void MethodBind::set_argument_count(int p_count) { + argument_count = p_count; +} + +void MethodBind::set_const(bool p_const) { + _is_const = p_const; +} + +void MethodBind::set_return(bool p_return) { + _has_return = p_return; +} + +void MethodBind::set_argument_names(const std::vector &p_names) { + argument_names = p_names; +} + +std::vector MethodBind::get_argument_names() const { + return argument_names; +} + +void MethodBind::generate_argument_types(int p_count) { + set_argument_count(p_count); + + if (argument_types != nullptr) { + memdelete_arr(argument_types); + } + + argument_types = memnew_arr(GDNativeVariantType, p_count + 1); + + // -1 means return type. + for (int i = -1; i < p_count; i++) { + argument_types[i + 1] = gen_argument_type(i); + } +} + +GDNativePropertyInfo MethodBind::get_argument_info(int p_argument) const { + GDNativePropertyInfo info = gen_argument_type_info(p_argument); + if (p_argument >= 0) { + info.name = p_argument < (int)argument_names.size() ? argument_names[p_argument].c_str() : ""; + } + return info; +} + +GDNativeVariantType MethodBind::bind_get_argument_type(void *p_method_userdata, int32_t p_argument) { + const MethodBind *bind = reinterpret_cast(p_method_userdata); + return bind->get_argument_type(p_argument); +} + +void MethodBind::bind_get_argument_info(void *p_method_userdata, int32_t p_argument, GDNativePropertyInfo *r_info) { + const MethodBind *bind = reinterpret_cast(p_method_userdata); + *r_info = bind->get_argument_info(p_argument); +} + +GDNativeExtensionClassMethodArgumentMetadata MethodBind::bind_get_argument_metadata(void *p_method_userdata, int32_t p_argument) { + const MethodBind *bind = reinterpret_cast(p_method_userdata); + return bind->get_argument_metadata(p_argument); +} + +void MethodBind::bind_call(void *p_method_userdata, GDExtensionClassInstancePtr p_instance, const GDNativeVariantPtr *p_args, const GDNativeInt p_argument_count, GDNativeVariantPtr r_return, GDNativeCallError *r_error) { + const MethodBind *bind = reinterpret_cast(p_method_userdata); + Variant ret = bind->call(p_instance, p_args, p_argument_count, *r_error); + // This assumes the return value is an empty Variant, so it doesn't need to call the destructor first. + // Since only NativeExtensionMethodBind calls this from the Godot side, it should always be the case. + internal::interface->variant_new_copy(r_return, ret.ptr); +} + +void MethodBind::bind_ptrcall(void *p_method_userdata, GDExtensionClassInstancePtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr r_return) { + const MethodBind *bind = reinterpret_cast(p_method_userdata); + bind->ptrcall(p_instance, p_args, r_return); +} + +MethodBind::~MethodBind() { + if (argument_types) { + memdelete_arr(argument_types); + } +} + +} // namespace godot diff --git a/include/core/Wrapped.hpp b/src/core/object.cpp similarity index 77% rename from include/core/Wrapped.hpp rename to src/core/object.cpp index 26f2f0c8..e4b57fd0 100644 --- a/include/core/Wrapped.hpp +++ b/src/core/object.cpp @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Wrapped.hpp */ +/* object.cpp */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -28,20 +28,27 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef WRAPPED_HPP -#define WRAPPED_HPP - -#include +#include namespace godot { -// This is an internal base class used by the bindings. You should not need to access its members. -class _Wrapped { -public: - godot_object *_owner; - size_t _type_tag; -}; +MethodInfo::MethodInfo() : + flags(METHOD_FLAG_NORMAL) {} + +MethodInfo::MethodInfo(const char *p_name) : + name(p_name), flags(METHOD_FLAG_NORMAL) {} + +MethodInfo::MethodInfo(Variant::Type ret) : + flags(METHOD_FLAG_NORMAL) { + return_val.type = ret; +} + +MethodInfo::MethodInfo(Variant::Type ret, const char *p_name) : + name(p_name), flags(METHOD_FLAG_NORMAL) { + return_val.type = ret; +} + +MethodInfo::MethodInfo(const PropertyInfo &p_ret, const char *p_name) : + name(p_name), return_val(p_ret), flags(METHOD_FLAG_NORMAL) {} } // namespace godot - -#endif // WRAPPED_HPP diff --git a/src/gen/.gitignore b/src/gen/.gitignore deleted file mode 100644 index d6b7ef32..00000000 --- a/src/gen/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/src/core/Vector2.cpp b/src/godot.cpp similarity index 57% rename from src/core/Vector2.cpp rename to src/godot.cpp index 006d2a05..3a1ee614 100644 --- a/src/core/Vector2.cpp +++ b/src/godot.cpp @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Vector2.cpp */ +/* godot.cpp */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -28,73 +28,55 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Vector2.hpp" +#include -#include +#include +#include +#include +#include -#include "String.hpp" +#include namespace godot { -const Vector2 Vector2::ZERO = Vector2(); -const Vector2 Vector2::ONE = Vector2(1, 1); -const Vector2 Vector2::INF = Vector2(INFINITY, INFINITY); +namespace internal { -const Vector2 Vector2::LEFT = Vector2(-1, 0); -const Vector2 Vector2::RIGHT = Vector2(1, 0); -const Vector2 Vector2::UP = Vector2(0, -1); -const Vector2 Vector2::DOWN = Vector2(0, 1); +const GDNativeInterface *interface; +GDNativeExtensionClassLibraryPtr library; +void *token; -bool Vector2::operator==(const Vector2 &p_vec2) const { - return x == p_vec2.x && y == p_vec2.y; +} // namespace internal + +GDNativeBool GDExtensionBinding::init(const GDNativeInterface *p_interface, const GDNativeExtensionClassLibraryPtr p_library, GDNativeInitialization *r_initialization) { + internal::interface = p_interface; + internal::library = p_library; + internal::token = p_library; + + r_initialization->initialize = initialize_level; + r_initialization->deinitialize = deinitialize_level; + + Variant::init_bindings(); + + return true; } -bool Vector2::operator!=(const Vector2 &p_vec2) const { - return x != p_vec2.x || y != p_vec2.y; +void GDExtensionBinding::initialize_level(void *userdata, GDNativeInitializationLevel p_level) { + ClassDB::initialize(p_level); } -Vector2 Vector2::project(const Vector2 &p_vec) const { - Vector2 v1 = p_vec; - Vector2 v2 = *this; - return v2 * (v1.dot(v2) / v2.dot(v2)); +void GDExtensionBinding::deinitialize_level(void *userdata, GDNativeInitializationLevel p_level) { + ClassDB::deinitialize(p_level); } -Vector2 Vector2::plane_project(real_t p_d, const Vector2 &p_vec) const { - return p_vec - *this * (dot(p_vec) - p_d); +void *GDExtensionBinding::create_instance_callback(void *p_token, void *p_instance) { + ERR_FAIL_COND_V_MSG(p_token != internal::library, nullptr, "Asking for creating instance with invalid token."); + Wrapped *wrapped = memnew(Wrapped(p_instance)); + return wrapped; } -Vector2 Vector2::clamped(real_t p_len) const { - real_t l = length(); - Vector2 v = *this; - if (l > 0 && p_len < l) { - v /= l; - v *= p_len; - } - return v; -} - -Vector2 Vector2::cubic_interpolate(const Vector2 &p_b, const Vector2 &p_pre_a, const Vector2 &p_post_b, real_t p_t) const { - Vector2 p0 = p_pre_a; - Vector2 p1 = *this; - Vector2 p2 = p_b; - Vector2 p3 = p_post_b; - - real_t t = p_t; - real_t t2 = t * t; - real_t t3 = t2 * t; - - Vector2 out; - out = ((p1 * 2.0) + - (-p0 + p2) * t + - (p0 * 2.0 - p1 * 5.0 + p2 * 4 - p3) * t2 + - (-p0 + p1 * 3.0 - p2 * 3.0 + p3) * t3) * - 0.5; - - return out; -} - -Vector2::operator String() const { - return String::num(x) + ", " + String::num(y); +void GDExtensionBinding::free_instance_callback(void *p_token, void *p_instance, void *p_binding) { + ERR_FAIL_COND_MSG(p_token != internal::library, "Asking for freeing instance with invalid token."); + memdelete((Wrapped *)p_binding); } } // namespace godot diff --git a/src/variant/char_string.cpp b/src/variant/char_string.cpp new file mode 100644 index 00000000..975b8408 --- /dev/null +++ b/src/variant/char_string.cpp @@ -0,0 +1,267 @@ +/*************************************************************************/ +/* char_string.cpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#include + +#include +#include +#include +#include + +#include + +namespace godot { + +const char *CharString::get_data() const { + return _data; +} + +CharString::CharString(const char *str, int length) : + _data(str), _length(length) {} + +CharString::~CharString() { + memdelete_arr(_data); +} + +Char16String::Char16String(const char16_t *str, int length) : + _data(str), _length(length) {} + +Char16String::~Char16String() { + memdelete_arr(_data); +} + +Char32String::Char32String(const char32_t *str, int length) : + _data(str), _length(length) {} + +Char32String::~Char32String() { + memdelete_arr(_data); +} + +CharWideString::CharWideString(const wchar_t *str, int length) : + _data(str), _length(length) {} + +CharWideString::~CharWideString() { + memdelete_arr(_data); +} + +// Custom String functions that are not part of bound API. +// It's easier to have them written in C++ directly than in a Python script that generates them. + +String::String(const char *from) { + internal::interface->string_new_with_utf8_chars(ptr, from); +} + +String::String(const wchar_t *from) { + internal::interface->string_new_with_wide_chars(ptr, from); +} + +String::String(const char16_t *from) { + internal::interface->string_new_with_utf16_chars(ptr, from); +} + +String::String(const char32_t *from) { + internal::interface->string_new_with_utf32_chars(ptr, from); +} + +CharString String::utf8() const { + int size = internal::interface->string_to_utf8_chars(ptr, nullptr, 0); + char *cstr = memnew_arr(char, size + 1); + internal::interface->string_to_utf8_chars(ptr, cstr, size + 1); + + cstr[size] = '\0'; + + return CharString(cstr, size + 1); +} + +CharString String::ascii() const { + int size = internal::interface->string_to_latin1_chars(ptr, nullptr, 0); + char *cstr = memnew_arr(char, size + 1); + internal::interface->string_to_latin1_chars(ptr, cstr, size + 1); + + cstr[size] = '\0'; + + return CharString(cstr, size + 1); +} + +Char16String String::utf16() const { + int size = internal::interface->string_to_utf16_chars(ptr, nullptr, 0); + char16_t *cstr = memnew_arr(char16_t, size + 1); + internal::interface->string_to_utf16_chars(ptr, cstr, size + 1); + + cstr[size] = '\0'; + + return Char16String(cstr, size + 1); +} + +Char32String String::utf32() const { + int size = internal::interface->string_to_utf32_chars(ptr, nullptr, 0); + char32_t *cstr = memnew_arr(char32_t, size + 1); + internal::interface->string_to_utf32_chars(ptr, cstr, size + 1); + + cstr[size] = '\0'; + + return Char32String(cstr, size + 1); +} + +CharWideString String::wide_string() const { + int size = internal::interface->string_to_wide_chars(ptr, nullptr, 0); + wchar_t *cstr = memnew_arr(wchar_t, size + 1); + internal::interface->string_to_wide_chars(ptr, cstr, size + 1); + + cstr[size] = '\0'; + + return CharWideString(cstr, size + 1); +} + +String &String::operator=(const char *p_str) { + *this = String(p_str); + return *this; +} + +String &String::operator=(const wchar_t *p_str) { + *this = String(p_str); + return *this; +} + +String &String::operator=(const char16_t *p_str) { + *this = String(p_str); + return *this; +} + +String &String::operator=(const char32_t *p_str) { + *this = String(p_str); + return *this; +} + +bool String::operator==(const char *p_str) const { + return *this == String(p_str); +} + +bool String::operator==(const wchar_t *p_str) const { + return *this == String(p_str); +} + +bool String::operator==(const char16_t *p_str) const { + return *this == String(p_str); +} + +bool String::operator==(const char32_t *p_str) const { + return *this == String(p_str); +} + +bool String::operator!=(const char *p_str) const { + return *this != String(p_str); +} + +bool String::operator!=(const wchar_t *p_str) const { + return *this != String(p_str); +} + +bool String::operator!=(const char16_t *p_str) const { + return *this != String(p_str); +} + +bool String::operator!=(const char32_t *p_str) const { + return *this != String(p_str); +} + +bool operator==(const char *p_chr, const String &p_str) { + return p_str == String(p_chr); +} + +bool operator==(const wchar_t *p_chr, const String &p_str) { + return p_str == String(p_chr); +} + +bool operator==(const char16_t *p_chr, const String &p_str) { + return p_str == String(p_chr); +} + +bool operator==(const char32_t *p_chr, const String &p_str) { + return p_str == String(p_chr); +} + +bool operator!=(const char *p_chr, const String &p_str) { + return !(p_str == p_chr); +} + +bool operator!=(const wchar_t *p_chr, const String &p_str) { + return !(p_str == p_chr); +} + +bool operator!=(const char16_t *p_chr, const String &p_str) { + return !(p_str == p_chr); +} + +bool operator!=(const char32_t *p_chr, const String &p_str) { + return !(p_str == p_chr); +} + +String operator+(const char *p_chr, const String &p_str) { + return String(p_chr) + p_str; +} + +String operator+(const wchar_t *p_chr, const String &p_str) { + return String(p_chr) + p_str; +} + +String operator+(const char16_t *p_chr, const String &p_str) { + return String(p_chr) + p_str; +} + +String operator+(const char32_t *p_chr, const String &p_str) { + return String(p_chr) + p_str; +} + +StringName::StringName(const char *from) : + StringName(String(from)) {} + +StringName::StringName(const wchar_t *from) : + StringName(String(from)) {} + +StringName::StringName(const char16_t *from) : + StringName(String(from)) {} + +StringName::StringName(const char32_t *from) : + StringName(String(from)) {} + +NodePath::NodePath(const char *from) : + NodePath(String(from)) {} + +NodePath::NodePath(const wchar_t *from) : + NodePath(String(from)) {} + +NodePath::NodePath(const char16_t *from) : + NodePath(String(from)) {} + +NodePath::NodePath(const char32_t *from) : + NodePath(String(from)) {} + +} // namespace godot diff --git a/src/variant/variant.cpp b/src/variant/variant.cpp new file mode 100644 index 00000000..a63e3f67 --- /dev/null +++ b/src/variant/variant.cpp @@ -0,0 +1,749 @@ +/*************************************************************************/ +/* variant.cpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#include + +#include + +#include +#include + +#include + +namespace godot { + +GDNativeVariantFromTypeConstructorFunc Variant::from_type_constructor[Variant::VARIANT_MAX]{}; +GDNativeTypeFromVariantConstructorFunc Variant::to_type_constructor[Variant::VARIANT_MAX]{}; + +void Variant::init_bindings() { + // Start from 1 to skip NIL. + for (int i = 1; i < VARIANT_MAX; i++) { + from_type_constructor[i] = internal::interface->get_variant_from_type_constructor((GDNativeVariantType)i); + to_type_constructor[i] = internal::interface->get_variant_to_type_constructor((GDNativeVariantType)i); + } + + String::init_bindings(); + Vector2::init_bindings(); + Vector2i::init_bindings(); + Rect2::init_bindings(); + Rect2i::init_bindings(); + Vector3::init_bindings(); + Vector3i::init_bindings(); + Transform2D::init_bindings(); + Plane::init_bindings(); + Quaternion::init_bindings(); + AABB::init_bindings(); + Basis::init_bindings(); + Transform3D::init_bindings(); + Color::init_bindings(); + StringName::init_bindings(); + NodePath::init_bindings(); + RID::init_bindings(); + Callable::init_bindings(); + Signal::init_bindings(); + Dictionary::init_bindings(); + Array::init_bindings(); + PackedByteArray::init_bindings(); + PackedInt32Array::init_bindings(); + PackedInt64Array::init_bindings(); + PackedFloat32Array::init_bindings(); + PackedFloat64Array::init_bindings(); + PackedStringArray::init_bindings(); + PackedVector2Array::init_bindings(); + PackedVector3Array::init_bindings(); + PackedColorArray::init_bindings(); +} + +Variant::Variant() { + internal::interface->variant_new_nil(ptr); +} + +Variant::Variant(const GDNativeVariantPtr native_ptr) { + internal::interface->variant_new_copy(ptr, native_ptr); +} + +Variant::Variant(const Variant &other) { + internal::interface->variant_new_copy(ptr, other.ptr); +} + +Variant::Variant(Variant &&other) { + std::swap(opaque, other.opaque); +} + +Variant::Variant(bool v) { + GDNativeBool encoded; + PtrToArg::encode(v, &encoded); + from_type_constructor[BOOL](ptr, &encoded); +} + +Variant::Variant(int64_t v) { + GDNativeInt encoded; + PtrToArg::encode(v, &encoded); + from_type_constructor[INT](ptr, &encoded); +} + +Variant::Variant(double v) { + double encoded; + PtrToArg::encode(v, &encoded); + from_type_constructor[FLOAT](ptr, &encoded); +} + +Variant::Variant(const String &v) { + from_type_constructor[STRING](ptr, v.ptr); +} + +Variant::Variant(const Vector2 &v) { + from_type_constructor[VECTOR2](ptr, v.ptr); +} + +Variant::Variant(const Vector2i &v) { + from_type_constructor[VECTOR2I](ptr, v.ptr); +} + +Variant::Variant(const Rect2 &v) { + from_type_constructor[RECT2](ptr, v.ptr); +} + +Variant::Variant(const Rect2i &v) { + from_type_constructor[RECT2I](ptr, v.ptr); +} + +Variant::Variant(const Vector3 &v) { + from_type_constructor[VECTOR3](ptr, v.ptr); +} + +Variant::Variant(const Vector3i &v) { + from_type_constructor[VECTOR3I](ptr, v.ptr); +} + +Variant::Variant(const Transform2D &v) { + from_type_constructor[TRANSFORM2D](ptr, v.ptr); +} + +Variant::Variant(const Plane &v) { + from_type_constructor[PLANE](ptr, v.ptr); +} + +Variant::Variant(const Quaternion &v) { + from_type_constructor[QUATERNION](ptr, v.ptr); +} + +Variant::Variant(const godot::AABB &v) { + from_type_constructor[AABB](ptr, v.ptr); +} + +Variant::Variant(const Basis &v) { + from_type_constructor[BASIS](ptr, v.ptr); +} + +Variant::Variant(const Transform3D &v) { + from_type_constructor[TRANSFORM3D](ptr, v.ptr); +} + +Variant::Variant(const Color &v) { + from_type_constructor[COLOR](ptr, v.ptr); +} + +Variant::Variant(const StringName &v) { + from_type_constructor[STRING_NAME](ptr, v.ptr); +} + +Variant::Variant(const NodePath &v) { + from_type_constructor[NODE_PATH](ptr, v.ptr); +} + +Variant::Variant(const godot::RID &v) { + from_type_constructor[RID](ptr, v.ptr); +} + +Variant::Variant(const Object *v) { + from_type_constructor[OBJECT](ptr, v->_owner); +} + +Variant::Variant(const Callable &v) { + from_type_constructor[CALLABLE](ptr, v.ptr); +} + +Variant::Variant(const Signal &v) { + from_type_constructor[SIGNAL](ptr, v.ptr); +} + +Variant::Variant(const Dictionary &v) { + from_type_constructor[DICTIONARY](ptr, v.ptr); +} + +Variant::Variant(const Array &v) { + from_type_constructor[ARRAY](ptr, v.ptr); +} + +Variant::Variant(const PackedByteArray &v) { + from_type_constructor[PACKED_BYTE_ARRAY](ptr, v.ptr); +} + +Variant::Variant(const PackedInt32Array &v) { + from_type_constructor[PACKED_INT32_ARRAY](ptr, v.ptr); +} + +Variant::Variant(const PackedInt64Array &v) { + from_type_constructor[PACKED_INT64_ARRAY](ptr, v.ptr); +} + +Variant::Variant(const PackedFloat32Array &v) { + from_type_constructor[PACKED_FLOAT32_ARRAY](ptr, v.ptr); +} + +Variant::Variant(const PackedFloat64Array &v) { + from_type_constructor[PACKED_FLOAT64_ARRAY](ptr, v.ptr); +} + +Variant::Variant(const PackedStringArray &v) { + from_type_constructor[PACKED_STRING_ARRAY](ptr, v.ptr); +} + +Variant::Variant(const PackedVector2Array &v) { + from_type_constructor[PACKED_VECTOR2_ARRAY](ptr, v.ptr); +} + +Variant::Variant(const PackedVector3Array &v) { + from_type_constructor[PACKED_VECTOR3_ARRAY](ptr, v.ptr); +} + +Variant::Variant(const PackedColorArray &v) { + from_type_constructor[PACKED_COLOR_ARRAY](ptr, v.ptr); +} + +Variant::~Variant() { + internal::interface->variant_destroy(ptr); +} + +Variant::operator bool() const { + GDNativeBool result; + to_type_constructor[BOOL](&result, ptr); + return PtrToArg::convert(&result); +} + +Variant::operator int64_t() const { + GDNativeInt result; + to_type_constructor[INT](&result, ptr); + return PtrToArg::convert(&result); +} + +Variant::operator int32_t() const { + return static_cast(operator int64_t()); +} + +Variant::operator uint64_t() const { + return static_cast(operator int64_t()); +} + +Variant::operator uint32_t() const { + return static_cast(operator int64_t()); +} + +Variant::operator double() const { + double result; + to_type_constructor[FLOAT](&result, ptr); + return PtrToArg::convert(&result); +} + +Variant::operator float() const { + return static_cast(operator double()); +} + +Variant::operator String() const { + String result; + to_type_constructor[STRING](result.ptr, ptr); + return result; +} + +Variant::operator Vector2() const { + Vector2 result; + to_type_constructor[VECTOR2](result.ptr, ptr); + return result; +} + +Variant::operator Vector2i() const { + Vector2i result; + to_type_constructor[VECTOR2I](result.ptr, ptr); + return result; +} + +Variant::operator Rect2() const { + Rect2 result; + to_type_constructor[RECT2](result.ptr, ptr); + return result; +} + +Variant::operator Rect2i() const { + Rect2i result; + to_type_constructor[RECT2I](result.ptr, ptr); + return result; +} + +Variant::operator Vector3() const { + Vector3 result; + to_type_constructor[VECTOR3](result.ptr, ptr); + return result; +} + +Variant::operator Vector3i() const { + Vector3i result; + to_type_constructor[VECTOR3I](result.ptr, ptr); + return result; +} + +Variant::operator Transform2D() const { + Transform2D result; + to_type_constructor[TRANSFORM2D](result.ptr, ptr); + return result; +} + +Variant::operator Plane() const { + Plane result; + to_type_constructor[PLANE](result.ptr, ptr); + return result; +} + +Variant::operator Quaternion() const { + Quaternion result; + to_type_constructor[QUATERNION](result.ptr, ptr); + return result; +} + +Variant::operator godot::AABB() const { + godot::AABB result; + to_type_constructor[AABB](result.ptr, ptr); + return result; +} + +Variant::operator Basis() const { + Basis result; + to_type_constructor[BASIS](result.ptr, ptr); + return result; +} + +Variant::operator Transform3D() const { + Transform3D result; + to_type_constructor[TRANSFORM3D](result.ptr, ptr); + return result; +} + +Variant::operator Color() const { + Color result; + to_type_constructor[COLOR](result.ptr, ptr); + return result; +} + +Variant::operator StringName() const { + StringName result; + to_type_constructor[STRING_NAME](result.ptr, ptr); + return result; +} + +Variant::operator NodePath() const { + NodePath result; + to_type_constructor[NODE_PATH](result.ptr, ptr); + return result; +} + +Variant::operator godot::RID() const { + godot::RID result; + to_type_constructor[RID](result.ptr, ptr); + return result; +} + +Variant::operator Object *() const { + GodotObject *obj; + to_type_constructor[OBJECT](&obj, ptr); + return reinterpret_cast(internal::interface->object_get_instance_binding(obj, internal::token, &Object::___binding_callbacks)); +} + +Variant::operator Callable() const { + Callable result; + to_type_constructor[CALLABLE](result.ptr, ptr); + return result; +} + +Variant::operator Signal() const { + Signal result; + to_type_constructor[SIGNAL](result.ptr, ptr); + return result; +} + +Variant::operator Dictionary() const { + Dictionary result; + to_type_constructor[DICTIONARY](result.ptr, ptr); + return result; +} + +Variant::operator Array() const { + Array result; + to_type_constructor[ARRAY](result.ptr, ptr); + return result; +} + +Variant::operator PackedByteArray() const { + PackedByteArray result; + to_type_constructor[PACKED_BYTE_ARRAY](result.ptr, ptr); + return result; +} + +Variant::operator PackedInt32Array() const { + PackedInt32Array result; + to_type_constructor[PACKED_INT32_ARRAY](result.ptr, ptr); + return result; +} + +Variant::operator PackedInt64Array() const { + PackedInt64Array result; + to_type_constructor[PACKED_INT64_ARRAY](result.ptr, ptr); + return result; +} + +Variant::operator PackedFloat32Array() const { + PackedFloat32Array result; + to_type_constructor[PACKED_FLOAT32_ARRAY](result.ptr, ptr); + return result; +} + +Variant::operator PackedFloat64Array() const { + PackedFloat64Array result; + to_type_constructor[PACKED_FLOAT64_ARRAY](result.ptr, ptr); + return result; +} + +Variant::operator PackedStringArray() const { + PackedStringArray result; + to_type_constructor[PACKED_STRING_ARRAY](result.ptr, ptr); + return result; +} + +Variant::operator PackedVector2Array() const { + PackedVector2Array result; + to_type_constructor[PACKED_VECTOR2_ARRAY](result.ptr, ptr); + return result; +} + +Variant::operator PackedVector3Array() const { + PackedVector3Array result; + to_type_constructor[PACKED_VECTOR3_ARRAY](result.ptr, ptr); + return result; +} + +Variant::operator PackedColorArray() const { + PackedColorArray result; + to_type_constructor[PACKED_COLOR_ARRAY](result.ptr, ptr); + return result; +} + +Variant::operator const GDNativeVariantPtr() const { + return reinterpret_cast(const_cast(&opaque)); +} + +Variant::operator GDNativeVariantPtr() { + return reinterpret_cast(&opaque); +} + +Variant &Variant::operator=(const Variant &other) { + clear(); + internal::interface->variant_new_copy(ptr, other.ptr); + return *this; +} + +Variant &Variant::operator=(Variant &&other) { + std::swap(opaque, other.opaque); + return *this; +} + +bool Variant::operator==(const Variant &other) const { + if (get_type() != other.get_type()) { + return false; + } + bool valid = false; + Variant result; + evaluate(OP_EQUAL, *this, other, result, valid); + return result.operator bool(); +} + +bool Variant::operator!=(const Variant &other) const { + if (get_type() != other.get_type()) { + return true; + } + bool valid = false; + Variant result; + evaluate(OP_NOT_EQUAL, *this, other, result, valid); + return result.operator bool(); +} + +bool Variant::operator<(const Variant &other) const { + if (get_type() != other.get_type()) { + return get_type() < other.get_type(); + } + bool valid = false; + Variant result; + evaluate(OP_LESS, *this, other, result, valid); + return result.operator bool(); +} + +void Variant::operator=(const GDNativeVariantPtr other_ptr) { + internal::interface->variant_destroy(ptr); + internal::interface->variant_new_copy(ptr, other_ptr); +} + +void Variant::call(const StringName &method, const Variant **args, int argcount, Variant &r_ret, GDNativeCallError &r_error) { + internal::interface->variant_call(ptr, method.ptr, reinterpret_cast(const_cast(args)), argcount, r_ret.ptr, &r_error); +} + +void Variant::call_static(Variant::Type type, const StringName &method, const Variant **args, int argcount, Variant &r_ret, GDNativeCallError &r_error) { + internal::interface->variant_call_static(static_cast(type), method.ptr, reinterpret_cast(const_cast(args)), argcount, r_ret.ptr, &r_error); +} + +void Variant::evaluate(const Operator &op, const Variant &a, const Variant &b, Variant &r_ret, bool &r_valid) { + GDNativeBool valid; + internal::interface->variant_evaluate(static_cast(op), a.ptr, b.ptr, r_ret.ptr, &valid); + r_valid = PtrToArg::convert(&valid); +} + +void Variant::set(const Variant &key, const Variant &value, bool *r_valid) { + GDNativeBool valid; + internal::interface->variant_set(ptr, key.ptr, value.ptr, &valid); + if (r_valid) { + *r_valid = PtrToArg::convert(&valid); + } +} + +void Variant::set_named(const StringName &name, const Variant &value, bool &r_valid) { + GDNativeBool valid; + internal::interface->variant_set_named(ptr, name.ptr, value.ptr, &valid); + r_valid = PtrToArg::convert(&valid); +} + +void Variant::set_indexed(int64_t index, const Variant &value, bool &r_valid, bool &r_oob) { + GDNativeBool valid, oob; + internal::interface->variant_set_indexed(ptr, index, value.ptr, &valid, &oob); + r_valid = PtrToArg::convert(&valid); + r_oob = PtrToArg::convert(&oob); +} + +void Variant::set_keyed(const Variant &key, const Variant &value, bool &r_valid) { + GDNativeBool valid; + internal::interface->variant_set_keyed(ptr, key.ptr, value.ptr, &valid); + r_valid = PtrToArg::convert(&valid); +} + +Variant Variant::get(const Variant &key, bool *r_valid) const { + Variant result; + GDNativeBool valid; + internal::interface->variant_get(ptr, key.ptr, result.ptr, &valid); + if (r_valid) { + *r_valid = PtrToArg::convert(&valid); + } + return result; +} + +Variant Variant::get_named(const StringName &name, bool &r_valid) const { + Variant result; + GDNativeBool valid; + internal::interface->variant_get_named(ptr, name.ptr, result.ptr, &valid); + r_valid = PtrToArg::convert(&valid); + return result; +} + +Variant Variant::get_indexed(int64_t index, bool &r_valid, bool &r_oob) const { + Variant result; + GDNativeBool valid; + GDNativeBool oob; + internal::interface->variant_get_indexed(ptr, index, result.ptr, &valid, &oob); + r_valid = PtrToArg::convert(&valid); + r_oob = PtrToArg::convert(&oob); + return result; +} + +Variant Variant::get_keyed(const Variant &key, bool &r_valid) const { + Variant result; + GDNativeBool valid; + internal::interface->variant_get_keyed(ptr, key.ptr, result.ptr, &valid); + r_valid = PtrToArg::convert(&valid); + return result; +} + +bool Variant::in(const Variant &index, bool *r_valid) const { + Variant result; + bool valid; + evaluate(OP_IN, *this, index, result, valid); + if (r_valid) { + *r_valid = valid; + } + return result.operator bool(); +} + +bool Variant::iter_init(Variant &r_iter, bool &r_valid) const { + GDNativeBool valid; + internal::interface->variant_iter_init(ptr, r_iter.ptr, &valid); + return PtrToArg::convert(&valid); +} + +bool Variant::iter_next(Variant &r_iter, bool &r_valid) const { + GDNativeBool valid; + internal::interface->variant_iter_next(ptr, r_iter.ptr, &valid); + return PtrToArg::convert(&valid); +} + +Variant Variant::iter_get(const Variant &r_iter, bool &r_valid) const { + Variant result; + GDNativeBool valid; + internal::interface->variant_iter_get(ptr, r_iter.ptr, result.ptr, &valid); + r_valid = PtrToArg::convert(&valid); + return result; +} + +Variant::Type Variant::get_type() const { + return static_cast(internal::interface->variant_get_type(ptr)); +} + +bool Variant::has_method(const StringName &method) const { + GDNativeBool has = internal::interface->variant_has_method(ptr, method.ptr); + return PtrToArg::convert(&has); +} + +bool Variant::has_key(const Variant &key, bool *r_valid) const { + GDNativeBool valid; + GDNativeBool has = internal::interface->variant_has_key(ptr, key.ptr, &valid); + if (r_valid) { + *r_valid = PtrToArg::convert(&valid); + } + return PtrToArg::convert(&has); +} + +bool Variant::has_member(Variant::Type type, const StringName &member) { + GDNativeBool has = internal::interface->variant_has_member(static_cast(type), member.ptr); + return PtrToArg::convert(&has); +} + +bool Variant::hash_compare(const Variant &variant) const { + GDNativeBool compare = internal::interface->variant_hash_compare(ptr, variant.ptr); + return PtrToArg::convert(&compare); +} + +bool Variant::booleanize() const { + GDNativeBool booleanized = internal::interface->variant_booleanize(ptr); + return PtrToArg::convert(&booleanized); +} + +String Variant::stringify() const { + String result; + internal::interface->variant_stringify(ptr, result.ptr); + return result; +} + +Variant Variant::duplicate(bool deep) const { + Variant result; + GDNativeBool _deep; + PtrToArg::encode(deep, &_deep); + internal::interface->variant_duplicate(ptr, result.ptr, _deep); + return result; +} + +void Variant::blend(const Variant &a, const Variant &b, float c, Variant &r_dst) { + internal::interface->variant_blend(a.ptr, b.ptr, c, r_dst.ptr); +} + +void Variant::interpolate(const Variant &a, const Variant &b, float c, Variant &r_dst) { + internal::interface->variant_interpolate(a.ptr, b.ptr, c, r_dst.ptr); +} + +String Variant::get_type_name(Variant::Type type) { + String result; + internal::interface->variant_get_type_name(static_cast(type), result.ptr); + return result; +} + +bool Variant::can_convert(Variant::Type from, Variant::Type to) { + GDNativeBool can; + internal::interface->variant_can_convert(static_cast(from), static_cast(to)); + return PtrToArg::convert(&can); +} + +bool Variant::can_convert_strict(Variant::Type from, Variant::Type to) { + GDNativeBool can; + internal::interface->variant_can_convert_strict(static_cast(from), static_cast(to)); + return PtrToArg::convert(&can); +} + +void Variant::clear() { + static const bool needs_deinit[Variant::VARIANT_MAX] = { + false, //NIL, + false, //BOOL, + false, //INT, + false, //FLOAT, + true, //STRING, + false, //VECTOR2, + false, //VECTOR2I, + false, //RECT2, + false, //RECT2I, + false, //VECTOR3, + false, //VECTOR3I, + true, //TRANSFORM2D, + false, //PLANE, + false, //QUATERNION, + true, //AABB, + true, //BASIS, + true, //TRANSFORM, + + // misc types + false, //COLOR, + true, //STRING_NAME, + true, //NODE_PATH, + false, //RID, + true, //OBJECT, + true, //CALLABLE, + true, //SIGNAL, + true, //DICTIONARY, + true, //ARRAY, + + // typed arrays + true, //PACKED_BYTE_ARRAY, + true, //PACKED_INT32_ARRAY, + true, //PACKED_INT64_ARRAY, + true, //PACKED_FLOAT32_ARRAY, + true, //PACKED_FLOAT64_ARRAY, + true, //PACKED_STRING_ARRAY, + true, //PACKED_VECTOR2_ARRAY, + true, //PACKED_VECTOR3_ARRAY, + true, //PACKED_COLOR_ARRAY, + }; + + if (unlikely(needs_deinit[get_type()])) { // Make it fast for types that don't need deinit. + internal::interface->variant_destroy(ptr); + } + internal::interface->variant_new_nil(ptr); +} + +} // namespace godot diff --git a/test/gdexample.gdnlib b/test/gdexample.gdnlib deleted file mode 100644 index 260b4eab..00000000 --- a/test/gdexample.gdnlib +++ /dev/null @@ -1,20 +0,0 @@ -[general] - -singleton=false -load_once=true -symbol_prefix="godot_" -reloadable=false - -[entry] - -X11.64="res://bin/x11/libgdexample.so" -Server.64="res://bin/x11/libgdexample.so" -Windows.64="res://bin/win64/libgdexample.dll" -OSX.64="res://bin/osx/libgdexample.dylib" - -[dependencies] - -X11.64=[] -Server.64=[] -Windows.64=[] -OSX.64=[] diff --git a/test/gdexample.gdns b/test/gdexample.gdns deleted file mode 100644 index a9d02d35..00000000 --- a/test/gdexample.gdns +++ /dev/null @@ -1,9 +0,0 @@ -[gd_resource type="NativeScript" load_steps=2 format=2] - -[ext_resource path="res://gdexample.gdnlib" type="GDNativeLibrary" id=1] - -[resource] - -resource_name = "gdexample" -class_name = "SimpleClass" -library = ExtResource( 1 ) diff --git a/test/project.godot b/test/project.godot deleted file mode 100644 index c9e426ae..00000000 --- a/test/project.godot +++ /dev/null @@ -1,19 +0,0 @@ -; Engine configuration file. -; It's best edited using the editor UI and not directly, -; since the parameters that go here are not all obvious. -; -; Format: -; [section] ; section goes between [] -; param=value ; assign values to parameters - -config_version=4 - -_global_script_classes=[ ] -_global_script_class_icons={ - -} - -[application] - -config/name="Test CI project" - diff --git a/test/script.gd b/test/script.gd deleted file mode 100644 index d9b0fe10..00000000 --- a/test/script.gd +++ /dev/null @@ -1,30 +0,0 @@ - -extends MainLoop - -func _initialize(): - OS.exit_code = 1 - var native_script = load("res://gdexample.gdns") - print("Native Script ", native_script) - if native_script == null || !is_instance_valid(native_script): - return - print("Library ", native_script.library) - if native_script.library == null || !is_instance_valid(native_script.library): - return - var ref = native_script.new() - print("Reference ", ref) - if ref == null || !is_instance_valid(ref): - return - print("Reference name ", ref.name) - if ref.name != "SimpleClass": - return - print("Reference value ", ref.value) - if ref.value != 0: - return - print("Call method ", ref.method(1)) - if ref.method(1) != 1: - return - OS.exit_code = 0 - -func _idle(_delta): - return true -